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.

PythonTypeScript

Get started with OpenAI Agents SDK

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

OpenAI Agents SDK Configuration
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],
)

Launch accounting integrations in weeks, not months

Get started for free