voice
Retell AI MCP Integration for OpenAI Agents SDK
Connect Retell AI to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Retell AI to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Retell AI MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"mcpServers": {
"kosmokrator-retell-ai": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=retell-ai",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=retell-ai --write=deny Why Use KosmoKrator Here
Expose only Retell AI instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Retell AI Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Retell AI integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__retell_ai__retell_ai_create_call | retell-ai.retell_ai_create_call | Write | Create a new AI-powered phone call using a Retell AI voice agent. Specify the agent ID and optional metadata to attach context to the call. |
integration__retell_ai__retell_ai_get_call | retell-ai.retell_ai_get_call | Read | Retrieve details for a specific phone call by its ID. Returns call status, duration, transcript, and associated metadata. |
integration__retell_ai__retell_ai_list_calls | retell-ai.retell_ai_list_calls | Read | List phone calls from Retell AI. Returns call records with status, duration, and metadata. Supports optional filters for agent, status, or date range. |
integration__retell_ai__retell_ai_list_agents | retell-ai.retell_ai_list_agents | Read | List all configured voice agents in your Retell AI account. Returns agent IDs, names, voice settings, and other configuration details. |
integration__retell_ai__retell_ai_create_agent | retell-ai.retell_ai_create_agent | Write | Create a new voice AI agent in Retell AI. Specify the voice ID and system prompt. Additional options like agent name, language, and behavior settings can be provided. |
integration__retell_ai__retell_ai_get_current_user | retell-ai.retell_ai_get_current_user | Read | Retrieve current Retell AI account information, including available agents and account status. Useful for verifying connectivity and understanding account capabilities. |