Throwcast Manual
Ctrl K
PDF
Chapter 12Working with an AI agent

12.2 Setting it up

You need three things, once:

  • Node.js 22 or newer, on the same computer as your browser. The agent server starts through npx, which comes with Node.js.
  • An agent that runs on your computer: Claude Code, Claude Desktop, Cursor, VS Code or Codex. A chat that runs only in a web page cannot start a program on your computer, so it cannot connect.
  • Chrome, Edge or Firefox for the studio. Safari does not let a web page reach your own computer.

The setup for each agent is in Settings…, in the account menu at the top right, under Agents. Pick your agent, press Copy, and paste it where the line above it says.

Settings, Agents section, with its parts numbered
Figure 12.2 Settings… ▸ Agents, connected.
  1. Connect to a local agent — the switch. It stays off until you, or a pairing link you accept, turn it on.
  2. Status — Off, Connecting…, Waiting for the agent, Connected or Not connected. Once connected, the server’s version and port appear underneath.
  3. Pairing — what ties this tab to your agent’s server. Normally filled in for you (§12.3).
  4. Your agent — pick the one you use.
  5. Its setup — what to paste, with Copy beneath it. Then ask the agent to connect to Throwcast.
Table 12.1 Where the setup goes, agent by agent.
AgentWhat to do
Claude CodeRun this once in a terminal: claude mcp add throwcast -- npx -y @throwcast/mcp@latest
Claude DesktopSettings ▸ Developer ▸ Edit Config opens claude_desktop_config.json. Add the first block below, then restart Claude Desktop.
CursorAdd the first block below to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
VS CodeAdd the second block to .vscode/mcp.json in your workspace, or run MCP: Add Server.
CodexAdd the third block to ~/.codex/config.toml.

Claude Desktop and Cursor:

{
  "mcpServers": {
    "throwcast": {
      "command": "npx",
      "args": ["-y", "@throwcast/mcp@latest"]
    }
  }
}

VS Code:

{
  "servers": {
    "throwcast": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@throwcast/mcp@latest"]
    }
  }
}

Codex:

[mcp_servers.throwcast]
command = "npx"
args = ["-y", "@throwcast/mcp@latest"]
Copy it from Settings when you can

The panel writes the setup for the studio you opened it in, so it is always the right one. If your file already has an mcpServers (or servers) block, add the throwcast entry inside it rather than adding a second block.