vapi-mcp-server-enhanced
v1.3.0Vapi MCP Server - Build AI voice assistants with Claude
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
vapi_login
Authenticate with Vapi. Call this first if other tools return authentication errors.
vapi_logout
Log out of Vapi and clear stored credentials. Use this if your auth token is stale or you want to switch accounts.
list_assistants
Lists all Vapi assistants
create_assistant
Creates a new Vapi assistant
| Parameter | Type | Description |
|---|---|---|
name * | string | Name of the assistant |
firstMessage | string | First message to say to the user |
firstMessageMode | string | This determines who speaks first, either assistant or user |
instructions | string | Instructions for the assistant |
llm | LLM configuration | |
toolIds | array | IDs of tools to use with this assistant |
transcriber | object | Transcription configuration |
voice | object | Voice configuration |
get_assistant
Gets a Vapi assistant by ID
| Parameter | Type | Description |
|---|---|---|
assistantId * | string | ID of the assistant to get |
update_assistant
Updates an existing Vapi assistant
| Parameter | Type | Description |
|---|---|---|
assistantId * | string | ID of the assistant to update |
firstMessage | string | First message to say to the user |
firstMessageMode | string | This determines who speaks first, either assistant or user |
instructions | string | New instructions for the assistant |
llm | New LLM configuration | |
name | string | New name for the assistant |
toolIds | array | New IDs of tools to use with this assistant |
transcriber | object | New transcription configuration |
voice | object | New voice configuration |
list_calls
Lists Vapi calls with optional filters for assistantId, phoneNumberId, date ranges, and limit
| Parameter | Type | Description |
|---|---|---|
assistantId | string | Filter by assistant ID |
createdAtGe | string | Filter calls created at or after this ISO datetime |
createdAtGt | string | Filter calls created after this ISO datetime |
createdAtLe | string | Filter calls created at or before this ISO datetime |
createdAtLt | string | Filter calls created before this ISO datetime |
limit | number | Maximum number of calls to return (default: 100, max: 250) |
phoneNumberId | string | Filter by phone number ID |
create_call
Creates a outbound call
| Parameter | Type | Description |
|---|---|---|
assistantId | string | ID of the assistant to use for the call |
assistantOverrides | object | Overrides for the assistant configuration |
customer | object | Customer information |
phoneNumberId | string | ID of the phone number to use for the call |
scheduledAt | string | ISO datetime string for when the call should be scheduled (e.g. "2025-03-25T22:39:27.771Z") |
get_call
Gets detailed call information including transcript, recording URL, analysis, and captured variables
| Parameter | Type | Description |
|---|---|---|
callId * | string | ID of the call to get |
get_call_logs
Gets verbose Vapi platform logs for a call: request/response bodies, webhook payloads, HTTP status codes, durations, and errors. Pass callId to scope to a single call. Returns a paginated list of log entries.
| Parameter | Type | Description |
|---|---|---|
assistantId | string | Filter by assistant ID |
callId | string | Filter logs by call ID (most common use) |
createdAtGe | string | Logs created at or after this ISO datetime |
createdAtGt | string | Logs created after this ISO datetime |
createdAtLe | string | Logs created at or before this ISO datetime |
createdAtLt | string | Logs created before this ISO datetime |
customerId | string | Filter by customer ID |
limit | number | Max items to return (default 100) |
page | number | Page number (default 1) |
phoneNumberId | string | Filter by phone number ID |
sortOrder | string | Sort order, default DESC |
squadId | string | Filter by squad ID |
type | array | Filter by one or more log types. Allowed: Call, API, Webhook, Provider |
webhookType | array | Filter by one or more webhook event types (used when type includes Webhook) |
create_test_call
Creates an outbound test call against an existing assistant. Supports a scripted opening line (firstMessage), template variables (variableValues), and a full system-prompt replacement (scenario) — useful for simulating specific situations against the same assistant.
| Parameter | Type | Description |
|---|---|---|
assistantId * | string | Assistant to test |
customerNumber * | string | Customer phone number to call (E.164, e.g. +14155551234) |
phoneNumberId * | string | Vapi phone number to call from |
firstMessage | string | Override the assistant's opening line for this test call |
maxDurationSeconds | number | Hard cap on call length (default 600 = 10 min) |
name | string | Optional label for the test call |
scenario | string | Free-form scenario script. Fully replaces the assistant's system prompt for this call only (e.g. 'You are a frustrated customer disputing a $200 charge. Be terse.'). The assistant's existing model/pro… |
variableValues | object | Template variables substituted into the assistant's prompt for this call, e.g. {"name":"Joe","scenario":"angry customer"} |
get_call_transcript
Get call transcript in structured (with timestamps) or plain text format. Use format='plain' for readable output like '[00:03] User: Hello'
| Parameter | Type | Description |
|---|---|---|
callId * | string | The ID of the call |
format | string | Output format: 'structured' (array with timestamps) or 'plain' (formatted text) |
list_phone_numbers
Lists all Vapi phone numbers
get_phone_number
Gets details of a specific phone number
| Parameter | Type | Description |
|---|---|---|
phoneNumberId * | string | ID of the phone number to get |
list_tools
Lists all Vapi tools
get_tool
Gets details of a specific tool
| Parameter | Type | Description |
|---|---|---|
toolId * | string | ID of the tool to get |
create_tool
Creates a new Vapi tool
| Parameter | Type | Description |
|---|---|---|
type * | string | Type of the tool to create |
apiRequest | object | API Request tool configuration - for HTTP API integration |
description | string | Description of what the function/tool does |
function | object | Custom function tool configuration - for custom server-side functions |
name | string | Name of the function/tool |
sms | object | SMS tool configuration - to send text messages |
transferCall | object | Transfer call tool configuration - to transfer calls to destinations |
update_tool
Updates an existing Vapi tool
| Parameter | Type | Description |
|---|---|---|
toolId * | string | ID of the tool to update |
apiRequest | object | API Request tool configuration - for HTTP API integration |
description | string | Description of what the function/tool does |
function | object | Custom function tool configuration - for custom server-side functions |
name | string | Name of the function/tool |
sms | object | SMS tool configuration - to send text messages |
transferCall | object | Transfer call tool configuration - to transfer calls to destinations |
list_test_suites
Lists all Vapi test suites (simulation-based testing with AI-powered callers)
| Parameter | Type | Description |
|---|---|---|
limit | number | Maximum number of test suites to return |
create_test_suite
Creates a new test suite for simulation-based testing. Define a suite, then add test cases with scripts and AI scorers.
| Parameter | Type | Description |
|---|---|---|
name | string | Name of the test suite |
phoneNumberId | string | Phone number ID associated with this test suite |
targetPhoneNumberId | string | Phone number ID being tested (in target plan) |
testerAssistantId | string | Assistant ID to use as the tester (in tester plan) |
get_test_suite
Gets details of a specific test suite
| Parameter | Type | Description |
|---|---|---|
testSuiteId * | string | ID of the test suite |
update_test_suite
Updates an existing test suite
| Parameter | Type | Description |
|---|---|---|
testSuiteId * | string | ID of the test suite to update |
name | string | New name for the test suite |
phoneNumberId | string | New phone number ID |
delete_test_suite
Deletes a test suite
| Parameter | Type | Description |
|---|---|---|
testSuiteId * | string | ID of the test suite |
list_test_cases
Lists all test cases in a test suite
| Parameter | Type | Description |
|---|---|---|
testSuiteId * | string | ID of the test suite |
limit | number | Maximum number of test cases to return |
create_test_case
Creates a test case in a test suite. Provide a script (instructions for the AI tester) and scorers (AI rubrics to evaluate the outcome). Type can be "voice" (full audio) or "chat" (text-only, faster).
| Parameter | Type | Description |
|---|---|---|
scorers * | array | AI scorers with rubrics to evaluate the test outcome |
script * | string | Script/instructions for the test - what the AI tester should do |
testSuiteId * | string | ID of the test suite to add the test to |
name | string | Name of the test case |
numAttempts | number | Number of attempts allowed for the test |
type | string | Type of test: "voice" for full voice simulation, "chat" for text-based |
get_test_case
Gets details of a specific test case
| Parameter | Type | Description |
|---|---|---|
testId * | string | ID of the test case |
testSuiteId * | string | ID of the test suite |
update_test_case
Updates an existing test case
| Parameter | Type | Description |
|---|---|---|
testId * | string | ID of the test case to update |
testSuiteId * | string | ID of the test suite |
type * | string | Type of test |
name | string | New name for the test case |
numAttempts | number | New number of attempts |
scorers | array | New scorers for the test |
script | string | New script for the test |
delete_test_case
Deletes a test case from a test suite
| Parameter | Type | Description |
|---|---|---|
testId * | string | ID of the test case to delete |
testSuiteId * | string | ID of the test suite |
run_test_suite
Runs all test cases in a test suite. Returns a run ID to track progress. Use get_test_suite_run to check status and results.
| Parameter | Type | Description |
|---|---|---|
testSuiteId * | string | ID of the test suite to run |
name | string | Name for this test run |
get_test_suite_run
Gets the status and results of a test suite run. Status can be: queued, in-progress, completed, or failed. Results include scorer outcomes per test case.
| Parameter | Type | Description |
|---|---|---|
runId * | string | ID of the test suite run |
testSuiteId * | string | ID of the test suite |
list_test_suite_runs
Lists all runs for a test suite with their statuses and results
| Parameter | Type | Description |
|---|---|---|
testSuiteId * | string | ID of the test suite |
limit | number | Maximum number of runs to return |
list_evals
Lists all evaluations (mock conversation tests with exact/regex/AI validation)
| Parameter | Type | Description |
|---|---|---|
limit | number | Maximum number of evals to return |
create_eval
Creates a mock conversation evaluation. Define user messages and expected assistant responses with validation (exact match, regex, or AI judge). Can also validate tool calls.
| Parameter | Type | Description |
|---|---|---|
messages * | array | Mock conversation messages with validation |
name * | string | Name of the evaluation |
description | string | Description of what this eval tests |
get_eval
Gets details of a specific evaluation
| Parameter | Type | Description |
|---|---|---|
evalId * | string | ID of the evaluation |
update_eval
Updates an existing evaluation
| Parameter | Type | Description |
|---|---|---|
evalId * | string | ID of the evaluation to update |
description | string | New description |
messages | array | New mock conversation messages |
name | string | New name |
delete_eval
Deletes an evaluation
| Parameter | Type | Description |
|---|---|---|
evalId * | string | ID of the evaluation to delete |
run_eval
Runs an evaluation against an assistant or squad. Returns a run ID. Use get_eval_run to check status (queued → in-progress → completed/failed) and see pass/fail results.
| Parameter | Type | Description |
|---|---|---|
evalId * | string | ID of the evaluation to run |
assistantId | string | Target assistant ID to test against |
squadId | string | Target squad ID to test against (alternative to assistantId) |
get_eval_run
Gets the status and results of an evaluation run. Shows pass/fail for each conversation turn, including judge results and failure reasons.
| Parameter | Type | Description |
|---|---|---|
runId * | string | ID of the evaluation run |
list_chats
Lists Vapi chats (text-based assistant interactions). Supports filters for assistantId, sessionId, previousChatId, squadId, date ranges, and pagination.
| Parameter | Type | Description |
|---|---|---|
assistantId | string | Filter by assistant ID |
createdAtGe | string | Chats created at or after this ISO datetime |
createdAtGt | string | Chats created after this ISO datetime |
createdAtLe | string | Chats created at or before this ISO datetime |
createdAtLt | string | Chats created before this ISO datetime |
limit | number | Max chats to return (default 100, max 250) |
page | number | Page number (default 1) |
previousChatId | string | Filter by previous chat ID |
sessionId | string | Filter by session ID |
sortOrder | string | Sort order, default DESC |
squadId | string | Filter by squad ID |
updatedAtGt | string | Chats updated after this ISO datetime |
updatedAtLt | string | Chats updated before this ISO datetime |
get_chat
Gets a single Vapi chat by ID, including full message history.
| Parameter | Type | Description |
|---|---|---|
chatId * | string | ID of the chat to get |
list_sessions
Lists Vapi sessions. Supports filters for id, name, assistantId, squadId, workflowId, and date ranges.
| Parameter | Type | Description |
|---|---|---|
assistantId | string | Filter by assistant ID |
createdAtGt | string | Sessions created after this ISO datetime |
createdAtLt | string | Sessions created before this ISO datetime |
id | string | Filter by session ID |
limit | number | Max sessions to return (default 100, max 250) |
name | string | Filter by session name |
squadId | string | Filter by squad ID |
workflowId | string | Filter by workflow ID |
get_session
Gets a single Vapi session by ID.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | ID of the session to get |