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

# Kupe MCP

> Drive agents, campaigns, phones, and voices from Cursor, Claude Code, or Codex.

One API key. One remote URL. Your coding agent can create agents, launch campaigns, buy numbers, read transcripts, and check wallet balance — without leaving the IDE.

![](https://mintcdn.com/kupe/D6wyc45CreZUojif/images/brands/cursor.svg?fit=max\&auto=format\&n=D6wyc45CreZUojif\&q=85\&s=dee35714fa4c04ec4cd459aa324e4c6f)

**Cursor**
Paste the remote JSON into Settings → MCP. Tools appear under `kupe`.

![](https://mintcdn.com/kupe/XdUYizjTMDBp3btV/images/brands/claude.svg?fit=max\&auto=format\&n=XdUYizjTMDBp3btV\&q=85\&s=5f131cc0826722d6ac27421bc7333358)

**Claude Code**
One `claude mcp add` command with your Bearer key.

![](https://mintcdn.com/kupe/D6wyc45CreZUojif/images/brands/codex.svg?fit=max\&auto=format\&n=D6wyc45CreZUojif\&q=85\&s=58361ae7489eb83419f078b3effdd01e)

**Codex**
Drop the same URL + header into `~/.codex/config.toml`.

## Endpoint

| | |
| - | - |
| **URL** | `http://mcp.kupe.in/mcp` |
| **Auth** | `Authorization: Bearer sk-kupe-...` |
| **Transport** | Streamable HTTP (`Accept: text/event-stream`) |

Opening that URL in a browser returns **Not Acceptable** — that is expected. It is an MCP wire protocol, not a website. Use Cursor, Claude Code, Codex, or another MCP client.

Every tool call forwards your Bearer token to `https://x.kupe.in`. Nothing is stored on the MCP host. Missing header → **401**.

> [!NOTE]
>
> Use **`http://mcp.kupe.in/mcp`** for the Kupe platform. The path `https://docs.kupe.in/mcp` is a separate docs-search endpoint (JSON in the browser) — not this install guide.

## Install in 30 seconds

Copy from **Deploy with code → Install Kupe MCP** in the [console](https://hub.kupe.in) to inject your live key, or paste the templates below.

> [tab] Cursor
>
> Add to `~/.cursor/mcp.json` or project `.cursor/mcp.json`:
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "mcpServers": {
>     "kupe": {
>       "url": "http://mcp.kupe.in/mcp",
>       "headers": {
>         "Authorization": "Bearer sk-kupe-YOUR_KEY"
>       }
>     }
>   }
> }
> ```
>
> Then open **Cursor Settings → MCP**, confirm `kupe` is connected, and restart if needed.

> [tab] Claude Code
>
> ```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
> claude mcp add --transport http kupe http://mcp.kupe.in/mcp \
>   --header "Authorization: Bearer sk-kupe-YOUR_KEY"
> ```
>
> Confirm with `claude mcp list`.

> [tab] Codex
>
> ```toml theme={"theme":{"light":"github-light","dark":"github-dark"}}
> [mcp_servers.kupe]
> url = "http://mcp.kupe.in/mcp"
> [mcp_servers.kupe.http_headers]
> Authorization = "Bearer sk-kupe-YOUR_KEY"
> ```

> [tab] Stdio (local)
>
> When you cannot reach the hosted URL:
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "mcpServers": {
>     "kupe": {
>       "command": "uvx",
>       "args": ["kupe-mcp"],
>       "env": {
>         "KUPE_API_KEY": "sk-kupe-YOUR_KEY"
>       }
>     }
>   }
> }
> ```
>
> Or from a clone: `python -m app.server --mcp` with `KUPE_API_KEY` set.

## What the agent can do

> [card] Agents
>
> Create, update, commit, archive, attach tools and analyses, run text tests.

> [card] Campaigns
>
> Recipient lists, batches, CSV sandbox import, start / pause / resume / cancel.

> [card] Calls
>
> Single outbound dial, inbound deployments, transcripts, recordings, analysis.

> [card] Phones
>
> Search numbers; **buy** and **delete** require `confirm=true` (billed / irreversible).

> [card] Voices
>
> List catalog + clones; clone and delete are JWT-oriented — prefer the console.

> [card] Billing & logs
>
> Wallet, invoices, usage cost-summary / daily, sessions, tool-call events.

Also: knowledge bases, call databases, org tools, Composio connections, and **docs tools** (`list_docs_toc`, `search_docs`, `get_docs_page`) so Kai can read features, KYC, prompting, databases, and the SDKs.

## Safety

> [accordion] Never commit the API key
>
> Treat `sk-kupe-...` like a password. Clipboard copy in the console warns you.
> Prefer project-scoped keys you can revoke.

> [accordion] Confirm-gated tools
>
> Phone **buy**, phone **delete**, and cloned-voice **delete** require
> `confirm=true`. The model must not invent that flag — your agent should
> ask you first.

## Next

> [card] [Quickstart](https://docs.kupe.in/quickstart.md)
>
> Same key works with `pip install kupe` and `kupe-sdk`.

> [card] [API playground](https://docs.kupe.in/playground.md)
>
> Try REST endpoints interactively against `https://x.kupe.in`.

> [card] [Open console](https://hub.kupe.in)
>
> Generate a key and copy MCP install from Deploy with code.

> [card] [kupe-mcp on GitHub](https://github.com/kupe-ai/kupe-mcp)
>
> Source, tool list, and self-host instructions.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.