Vapi MCP for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Vapi MCP or direct API to create voice agents, manage conversations, deploy workflows, and analyze call interactions through natural language.

Vapi logoVapi
Api Key

Vapi is a voice AI platform for building, testing, and deploying conversational voice agents. It provides real-time responses and seamless integration for voice-driven applications.

42 Tools

Try Vapi now

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

TOOL ROUTER PLAYGROUND
Vapi
Try asking
TOOLS

Supported Tools

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

Update Assistant

Tool to update an existing Vapi assistant configuration.

List Calls

Tool to list calls from Vapi.

Delete Chat

Tool to delete a chat by its ID from Vapi.

Get Chat

Tool to fetch chat details by ID.

Create Analytics Queries

Tool to create and execute analytics queries on VAPI data.

Create Assistant

Tool to create a new Vapi assistant with specified transcriber, voice, and AI model configurations.

Create Eval

Tool to create an eval for testing conversation flows.

Create OpenAI Chat

Tool to create an OpenAI-compatible chat using the Vapi API.

Create Phone Number

Tool to create a phone number with Vapi.

Create Monitoring Policy

Tool to create a monitoring policy in VAPI.

Create Provider Resource

Tool to create an 11Labs pronunciation dictionary resource.

Create Scorecard

Tool to create a scorecard for observability and evaluation.

Delete Call

Tool to delete a call by its unique identifier.

Delete Eval

Tool to delete an eval by ID.

Delete Phone Number

Tool to delete a phone number from Vapi.

Get Eval

Tool to retrieve an eval by its ID.

Delete Eval Run

Tool to delete an eval run by its ID from Vapi.

Update Eval

Tool to update an existing eval in Vapi.

Get Assistant

Tool to retrieve a specific assistant by ID from Vapi.

Get Call

Tool to fetch call details by ID.

Get File

Tool to retrieve a file by its ID from Vapi.

Get Insights

Tool to retrieve insights from Vapi.

List Monitoring Policies

Tool to retrieve monitoring policies from Vapi.

Get Observability Scorecard

Tool to list observability scorecards with optional filtering and pagination.

List Provider Resources

Tool to list provider resources from Vapi.

List Structured Outputs

Tool to list structured outputs with optional filtering.

Get Insights

Tool to retrieve insights from VAPI.

List Assistants

Tool to list all assistants in your VAPI organization.

List Chats

Tool to retrieve a list of chat conversations from VAPI.

List Evals

Tool to retrieve a paginated list of evals from Vapi.

List Provider Resources

Tool to retrieve provider resources from Vapi (e.

Update Insight

Tool to update an existing insight configuration in VAPI.

Create Phone Number

Tool to create a phone number with VAPI.

List Scorecards

Tool to retrieve a paginated list of scorecards from Vapi.

Create Session

Tool to create a new session in Vapi.

List Sessions

Tool to retrieve a paginated list of sessions from VAPI.

List Structured Outputs

Tool to list structured outputs with optional filtering and pagination.

Get Tool

Tool to fetch tool details by ID.

Test Code Tool Execution

Tool to test TypeScript code execution in Vapi's code tool environment.

Update Tool

Tool to update an existing Vapi tool configuration.

Update Phone Number

Tool to update an existing phone number configuration in VAPI.

Upload File

Tool to upload a file to Vapi Knowledge Base.

SETUP GUIDE

Connect Vapi MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
Install the Composio SDK for Python or TypeScript
2

Initialize Client and Create Tool Router Session

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

const composio = new Composio({ apiKey: 'your-api-key' });
const session = await composio.create('your-user-id');
console.log(`Tool Router session created: ${session.mcp.url}`);
Import and initialize the Composio client, then create a Tool Router session for Vapi
3

Connect to AI Agent

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

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: session.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: 'Start a new voice agent session with the welcome script.'
  }],
  maxSteps: 5,
});

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

Connect Vapi 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 Vapi 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: 'Start a new voice agent session with the welcome script.'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
Get tools from Tool Router session and execute Vapi actions with your Agent

Why Use Composio?

AI Native Vapi Integration

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

Managed Auth

  • Built-in OAuth handling with automatic token refresh and rotation
  • Central place to manage, scope, and revoke Vapi 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 Vapi
  • Scoped, least privilege access to Vapi resources
  • Full audit trail of agent actions to support review and compliance
FAQ

Frequently asked questions

Yes, Vapi requires you to configure your own API key. 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 Vapi.It takes 30 seconds.

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

Start building