Retellai MCP for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Retellai MCP or direct API to analyze call transcripts, summarize conversations, extract key insights, and automate call follow-ups through natural language.

Retellai logoRetellai
Api Key

RetellAI is a platform for capturing calls and transcripts, centralizing business conversations. It helps teams analyze interactions and extract insights to improve customer experience.

67 Tools

Try Retellai now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Retellai
Try asking
TOOLS

Supported Tools

Every Retellai action and event your agent gets out of the box.

Add community voice

Add a community voice from ElevenLabs to your Retell voice library.

Add sources to knowledge base

Tool to add sources (documents, URLs, text) to an existing knowledge base in Retell AI.

Buy a new phone number bind agents

This endpoint allows purchasing a new phone number with a specified area code and binding it to designated agents for inbound and outbound calls.

Create Voice AI Agent

Create a new voice AI agent with specified configuration.

Create a new outbound phone call

Initiate an outbound call by POST to '/v2/create-phone-call'.

Create a new web call

The /v2/create-web-call endpoint creates a web call with a unique agent ID, returning call details like type, token, call ID, and status in JSON format, with a 201 response.

Create Batch Test

Tool to create a batch test job that runs multiple test cases against an agent.

Create a new chat session

Tool to create a new chat session with a chat agent.

Create a new chat agent

Create a new chat agent with specified configuration.

Create chat completion

Tool to create a chat completion for an existing chat session, generating the agent's response to a user message.

Create conversation flow

Create a new Conversation Flow that can be attached to an agent for response generation.

Create conversation flow component

Creates a new shared conversation flow component at POST '/create-conversation-flow-component'.

Create a new knowledge base

Tool to create a new knowledge base in Retell AI with texts, files, and URLs.

Create Retell LLM Response Engine

Create a new Retell LLM Response Engine that can be attached to an agent.

Create Test Case Definition

Tool to create a test case definition for agent QA testing in Retell AI.

Delete agent

Deletes an existing agent by its unique identifier.

Delete call

Delete a specific call and its associated data by call ID.

Delete chat agent

Delete an existing chat agent by its unique identifier.

Delete conversation flow

Delete a conversation flow and all its versions.

Delete conversation flow component

Delete a shared conversation flow component.

Delete knowledge base

Delete an existing knowledge base by its unique identifier.

Delete knowledge base source

Delete an existing source from a knowledge base.

Delete phone number

Tool to delete an existing phone number from Retell AI.

Delete Retell LLM

Delete an existing Retell LLM Response Engine by its unique identifier.

Delete test case definition

Delete a test case definition by its unique identifier.

End chat

Tool to end an active chat session.

Retrieve details of a specific agent

Retrieve details of a specific agent by its unique identifier.

Get agent versions

Tool to retrieve all versions of a specific agent.

Get batch test

Retrieve details and results of a specific batch test job.

Get chat details

Tool to retrieve details of a specific chat session by chat ID.

Retrieve details of a specific chat agent

Retrieve details of a specific chat agent by its unique identifier.

Get all versions of a chat agent

Retrieve all versions of a specific chat agent by its unique identifier.

Get concurrency

Retrieves the current concurrency and concurrency limits for the organization.

Get Conversation Flow

Retrieve details of a specific Conversation Flow by its ID.

Get conversation flow component

Retrieves a shared conversation flow component by its unique identifier.

Get knowledge base

Retrieve details of a specific knowledge base by its unique identifier.

Retrieve details of a specific Retell LLM

Retrieve details of a specific Retell LLM Response Engine by its unique identifier.

Import phone number

Tool to import a phone number from custom telephony and bind agents to it.

List agents

Retrieves a list of all agents associated with the account.

List all chats

Tool to retrieve a list of all chats associated with the account.

List all phone numbers

Retrieves a list of all phone numbers associated with the account.

List batch tests

Tool to list batch test jobs for a response engine.

List chat agents

Tool to retrieve a list of all chat agents associated with the account.

List conversation flow components

Retrieves a list of all shared conversation flow components.

List conversation flows

Tool to list all conversation flows that can be attached to an agent.

List knowledge bases

Tool to retrieve all knowledge bases associated with the account.

List Retell LLMs

Tool to list all Retell LLM Response Engines that can be attached to an agent.

List test case definitions

Tool to list test case definitions for a response engine (Retell LLM or Conversation Flow).

List test runs

Tool to list all test case jobs (test runs) for a batch test job.

List voices

List all voices available to the user.

Publish agent

Publishes the latest version of the agent and creates a new draft agent with a newer version.

Publish chat agent

Publishes the latest version of the chat agent and creates a new draft chat agent with a newer version.

Register phone call

Register a phone call for custom telephony integration with Retell AI.

Retrieve call details

Tool to retrieve call details with filtering options.

Retrieve call details by id

Retrieve call details by ID for web/phone calls, including type, agent ID, status, timestamps, and web access token; covering responses from success to server errors.

Retrieve phone number details

Tool to retrieve details of a specific phone number from Retell AI.

Retrieve details of a specific voice

Tool to retrieve details of a specific voice by its voice_id.

Search community voice

Search for community voices from voice providers.

Update agent

Update an existing agent's latest draft version.

Update call

Update an active call's parameters such as metadata, dynamic variables, or data storage settings.

Update chat agent

Update an existing chat agent configuration.

Update chat metadata

Tool to update metadata and sensitive data storage settings for an existing chat.

Update conversation flow

Update an existing conversation flow configuration.

Update conversation flow component

Update an existing shared conversation flow component by its ID.

Update phone number configuration

Update agent bound to a purchased phone number.

Update Retell LLM Response Engine

Update an existing Retell LLM Response Engine by its unique identifier.

Update test case definition

Update a test case definition for agent testing.

SETUP GUIDE

Connect Retellai MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
Install the Composio SDK and Claude Agent SDK
2

Create Tool Router Session

typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });

console.log("Creating Tool Router session...");
const { mcp } = await composio.create('your-user-id');
console.log(`Tool Router session created: ${mcp.url}`);
Initialize the Composio client and create a Tool Router session
3

Connect to AI Agent

typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText, stepCountIs } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: mcp.url,
    headers: { 'x-api-key': 'your-composio-api-key' }
  }
});

const tools = await client.tools();

const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{ role: 'user', content: 'Retrieve call details by id for call c123456789' }],
  stopWhen: stepCountIs( 5 )
});

console.log(`Agent: ${text}`);
Use the MCP server with your AI agent
SETUP GUIDE

Connect Retellai API Tool with your Agent

1

Install Composio

typescript
npm install @composio/openai
Install the Composio SDK
2

Initialize Composio and Create Tool Router Session

typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
Import and initialize Composio client, then create a Tool Router session
3

Execute Retellai Tools via Tool Router with Your Agent

typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'List all phone numbers and their assigned agents'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
Get tools from Tool Router session and execute Retellai actions with your Agent

Why Use Composio?

AI Native Retellai Integration

  • Supports both Retellai MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for reading, writing, and querying your Retellai data

Managed Auth

  • Built-in OAuth handling with automatic token refresh and rotation
  • Central place to manage, scope, and revoke Retellai access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Retellai
  • Scoped, least privilege access to Retellai resources
  • Full audit trail of agent actions to support review and compliance
FAQ

Frequently asked questions

Yes, Retellai requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Start with Retellai.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Retellai tool your agent needs.Free to start.

Start building