# How do I connect Cast to Claude, Cursor or another AI agent?

Add the Cast MCP server — https://cast-mcp.mubert.com/mcp — to your assistant and approve it in the browser. No token to copy: one command for Claude Code, one JSON block for everything else. After that you can just ask it to produce your episode.

**Where:** Your assistant’s MCP settings; you approve it once on the Cast page it opens.

![In a terminal, "claude mcp add --transport http cast https://cast-mcp.mubert.com/mcp" adds the server and "claude mcp list" shows it needs authentication. The browser then opens the Cast page "Allow Claude Code to use your Cast account?" with the account, the address it returns to and an unticked "Let it spend credits" box; Allow is clicked and the page shows "Connecting Claude Code…".](https://mubert.com/tools/cast/docs-media/mcp-connect.mp4)

Cast speaks MCP (Model Context Protocol) — the standard way AI assistants call tools. Any MCP client works: Claude Code, Claude Desktop, Cursor, Windsurf, VS Code, n8n, or your own code.

Add https://cast-mcp.mubert.com/mcp as an HTTP MCP server. The first time the assistant uses it, a browser page opens: sign in to Cast and click Allow. Cast creates a token just for that assistant — with "Let it spend credits" off unless you tick it — and lists it in Settings → API & MCP, where you can revoke it any time.

## Claude Code

One command — your browser opens once to approve it:

claude mcp add --transport http cast https://cast-mcp.mubert.com/mcp

## Claude Desktop and claude.ai

Settings → Connectors → Add custom connector, paste https://cast-mcp.mubert.com/mcp and click Connect — the Cast page opens to approve it.

## Cursor, Windsurf, VS Code

Add an entry to the mcpServers block of your client config (Windsurf calls the field serverUrl):

{ "mcpServers": { "cast": { "type": "http", "url": "https://cast-mcp.mubert.com/mcp" } } }

Restart the client, approve the connection in the browser, and "cast" appears in its tool list.

## Teach the assistant how to use it

The tools carry the rules; the cast-mcp skill carries the strategy — the order of calls that keeps a session cheap, and asking you before anything is paid. Install it with the other Mubert skills: npx skills add MubertAI/skills

## n8n, CI, scripts, your own agent

A client that cannot open a browser uses a token instead. Settings → API & MCP → Create token, then send it as an Authorization: Bearer <token> header to the same endpoint:

claude mcp add --transport http cast https://cast-mcp.mubert.com/mcp --header "Authorization: Bearer <your token>"

The API itself is plain REST if you would rather call it directly — the MCP server is a thin layer over it.

## Related

- [What can an AI agent actually do with my podcast?](https://mubert.com/tools/cast/docs/agent-what-it-does)
- [Can an agent spend my credits?](https://mubert.com/tools/cast/docs/agent-spending)
- [What are the limits for agents and the API?](https://mubert.com/tools/cast/docs/agent-limits)

---
Source: https://mubert.com/tools/cast/docs/connect-an-agent · Cast docs
Last updated: 2026-09-26