vapi-mcp-server-enhanced

v1.3.0
vapi-mcp-server-enhanced Checked 5 hours ago Published 6 months ago

Vapi 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

ParameterTypeDescription
name *stringName of the assistant
firstMessagestringFirst message to say to the user
firstMessageModestringThis determines who speaks first, either assistant or user
instructionsstringInstructions for the assistant
llmLLM configuration
toolIdsarrayIDs of tools to use with this assistant
transcriberobjectTranscription configuration
voiceobjectVoice configuration

get_assistant

Gets a Vapi assistant by ID

ParameterTypeDescription
assistantId *stringID of the assistant to get

update_assistant

Updates an existing Vapi assistant

ParameterTypeDescription
assistantId *stringID of the assistant to update
firstMessagestringFirst message to say to the user
firstMessageModestringThis determines who speaks first, either assistant or user
instructionsstringNew instructions for the assistant
llmNew LLM configuration
namestringNew name for the assistant
toolIdsarrayNew IDs of tools to use with this assistant
transcriberobjectNew transcription configuration
voiceobjectNew voice configuration

list_calls

Lists Vapi calls with optional filters for assistantId, phoneNumberId, date ranges, and limit

ParameterTypeDescription
assistantIdstringFilter by assistant ID
createdAtGestringFilter calls created at or after this ISO datetime
createdAtGtstringFilter calls created after this ISO datetime
createdAtLestringFilter calls created at or before this ISO datetime
createdAtLtstringFilter calls created before this ISO datetime
limitnumberMaximum number of calls to return (default: 100, max: 250)
phoneNumberIdstringFilter by phone number ID

create_call

Creates a outbound call

ParameterTypeDescription
assistantIdstringID of the assistant to use for the call
assistantOverridesobjectOverrides for the assistant configuration
customerobjectCustomer information
phoneNumberIdstringID of the phone number to use for the call
scheduledAtstringISO 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

ParameterTypeDescription
callId *stringID 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.

ParameterTypeDescription
assistantIdstringFilter by assistant ID
callIdstringFilter logs by call ID (most common use)
createdAtGestringLogs created at or after this ISO datetime
createdAtGtstringLogs created after this ISO datetime
createdAtLestringLogs created at or before this ISO datetime
createdAtLtstringLogs created before this ISO datetime
customerIdstringFilter by customer ID
limitnumberMax items to return (default 100)
pagenumberPage number (default 1)
phoneNumberIdstringFilter by phone number ID
sortOrderstringSort order, default DESC
squadIdstringFilter by squad ID
typearrayFilter by one or more log types. Allowed: Call, API, Webhook, Provider
webhookTypearrayFilter 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.

ParameterTypeDescription
assistantId *stringAssistant to test
customerNumber *stringCustomer phone number to call (E.164, e.g. +14155551234)
phoneNumberId *stringVapi phone number to call from
firstMessagestringOverride the assistant's opening line for this test call
maxDurationSecondsnumberHard cap on call length (default 600 = 10 min)
namestringOptional label for the test call
scenariostringFree-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…
variableValuesobjectTemplate 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'

ParameterTypeDescription
callId *stringThe ID of the call
formatstringOutput 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

ParameterTypeDescription
phoneNumberId *stringID of the phone number to get

list_tools

Lists all Vapi tools

get_tool

Gets details of a specific tool

ParameterTypeDescription
toolId *stringID of the tool to get

create_tool

Creates a new Vapi tool

ParameterTypeDescription
type *stringType of the tool to create
apiRequestobjectAPI Request tool configuration - for HTTP API integration
descriptionstringDescription of what the function/tool does
functionobjectCustom function tool configuration - for custom server-side functions
namestringName of the function/tool
smsobjectSMS tool configuration - to send text messages
transferCallobjectTransfer call tool configuration - to transfer calls to destinations

update_tool

Updates an existing Vapi tool

ParameterTypeDescription
toolId *stringID of the tool to update
apiRequestobjectAPI Request tool configuration - for HTTP API integration
descriptionstringDescription of what the function/tool does
functionobjectCustom function tool configuration - for custom server-side functions
namestringName of the function/tool
smsobjectSMS tool configuration - to send text messages
transferCallobjectTransfer call tool configuration - to transfer calls to destinations

list_test_suites

Lists all Vapi test suites (simulation-based testing with AI-powered callers)

ParameterTypeDescription
limitnumberMaximum 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.

ParameterTypeDescription
namestringName of the test suite
phoneNumberIdstringPhone number ID associated with this test suite
targetPhoneNumberIdstringPhone number ID being tested (in target plan)
testerAssistantIdstringAssistant ID to use as the tester (in tester plan)

get_test_suite

Gets details of a specific test suite

ParameterTypeDescription
testSuiteId *stringID of the test suite

update_test_suite

Updates an existing test suite

ParameterTypeDescription
testSuiteId *stringID of the test suite to update
namestringNew name for the test suite
phoneNumberIdstringNew phone number ID

delete_test_suite

Deletes a test suite

ParameterTypeDescription
testSuiteId *stringID of the test suite

list_test_cases

Lists all test cases in a test suite

ParameterTypeDescription
testSuiteId *stringID of the test suite
limitnumberMaximum 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).

ParameterTypeDescription
scorers *arrayAI scorers with rubrics to evaluate the test outcome
script *stringScript/instructions for the test - what the AI tester should do
testSuiteId *stringID of the test suite to add the test to
namestringName of the test case
numAttemptsnumberNumber of attempts allowed for the test
typestringType of test: "voice" for full voice simulation, "chat" for text-based

get_test_case

Gets details of a specific test case

ParameterTypeDescription
testId *stringID of the test case
testSuiteId *stringID of the test suite

update_test_case

Updates an existing test case

ParameterTypeDescription
testId *stringID of the test case to update
testSuiteId *stringID of the test suite
type *stringType of test
namestringNew name for the test case
numAttemptsnumberNew number of attempts
scorersarrayNew scorers for the test
scriptstringNew script for the test

delete_test_case

Deletes a test case from a test suite

ParameterTypeDescription
testId *stringID of the test case to delete
testSuiteId *stringID 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.

ParameterTypeDescription
testSuiteId *stringID of the test suite to run
namestringName 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.

ParameterTypeDescription
runId *stringID of the test suite run
testSuiteId *stringID of the test suite

list_test_suite_runs

Lists all runs for a test suite with their statuses and results

ParameterTypeDescription
testSuiteId *stringID of the test suite
limitnumberMaximum number of runs to return

list_evals

Lists all evaluations (mock conversation tests with exact/regex/AI validation)

ParameterTypeDescription
limitnumberMaximum 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.

ParameterTypeDescription
messages *arrayMock conversation messages with validation
name *stringName of the evaluation
descriptionstringDescription of what this eval tests

get_eval

Gets details of a specific evaluation

ParameterTypeDescription
evalId *stringID of the evaluation

update_eval

Updates an existing evaluation

ParameterTypeDescription
evalId *stringID of the evaluation to update
descriptionstringNew description
messagesarrayNew mock conversation messages
namestringNew name

delete_eval

Deletes an evaluation

ParameterTypeDescription
evalId *stringID 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.

ParameterTypeDescription
evalId *stringID of the evaluation to run
assistantIdstringTarget assistant ID to test against
squadIdstringTarget 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.

ParameterTypeDescription
runId *stringID of the evaluation run

list_chats

Lists Vapi chats (text-based assistant interactions). Supports filters for assistantId, sessionId, previousChatId, squadId, date ranges, and pagination.

ParameterTypeDescription
assistantIdstringFilter by assistant ID
createdAtGestringChats created at or after this ISO datetime
createdAtGtstringChats created after this ISO datetime
createdAtLestringChats created at or before this ISO datetime
createdAtLtstringChats created before this ISO datetime
limitnumberMax chats to return (default 100, max 250)
pagenumberPage number (default 1)
previousChatIdstringFilter by previous chat ID
sessionIdstringFilter by session ID
sortOrderstringSort order, default DESC
squadIdstringFilter by squad ID
updatedAtGtstringChats updated after this ISO datetime
updatedAtLtstringChats updated before this ISO datetime

get_chat

Gets a single Vapi chat by ID, including full message history.

ParameterTypeDescription
chatId *stringID of the chat to get

list_sessions

Lists Vapi sessions. Supports filters for id, name, assistantId, squadId, workflowId, and date ranges.

ParameterTypeDescription
assistantIdstringFilter by assistant ID
createdAtGtstringSessions created after this ISO datetime
createdAtLtstringSessions created before this ISO datetime
idstringFilter by session ID
limitnumberMax sessions to return (default 100, max 250)
namestringFilter by session name
squadIdstringFilter by squad ID
workflowIdstringFilter by workflow ID

get_session

Gets a single Vapi session by ID.

ParameterTypeDescription
sessionId *stringID of the session to get