---
title: "OpenAI Agents SDK + Apideck MCP"
description: "The OpenAI Agents SDK provides a lightweight framework for building AI agents that use tool calling and handoffs. Connect it to the Apideck MCP Server and your agents can read and write data across 200+ SaaS apps with normalized schemas."
url: "https://www.apideck.com/mcp-server/openai-agents-sdk"
section: "MCP server"
tags: ["MCP", "OpenAI Agents SDK"]
---

# OpenAI Agents SDK + Apideck MCP

The OpenAI Agents SDK provides a lightweight framework for building AI agents that use tool calling and handoffs. Connect it to the Apideck MCP Server and your agents can read and write data across 200+ SaaS apps with normalized schemas.

- MCP endpoint: https://mcp.apideck.dev/mcp
- Framework docs: https://openai.github.io/openai-agents-python/
- Languages: Python, TypeScript
- HTML page: https://www.apideck.com/mcp-server/openai-agents-sdk

## Get started with OpenAI Agents SDK

Connect OpenAI Agents SDK to the Apideck MCP Server with a few lines of code.

```python
from agents import Agent
from agents.mcp import MCPServerStreamableHTTP

mcp = MCPServerStreamableHTTP(
    url="https://mcp.apideck.dev/mcp",
    headers={
        "x-apideck-api-key": "YOUR_API_KEY",
        "x-apideck-app-id": "YOUR_APP_ID",
        "x-apideck-consumer-id": "YOUR_CONSUMER_ID",
    },
)

agent = Agent(
    name="Accounting Agent",
    instructions="You help with accounting tasks.",
    mcp_servers=[mcp],
)
```

## Available tools by API

Every resource below is accessible as a set of MCP tools (list, get, create, update, delete) through OpenAI Agents SDK.

### Accounting API

- Tools: https://www.apideck.com/mcp-server/accounting-api
- Resources (43): Aged Creditors, Aged Debtors, Attachments, BalanceSheet, Bank Accounts, Bank Feed Accounts, Bank Feed Statements, Bill Credit Notes, Bill Payments, Bills, Categories, Companies, Company Info, Credit Notes, Customers, Departments, Employees, Expense Categories, Expense Reports, Expenses, Fiscal Periods, General Ledger Transactions, Goods Receipts, Invoice Items, Invoices, Journal Entries, Journals, Ledger Accounts, Locations, Payment Methods, Payments, ProfitAndLoss, Projects, Purchase Orders, Quotes, Refunds, Sales Orders, Sales Receipts, Subsidiaries, Suppliers, Tax Rates, Tracking Categories, Trial Balance

### CRM API

- Tools: https://www.apideck.com/mcp-server/crm-api
- Resources (11): Activities, Companies, Contacts, Custom Object Schemas, Custom Objects, Leads, Lists, Notes, Opportunities, Pipelines, Users

### File Storage API

- Tools: https://www.apideck.com/mcp-server/file-storage-api
- Resources (6): DriveGroups, Drives, Files, Folders, Shared Links, Upload Sessions

### HRIS API

- Tools: https://www.apideck.com/mcp-server/hris-api
- Resources (5): Companies, Departments, Employees, Payrolls, Time Off Requests

### Issue Tracking API

- Tools: https://www.apideck.com/mcp-server/issue-tracking-api
- Resources (5): Collections, Comments, Tags, Tickets, Users

### Ecommerce API

- Tools: https://www.apideck.com/mcp-server/ecommerce-api
- Resources (4): Customers, Orders, Products, Stores

### ATS API

- Tools: https://www.apideck.com/mcp-server/ats-api
- Resources (3): Applicants, Applications, Jobs

## Also works with

- [LangChain](https://www.apideck.com/mcp-server/langchain)
- [Google ADK](https://www.apideck.com/mcp-server/google-adk)
- [Vercel AI SDK](https://www.apideck.com/mcp-server/vercel-ai-sdk)
- [Claude Desktop](https://www.apideck.com/mcp-server/claude-desktop)
- [Cursor](https://www.apideck.com/mcp-server/cursor)
- [CrewAI](https://www.apideck.com/mcp-server/crewai)
- [Cloudflare Agents SDK](https://www.apideck.com/mcp-server/cloudflare-agents-sdk)
- [OpenClaw](https://www.apideck.com/mcp-server/openclaw)
- [Hermes](https://www.apideck.com/mcp-server/hermes)
- [Windsurf](https://www.apideck.com/mcp-server/windsurf)
- [Cline](https://www.apideck.com/mcp-server/cline)
- [Roo Code](https://www.apideck.com/mcp-server/roo-code)
- [GitHub Copilot](https://www.apideck.com/mcp-server/github-copilot)
- [Gemini CLI](https://www.apideck.com/mcp-server/gemini-cli)
