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.
Connect OpenAI Agents SDK to the Apideck MCP Server with a few lines of code.
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],
)Every resource below is accessible as a set of MCP tools (list, get, create, update, delete) through OpenAI Agents SDK.