Skip to content

Connect your agent

Choose remote MCP, local file access, or the CLI.

MCP is the connection that lets your agent call Podstead tools. Pick the connection your agent supports.

Connection Use it for
Remote MCP with OAuth Managing an installed podcast from a compatible chat or coding agent
Local stdio MCP Letting a terminal or editor agent upload files from your computer
CLI Running commands directly, or from an agent with terminal access

Remote MCP

Add this server URL in your client’s MCP connection settings:

https://YOUR_MANAGEMENT_HOST/mcp

Complete the sign-in and consent flow. Choose which shows the agent can access. Publishing and scheduling are separate permissions and start unchecked.

Client setup screens vary. Your client needs remote MCP with OAuth; inline task views also need MCP Apps support. If inline views are unavailable, use the returned browser link.

A remote agent cannot read arbitrary files from your laptop. Use the browser upload view or the local adapter for those files.

Local MCP with file uploads

Build the source checkout first. Add a server configuration like this using your client’s own settings:

{
  "mcpServers": {
    "podstead": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/podstead/packages/cli/dist/main.js", "mcp", "--stdio"],
      "env": {
        "R2CAST_URL": "https://YOUR_MANAGEMENT_HOST",
        "R2CAST_MCP_TOKEN_FILE": "/ABSOLUTE/PRIVATE/agent.local.json",
        "R2CAST_UPLOAD_ROOT": "/ABSOLUTE/PATH/finished-media"
      }
    }
  }
}

Replace every placeholder. The owner supplies a scoped agent credential. The credential file contains a token field. Keep it private.

upload_file can only read inside R2CAST_UPLOAD_ROOT. It streams files outside chat messages and resumes an interrupted upload when retried with the same key and unchanged file.

CLI connection

From a built checkout:

node packages/cli/dist/main.js connect https://YOUR_MANAGEMENT_HOST --token-file /ABSOLUTE/PRIVATE/agent.local.json

Local development can connect to http://localhost:8787 without a token. For a production owner connection, sign in with cloudflared access login, store the resulting JWT in a private file, and use --access-jwt-file instead of an agent credential. Never give that owner session to an agent as its long-term credential.

Profiles default to ~/.config/r2cast/connection.json. Use --profile to keep separate installations apart.

Check the connection

Ask your agent:

List my podcasts and tell me what you are allowed to do. Do not change anything yet.

The agent should read capabilities for the selected show before making changes. Agent workflow

Type to search…

↑↓ navigate↵ selectEsc close