ai
Retell AI MCP Integration for LangChain
Connect Retell AI to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Retell AI to LangChain
Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.
Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with
--write=deny so LangChain can inspect read-capable tools without receiving write access by default.
Retell AI MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"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
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 LangChain
LangChain sees stable MCP tool names generated from the Retell AI integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
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. |