KosmoKrator

ai

Retell AI MCP Integration for Codex

Connect Retell AI to Codex through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 5 read 2 write Bearer token auth

Connect Retell AI to Codex

Use KosmoKrator as a local MCP proxy for Codex so coding sessions can reach selected integrations with explicit write policy.

Register kosmo mcp:serve as a local stdio server and choose the integration allowlist. The gateway is local, scoped to this integration, and starts with --write=deny so Codex can inspect read-capable tools without receiving write access by default.

Retell AI MCP Config for Codex

Keep write access denied or ask-based unless the workspace is trusted.

{
  "mcpServers": {
    "kosmokrator-retell": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=retell",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=retell --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Retell AI instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Retell AI Tools Visible to Codex

Codex sees stable MCP tool names generated from the Retell AI integration catalog.

MCP toolSource functionTypeDescription
integration__retell__retell_list_calls retell.retell_list_calls Read List AI voice calls from Retell. Supports filtering by criteria and cursor-based pagination using before/after timestamps.
integration__retell__retell_get_call retell.retell_get_call Read Get detailed information about a specific AI voice call, including transcript, duration, and status.
integration__retell__retell_create_phone_call retell.retell_create_phone_call Write Create a new AI-powered phone call using a Retell AI agent. The agent will handle the conversation automatically.
integration__retell__retell_list_agents retell.retell_list_agents Read List all AI voice agents configured in Retell AI. Returns agent IDs, names, and configuration details.
integration__retell__retell_get_agent retell.retell_get_agent Read Get detailed information about a specific AI voice agent, including its model, voice, prompt, and configuration.
integration__retell__retell_create_agent retell.retell_create_agent Write Create a new AI voice agent in Retell AI. Configure the model, voice, system prompt, and response engine.
integration__retell__retell_get_current_user retell.retell_get_current_user Read Get information about the currently authenticated Retell AI user. Useful for verifying credentials and account details.

Related Retell AI Pages