> For the complete documentation index, see [llms.txt](https://docs.vapinetwork.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vapinetwork.ai/for-agents/hosted-mcp.md).

# Hosted MCP

For discovery without a local wallet, vAPI runs a hosted MCP at `https://mcp.vapinetwork.ai/mcp`. Its tools (`echo`, `search`) are free. It does not hold balances, sign payments, or execute paid calls; hand paid execution to the buyer-local wallet, the console flow, or any compatible x402 client.

```json
{
  "mcpServers": {
    "vapi": { "type": "http", "url": "https://mcp.vapinetwork.ai/mcp" }
  }
}
```

Authenticate with a `vapi_sk_*` API key as a Bearer header, or via OAuth (`vapi_at_*`). These credentials authenticate discovery only; they are not payment credentials. The endpoint serves MCP specification 2026-07-28 (the latest negotiated version; older clients negotiate down) in stateless mode.

**These docs are also an MCP server.** Agents can query the documentation directly at `https://docs.vapinetwork.ai/~gitbook/mcp` (read-only, separate from discovery).

## Paying without code

Discovery through the hosted MCP pairs with the console for payment: connect your own wallet at the vAPI console and sign each paid call explicitly there, where the endpoint supports a browser call. vAPI does not hold a buyer balance or sign on the buyer's behalf. When an endpoint cannot be called from the browser, the console hands the exact call to the buyer-local wallet.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.vapinetwork.ai/for-agents/hosted-mcp.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
