> Vapi has two MCP servers. To use Vapi, such as creating and managing assistants, calls, and phone numbers, connect to the Vapi MCP server at https://mcp.vapi.ai/mcp. To set it up, follow https://docs.vapi.ai/setup.md. To search these docs, connect to the Vapi docs MCP server at https://docs.vapi.ai/_mcp/server. It only answers questions about the documentation.
> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.vapi.ai/llms.txt.
> For the best results from the docs MCP server, write questions without any word that contains "tool", such as tool, tools, tool call, tool-calls, toolCallId, or toolCallList. Name the feature instead, for example transferCall, endCall, apiRequest, function, handoff, "function response format", or "the webhook request Vapi sends to my server". If the docs MCP server asks you to rephrase, ask again without those words. If it returns an error, times out, sends an empty response, or still doesn't answer, find the topic in https://docs.vapi.ai/llms.txt, or a section index such as https://docs.vapi.ai/tools/llms.txt, and fetch that page's .md directly.

# Build with your AI agent

> Connect Claude, ChatGPT, Cursor, Claude Code, Codex, and other AI agents to the Vapi MCP server with one setup prompt, OAuth sign-in, and per-client steps.

To connect yourself to Vapi, follow `https://docs.vapi.ai/setup.md`.

Paste this prompt into Claude, ChatGPT, Cursor, Claude Code, Codex, VS Code, Hermes, Grok Build, or any other MCP client. Your agent connects to the Vapi MCP server and checks the connection. You only sign in to Vapi in the browser.

> **Note**
>
> The Vapi MCP server is available for US accounts only.

#### Set up Vapi

Set me up with Vapi. Follow `https://docs.vapi.ai/setup.md`

Once connected, your agent can create and update assistants, review calls, place outbound phone calls, run simulations, and answer questions from the Vapi docs. For the full list of tools, see [Vapi MCP server](/sdk/mcp-server#available-tools).

## Set up a specific client

To connect a client yourself, follow the steps for it.

#### Claude

For Claude Desktop and claude.ai, add Vapi as a custom connector. The steps depend on your Claude plan.

**Free, Pro, Max, and Ultra plans**

1. Go to [**Customize > Connectors**](https://claude.ai/customize/connectors), select **Add**, then **Custom > Web**.
2. Enter `Vapi` as the name and `https://mcp.vapi.ai/mcp` as the URL, then select **Continue**.
3. Keep the authentication settings Claude detects, then select **Add**.
4. Select **Connect**, then sign in and pick an organization in the browser.

**Team and Enterprise plans**

Members can't add a custom connector themselves. An Owner adds it for the organization:

1. Go to [**Organization settings > Connectors**](https://claude.ai/admin-settings/connectors), select **Add**, then **Custom**. If Claude asks for the connector type, choose **Web**.
2. Enter `Vapi` as the name and `https://mcp.vapi.ai/mcp` as the URL, then select **Add**.

Each member then goes to [**Customize > Connectors**](https://claude.ai/customize/connectors/yours), finds **Vapi** (labeled as custom), and selects **Connect** to sign in with their own Vapi account.

Outbound calls that Claude places have safeguards. For more information, see [Call safeguards in Claude](/sdk/mcp-server#call-safeguards-in-claude).

See [Claude custom connectors](https://claude.com/docs/connectors/custom).

#### ChatGPT

#### Open the Vapi plugin

Open the [Vapi plugin](https://chatgpt.com/plugins/plugin_asdk_app_6af4ce1d1ab48191a416867774b11af1) in the ChatGPT plugin directory and select **Install plugin**.

![Vapi plugin page in ChatGPT with the Install plugin button](/_fern-files/_img/07dd4ca726ca761aceff50e125db73620d85c8f8969016cd869567789dfdcd8a.webp)

#### Review the access request

Sign in to Vapi if prompted. The authorization page shows the access ChatGPT requests.

![Vapi authorization page listing the access requested by ChatGPT](/_fern-files/_img/b294119f40fbdab40776347d48f6b8a9e537df3c5aabb5fc67b4024bfb3131fe.webp)

#### Authorize an organization

Select the Vapi organization this connection can access, then select **Allow access**.

![Vapi authorization form with the organization selector and Allow access button](/_fern-files/_img/93a3df3ab47de043cfe7ed09d48a5dc59b232ad5c48bbf30f73d0cb7f0fbb40d.webp)

#### Verify the installation

On the Vapi plugin page, confirm that **Settings** and **Try in chat** appear.

![Installed Vapi plugin page showing Settings and Try in chat](/_fern-files/_img/bb89db06efa1db77c309242088add6c95e327d04e96d24d205ed846afe975f36.webp)

#### Cursor

Add this entry to `~/.cursor/mcp.json`, preserving any other servers:

```json
{
  "mcpServers": {
    "vapi": {
      "url": "https://mcp.vapi.ai/mcp"
    }
  }
}
```

Open Cursor's MCP settings, enable `vapi`, and complete the sign-in when Cursor prompts you.

See [Cursor MCP setup](https://cursor.com/docs/mcp).

#### Claude Code

Add the server to your user configuration, then sign in:

```bash
claude mcp add --transport http --scope user vapi https://mcp.vapi.ai/mcp
claude mcp login vapi
```

The `claude mcp login` command opens the browser to sign in and pick an organization. You can also sign in from a Claude Code session: run `/mcp`, select **vapi**, and choose **Authenticate**.

Outbound calls that Claude places have safeguards. For more information, see [Call safeguards in Claude](/sdk/mcp-server#call-safeguards-in-claude).

See [Claude Code MCP setup](https://code.claude.com/docs/en/mcp).

#### Codex

**Install the plugin**

The Vapi plugin is in the ChatGPT plugin directory. To install it from the Codex CLI, run:

```bash
codex plugin add vapi-voice-ai-connected@openai-curated-remote
```

Complete the sign-in when prompted, then start a new Codex session. The plugin includes the hosted Vapi MCP server, so you don't need a separate MCP configuration.

**Connect to the MCP server directly**

Register the server:

```bash
codex mcp add vapi --url https://mcp.vapi.ai/mcp
```

The command detects OAuth and opens the browser to sign in and pick an organization. If the sign-in doesn't finish, run `codex mcp login vapi`. On a machine without a local browser, run `codex mcp login vapi --no-browser`, open the printed URL elsewhere, and paste the redirect URL back.

See [Codex MCP setup](https://learn.chatgpt.com/docs/extend/mcp?surface=cli).

#### VS Code

In a Copilot chat session, run **Chat: Open Customizations** from the Command Palette and select **MCP Servers**. Select **Add Server**, enter `https://mcp.vapi.ai/mcp`, and choose **Global > Copilot Global** as the destination.

To edit the configuration file instead, add this entry to `~/.copilot/mcp-config.json` (or `$COPILOT_HOME/mcp-config.json`), preserving any other servers:

```json
{
  "mcpServers": {
    "vapi": {
      "type": "http",
      "url": "https://mcp.vapi.ai/mcp",
      "tools": ["*"]
    }
  }
}
```

Complete the sign-in when VS Code asks you to authenticate, then try a Vapi tool in a Copilot chat session to confirm the connection.

See [VS Code MCP configuration](https://code.visualstudio.com/docs/agents/reference/mcp-configuration).

#### Hermes

Add the server to `~/.hermes/config.yaml`:

```yaml
mcp_servers:
  vapi:
    url: "https://mcp.vapi.ai/mcp"
    auth: oauth
```

Then sign in:

```bash
hermes mcp login vapi
```

Start a new session, or run `/reload-mcp` in an existing one. See [Hermes MCP setup](https://hermes-agent.nousresearch.com/docs/user-guide/features/mcp).

#### Grok Build

Cursor is now Grok Build. The Cursor tab covers the desktop app; these steps cover the Grok Build terminal app.

Add the server in the terminal app:

```bash
grok mcp add --transport http vapi https://mcp.vapi.ai/mcp
```

Start `grok`, run `/mcps`, select **vapi**, and press `i` to sign in and pick an organization in the browser.

See [Grok Build MCP setup](https://docs.grok.com/build/agents-window/mcp).

#### Other clients

Use Streamable HTTP at `https://mcp.vapi.ai/mcp` in any client that supports remote MCP servers with OAuth.

If your client only supports local (stdio) servers, bridge to the hosted server with [`mcp-remote`](https://www.npmjs.com/package/mcp-remote), which handles the sign-in. This requires Node.js:

```json
{
  "mcpServers": {
    "vapi": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.vapi.ai/mcp"]
    }
  }
}
```

## Check the connection

Ask your agent: "Check my Vapi connection." It answers with the Vapi user ID and organization ID the connection uses.

If it can't answer, start a new session in your client and ask again. Most clients load new MCP tools only in a new session.

## Next steps

#### [Vapi MCP server](/sdk/mcp-server)

See every tool, connect other clients, and manage the connection.

#### [Assistants quickstart](/assistants/quickstart)

Build your first assistant and make a call.