> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bland.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect any MCP client to Bland

> Connect any MCP client or your own agent loop to the Bland MCP server over streamable HTTP, a stdio bridge, or raw JSON-RPC.

The Bland MCP server is a hosted, streamable-HTTP server. Every client needs the same two values:

* **URL:** `https://api.bland.ai/v1/mcp`
* **Header:** `Authorization: Bearer YOUR_BLAND_API_KEY`

Get your key from the [dashboard](https://app.bland.ai/dashboard/settings). Setting up a different tool? See all [MCP clients](/integrations/mcp/clients).

## Setup

For the command-line examples, set your API key in the same shell. Replace `org_...` with your key:

```bash theme={null}
export BLAND_API_KEY="org_..."
```

The stdio bridge requires Node.js 22+ with npm.

For clients not listed here (or your own agent loop), either:

**Native HTTP**: configure a streamable-HTTP MCP server with the URL and header above.

**Stdio bridge**: if the client only supports stdio servers, `mcp-remote` bridges any of them to the Bland endpoint:

```bash theme={null}
npx -y mcp-remote https://api.bland.ai/v1/mcp \
  --header "Authorization: Bearer $BLAND_API_KEY"
```

**Raw JSON-RPC**: the endpoint is plain HTTP POST, so you can drive it directly:

```bash theme={null}
curl -X POST https://api.bland.ai/v1/mcp \
  -H "Authorization: Bearer $BLAND_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'
```

## Next steps

<CardGroup cols={2}>
  <Card title="Tool reference" icon="wrench" href="/integrations/mcp/tools">
    Everything the MCP server can do.
  </Card>

  <Card title="Bland MCP Server" icon="circle-info" href="/integrations/mcp/overview">
    Auth, rate limits, and how the server works.
  </Card>
</CardGroup>

Docs for agents: [llms.txt](/llms.txt)
