Skip to main content

Overview

The Vaani MCP Server (vaani-research-mcp) exposes Vaani Voice AI APIs as tools via the Model Context Protocol (MCP), so you can create agents, trigger calls, read transcripts and run campaigns from any MCP-compatible assistant (like Claude Desktop) or agent framework. It runs locally over stdio — no hosted infrastructure needed. Use it to connect your AI workflows to real-world telephony, automate voice tasks, and build richer conversational agents.
You need a Vaani API key (vaani_...). Generate one from the Vaani Dashboard → API Keys. See Generate API Key.

Quickstart: Claude Desktop Config

Fastest way to get started: connect Claude Desktop to the Vaani MCP Server.
1

Get your Vaani API key

Generate a key from the Vaani Dashboard → API Keys.
2

Edit Claude Desktop config

Open Settings → Developer tab → Edit Config.
3

Add the Vaani MCP server block

Insert this into your claude_desktop_config.json, replacing vaani_... with your API key:
4

Restart Claude Desktop

Save and restart Claude Desktop.
Claude Desktop on Windows may need "command": "cmd" with "args": ["/c", "npx", "-y", "vaani-research-mcp"].
Example prompt:
“Create a friendly Hindi appointment-reminder agent, then call +919876543210 with it.”

Core Tools

The Vaani MCP Server exposes these actions as MCP tools: Also bundled:
  • Resource vaani://docs — links to every page of this API reference.
  • Prompt build_voice_agent — guides agent design (use case, language, tone, guardrails, disposition fields) before calling create_agent.
trigger_call, campaign start and campaign cancel place real calls that cost real money. Confirm the target number and agent with the user before calling. Phone numbers are validated as E.164 before anything is sent.
create_campaign currently sends JSON, but POST /api/campaigns/create requires multipart/form-data with a csv_file upload (see Create Campaign). File-upload support is planned — until then, create campaigns via the API or dashboard.

Integration Options

Local (stdio)

Run the MCP server on your own machine. No install needed — clients launch it on demand:
Requirements: Node.js 18+. Authentication: VAANI_API_KEY environment variable. Optional: VAANI_API_BASE to override the API URL, VAANI_READ_ONLY=true to expose only the read-only tools (list_calls, get_call_details, get_call_transcript).
Use this for clients or SDKs that support local command-based (stdio) MCP servers.

Claude Code

Cursor

Settings → MCP → Add new global MCP server:

VS Code (Copilot MCP)

Add to .vscode/mcp.json:

Custom MCP Client Integration

You can use any MCP-compatible client (SDKs available for multiple languages).

Install an MCP client SDK

Choose a language:

Configure your connection

Connect over stdio by spawning npx -y vaani-research-mcp with VAANI_API_KEY set.

Use MCP tools

List tools, create agents, trigger calls, read transcripts — via your SDK.

Example: query tools with Node.js

For more detailed examples and complete client implementations, see the MCP Client Quickstart. To inspect the server interactively, run it under the MCP Inspector: VAANI_API_KEY=vaani_... npx @modelcontextprotocol/inspector npx -y vaani-research-mcp.

References