Skip to content

Connect an agent

Add vAPI's hosted echo and search tools to any compatible MCP client. Use the buyer-local vapi-network package for paid x402 calls.

Remote MCP URL

https://api-staging.vapinetwork.ai/mcp

Paste this URL into a compatible MCP client for hosted echo and service search. Paid x402 calls run through the buyer-local vapi-network package, not this remote connection.

Claude.ai web, Claude Desktop

Add as a Custom Connector

OAuth with browser approval

Claude opens vAPI in your browser so you can sign in and approve the connection.

  1. 1.
    In Claude, open Settings → Connectors → Add custom connector.
  2. 2.
    Paste the MCP URL above and click Connect.
  3. 3.
    You'll be redirected to vAPI to sign in with your wallet and approve. After approval, the connector becomes available in any chat.
Custom connectors require a Pro, Max, Team, or Enterprise Claude plan. Free users can add one custom connector per account.
Claude Code (CLI)

Install with one command

Bearer API key

Claude Code registers the remote MCP from your terminal and authenticates with an API key.

claude mcp add vapi --transport http https://api-staging.vapinetwork.ai/mcp --header "Authorization: Bearer YOUR_KEY"
Sign in before creating an API key. The install command uses the one-time secret in place of YOUR_KEY.
vapi-network (paid x402 calls)

Use Call with vapi-network

Local wallet, no vAPI account

vapi-network is the public buyer-local CLI and MCP server for paid x402 calls.

  1. 1.

    Install vapi-network

    Install the public package globally, or run its init command directly with npx. The init command creates a buyer-controlled local wallet.

    npm i -g vapi-network npx vapi-network init
  2. 2.

    Fund its wallet with USDC on Base

    Use the wallet.* tools to inspect the local wallet and its funding details, then send it the amount of USDC you want available for calls. The wallet keys stay on your machine.

  3. 3.

    Add the server to your agent

    Add the public package's local MCP server. This is separate from the remote MCP URL above, which serves the free hosted echo and search tools.

    { "mcpServers": { "vapi-network": { "command": "npx", "args": ["-y", "vapi-network", "mcp"] } } }
  4. 4.

    Paste a prompt from an API page

    Open any API in the marketplace, copy its Prompt for AI, and paste it into your agent. call.search finds APIs, call.inspect reads the request contract, and call.pay pays a live 402 quote. Wallet and receipt operations are grouped under wallet.* and receipts.*.

    call.search {"query":"<capability>"} call.inspect {"id":"<search-result-ref>"} call.pay {"id":"<search-result-ref>","maxPriceUsd":"0.02"} wallet.* receipts.*

Your linked agents live under My agents.

AdvancedAPI keys for CLI and direct Bearer-token integrations

API keys

Use a vapi_sk_* key for Claude Code or another direct Bearer-token integration. OAuth remains the recommended option for browser-based connectors. Funding for paid calls stays in your buyer-controlled vapi-network wallet.

0 of 5 API keys. Each secret is shown once. Store it securely.

Sign in to view and generate keys.

Create an API key

Label this key so you can recognize it later. The secret value is shown exactly once after you create it.

Visible only to you. Helps you keep track when you have multiple keys.

Product menu

Product navigation and account controls

Create a free account to continue

Use a wallet to create or access your vAPI account.