> For the complete documentation index, see [llms.txt](https://docs.podigee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/reference.md). Agents can also search and read this documentation through its [MCP server](https://docs.podigee.com/~gitbook/mcp).

# MCP API overview

The MCP endpoint, protocol versions, server instructions, request format, and a map of the reference.

This reference is for developers who build, test, or check an MCP client. MCP (Model Context Protocol) is the open protocol that AI assistants use to call tools on a server. The Podigee MCP server lets an authorized assistant read and manage the shows of one Podigee account.

To connect an assistant without code, read [Connect your assistant](https://docs.podigee.com/documentation/start-here/ai-agents/connect-and-authorize/connect-your-assistant.md).

## Public identity

| Item                          | Value                                                              |
| ----------------------------- | ------------------------------------------------------------------ |
| MCP endpoint                  | `https://mcp.podigee.com/mcp`                                      |
| Authorization server          | `https://app.podigee.com`                                          |
| Protected-resource metadata   | `https://mcp.podigee.com/.well-known/oauth-protected-resource/mcp` |
| Authorization-server metadata | `https://app.podigee.com/.well-known/oauth-authorization-server`   |
| Server name and version       | `podigee-mcp`, `1.0.0`                                             |

Every Podigee 2026 plan, Launch included, can use the server. The rules for sign-in, accounts, and scopes are in [Authorization and scopes](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/authorization-and-scopes.md).

## Transport

* Send each request as an HTTP `POST` to the endpoint. A `GET` request gets HTTP 405.
* Send the header `Content-Type: application/json`. Another content type gets HTTP 415.
* Send an `Accept` header that includes `application/json` and `text/event-stream`. Without both, the server answers HTTP 406.
* Send one JSON-RPC 2.0 object in each request. The server refuses a batch (a JSON array) with HTTP 400.
* Keep the request body at 1 MiB (mebibyte) or less. A larger body gets HTTP 413.
* The server always answers with one JSON body. It does not send an event stream, and it does not keep sessions.
* A request with a browser `Origin` header that the server does not allow gets HTTP 403.

Media files never go through the endpoint. They go directly to storage, as [Media upload protocol](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/media-upload-protocol.md) describes.

## Protocol versions

| Version      | Kind               | How a client uses it                                                                          |
| ------------ | ------------------ | --------------------------------------------------------------------------------------------- |
| `2026-07-28` | Modern (preferred) | Stateless. No `initialize`, no `ping`, no session.                                            |
| `2025-11-25` | Legacy             | `initialize`, then `notifications/initialized`. `ping` is available.                          |
| `2025-06-18` | Legacy             | As `2025-11-25`.                                                                              |
| `2025-03-26` | Legacy             | As `2025-11-25`. The server leaves out `structuredContent`, tool `title`, and `outputSchema`. |

A modern request sends:

* The header `MCP-Protocol-Version: 2026-07-28`.
* The header `Mcp-Method` with the JSON-RPC method.
* The header `Mcp-Name` for `tools/call`, `resources/read`, and `prompts/get` (the tool name, the resource URI, or the prompt name).
* `params._meta` with `io.modelcontextprotocol/protocolVersion` and `io.modelcontextprotocol/clientCapabilities`.

A modern result has `resultType: "complete"` and the server identity in `_meta["io.modelcontextprotocol/serverInfo"]`. The server refuses a modern notification with HTTP 400 and no body. A missing header, a header that does not match the body, missing metadata, or an unsupported version gets HTTP 400 with a JSON-RPC error.

For a legacy client:

* `initialize` answers with the version that the client asks for when the server speaks it. Otherwise it answers with `2025-11-25`.
* After `initialize`, the client sends the negotiated version in `MCP-Protocol-Version`.
* A legacy request without that header is read as `2025-03-26`. For that version, read the data from the text content of a tool result.

`server/discover` lists `2026-07-28` and `2025-11-25` only. Do not downgrade after an authentication, authorization, rate-limit, network, server, or malformed-response error. Downgrade only when discovery shows that the server speaks only a legacy version.

## Discovery and catalogs

| Method                                                         | Modern | Legacy | Result                                                                                |
| -------------------------------------------------------------- | ------ | ------ | ------------------------------------------------------------------------------------- |
| `server/discover`                                              | Yes    | No     | Supported versions, capabilities, and server instructions                             |
| `initialize`                                                   | No     | Yes    | Version, capabilities, server identity, and server instructions                       |
| `tools/list`, `resources/list`, `prompts/list`                 | Yes    | Yes    | The catalogs                                                                          |
| `tools/call`, `resources/read`, `prompts/get`                  | Yes    | Yes    | One call, read, or prompt                                                             |
| `resources/templates/list`                                     | No     | Yes    | The templates `podigee://podcasts/{podcast_id}` and `podigee://episodes/{episode_id}` |
| `ping`, `notifications/initialized`, `notifications/cancelled` | No     | Yes    | Empty results                                                                         |

* The capabilities are tools, resources, and prompts. `listChanged` is `false`, and resources do not support `subscribe`.
* Modern catalog results carry `cacheScope: "private"` and `ttlMs: 0`. Do not share them between accounts. Read them again before you rely on them.
* `tools/list` shows the same tools to every credential of an account. The write tools are missing only when writes are off for the account or the server. A credential without a write scope still sees the write tools, and a call returns `insufficient_scope`.
* `resources/list` and `prompts/list` do not change with the credential.
* An unknown method returns the JSON-RPC error `-32601`: with HTTP 404 in the modern version and with HTTP 200 in a legacy version.

The resources and prompts are described in [Resources and prompts](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/resources-and-prompts.md).

## Server instructions

`initialize` and `server/discover` return `instructions`. The client gives this text to the assistant before the first tool call. It tells the assistant how to work with Podigee, and it explains why an assistant acts as it does.

The text is the same for every account, except two paragraphs.

### How a file gets to Podigee

The server selects this paragraph from what the client says about itself. It reads the identity that the client registered and the name that it sends at the handshake. This choice changes only the words. It does not block a tool.

| Client type                    | Examples                                                                               | What the instructions tell the assistant                                                                                                                                                                                                                                                                        |
| ------------------------------ | -------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Chat app                       | Claude, ChatGPT                                                                        | It cannot read files or run commands, so it cannot send a file. It gives the New episode page of the show (from `find_in_podigee`) and does not offer `create_upload`, `curl`, or a script. When the person asks how to upload from a script of their own, it names the Podigee REST API and the API keys page. |
| Terminal or desktop coding app | Claude Code, Codex, Cursor, Gemini CLI, Goose, VS Code, Windsurf, Zed, Cline, OpenCode | It sends the file itself: `create_upload` gives the address and the `curl` command, and `publish_episode` takes the `upload_id`. A cover image goes the same way. It asks for the path of the file. Nothing must be installed.                                                                                  |
| Other clients                  | Any other name                                                                         | Both ways. The assistant selects the way by what it can do.                                                                                                                                                                                                                                                     |

### Which interface the person uses

The server knows from the account which interface the person uses.

| Interface         | What the instructions tell the assistant                                                                                                                                                                                                                 |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Podigee workspace | Give only page names, click paths, and links of the Podigee workspace, from `find_in_podigee`. Give classic view steps only when the person asks for them.                                                                                               |
| Classic view      | The tools work the same for both interfaces. The links of `find_in_podigee` open pages of the Podigee workspace, which the person reaches with **Switch to new view** in the account menu. Read classic view click paths from `podigee://docs/surfaces`. |

### Rules for every client

The instructions tell the assistant to:

* Call `doctor` first. It reports the account, the subscription, the write access of the credential, the plan allowances, and whether a podcast is ready to publish.
* Never fetch media from a web address. `publish_episode` does not take a media URL. New media always comes from an upload. This is a deliberate limit, not a temporary gap.
* Preview each consequential change with `dry_run: true`, tell the person what will change, and stop. Send the confirmation only after the person says yes in a later message. The original request never counts as that yes. The full rule is in [Preview and confirm changes](https://docs.podigee.com/documentation/start-here/ai-agents/work-safely/preview-and-confirm-changes.md).
* Poll `get_operation` after a publish or an import, and report what the operation says. While a publish waits for its recording, say what it waits for. After a failure, follow `recovery`. The full rule is in [Follow and recover long-running operations](https://docs.podigee.com/documentation/start-here/ai-agents/work-safely/follow-and-recover-long-running-operations.md).
* Ask which show or episode the person means when more than one can match.
* After a new show, say that the next step is the first recording. The feed shows only published episodes.
* Use the time zone of the person, which `doctor` returns as `time_zone` with `local_time`. When `doctor` returns no time zone, ask before a schedule.
* Read the episode before a change of `chapter_marks` or `transcription`, because a change replaces the whole set.
* Remember that `delete_episode` is permanent and also removes the episode from connected platforms. To take an episode offline and keep it, use `publish_episode` with the mode `draft`.
* Before a subdomain change, tell the person that the website and every feed address move. Apple Podcasts and the other directories then need the new feed address.
* Copy an episode with `duplicate_episode`. The copy is a draft with the texts and chapter marks, and without the recording.
* Never write episode content from a title alone. Use `search_podcast_content`, `get_episode_transcript`, and `list_content_assets`.
* Use `list_recent_work` for the latest work across all shows, and `list_recordings` for Studio recordings. A recording is not an episode until someone makes it one.
* Report each analytics source in its own unit and never add sources together. The rules are in [Analytics semantics](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/analytics-semantics.md).
* Call `find_in_podigee` when it is not clear which tool does a job. Also call it when the person asks for a job that no tool does. Examples are billing, invoices, team access, comments, clips, and player and website settings. Call `search_help` when the person asks how something works.
* Never say that it saved a written draft, approved a listener comment, or made a clip. Never say that it edited a Studio recording, managed team members or billing, or set up an approval step. No tool does these jobs. Listeners of a private show are not team members.

## Tool calls

Call a tool with `tools/call`, the tool name, and an `arguments` object that matches the tool's `inputSchema`. A modern request also sends the headers and `_meta` from the section "Protocol versions".

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": { "name": "get_me", "arguments": {} }
}
```

Each tool in `tools/list` has `name`, `title`, `description`, `inputSchema`, `outputSchema`, `annotations`, and `securitySchemes`:

* `annotations` give `readOnlyHint`, `destructiveHint`, `idempotentHint`, and `openWorldHint`.
* `securitySchemes` (also in `_meta.securitySchemes`) give the OAuth scopes that the tool needs.

Annotations and security schemes describe a tool. They do not give access.

The result of a call:

* **Success:** `structuredContent` matches the `outputSchema`. The first `content` item carries the same data as JSON text. `isError` is `false`.
* **Preview:** the result also carries `confirm` and `next_step`. `next_step` tells the assistant to stop and wait for the yes of the person. See [Preview and confirm changes](https://docs.podigee.com/documentation/start-here/ai-agents/work-safely/preview-and-confirm-changes.md).
* **Error:** `isError` is `true`, and `structuredContent` is `{code, message, details}`. Arguments that do not match the schema give the code `invalid_params`, with a message that names the wrong arguments and the accepted values. The codes are in [Limits, errors, and recovery](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/limits-errors-and-recovery.md).
* An unknown tool name gives the JSON-RPC error `-32602`.

### Identifiers

* Podcast, episode, production, listener, content asset, report, and import IDs are integers.
* Operation IDs and upload IDs are UUID strings.
* Studio recording IDs are strings. The `cursor` of `list_recent_work` is an opaque string.
* The account of a connection is `account:<id>` or `organization:<id>`.
* Storage keys, multipart IDs, and credentials are never public identifiers.

## Pagination, filters, and sorting

* Most list tools take `limit` and `offset`. The default limit is 25 and the maximum is 100, unless the tool schema sets a smaller range. The server sets a limit below 1 to 25, a limit above 100 to 100, and a negative offset to 0. `list_listeners` and `list_source_episode_analytics` refuse a value outside their range with `invalid_params`.
* The answer has `total`, `limit`, `offset`, and `next_offset` when there is another page. Use `next_offset`. Do not calculate it from the number of items.
* `list_recent_work` takes `cursor` and `limit`. Send `next_cursor` as `cursor` and keep the other arguments.
* `find_in_podigee` returns 3 to 5 matches, 3 by default.
* `list_source_episode_analytics` returns 1 to 50 episodes, 20 by default.
* `list_podcasts`, `list_episodes`, `list_recordings`, and `list_content_assets` take `created_from`, `created_to`, `updated_from`, and `updated_to`, and the sorts `recently_created` and `recently_updated`. `list_episodes` without `podcast_id` lists the episodes of every show.
* Send each date-time in ISO 8601 with a time zone offset. The start of a range must be on or before the end.

The analytics ranges are in [Analytics semantics](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/analytics-semantics.md).

## Compatibility and changes

* Podigee has no client program of its own and requires no client version. Every client that follows this reference can connect. The steps for each client are in [Connect your assistant](https://docs.podigee.com/documentation/start-here/ai-agents/connect-and-authorize/connect-your-assistant.md).
* New optional fields can appear in a compatible answer. Ignore unknown fields where the schema allows them, and read the catalogs again as `ttlMs` says.
* A breaking change to an input, an output, a scope, a state, or a meaning has a new contract version. It also has updated documentation and migration steps. Podigee does not remove the old contract before the announced period ends.

## Tool pages

Every MCP client gets the full JSON input and output schemas of each tool from `tools/list`. The tool pages explain each tool, its scopes, its parameters, and the errors that it adds.

| Page                                                                                                                           | Tools                                                                                                                                                                                                     |
| ------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Account and help tools](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-tools/account-and-help.md)            | `get_me`, `doctor`, `find_in_podigee`, `search_help`, `list_recent_work`                                                                                                                                  |
| [Podcast tools](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-tools/podcasts.md)                             | `list_podcasts`, `get_podcast`, `create_podcast`, `update_podcast`, `manage_workspace`                                                                                                                    |
| [Episode tools](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-tools/episodes.md)                             | `list_episodes`, `get_episode`, `create_episode`, `duplicate_episode`, `update_episode`, `bulk_update_episodes`, `delete_episode`                                                                         |
| [Media and publishing tools](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-tools/media-and-publishing.md)    | `create_upload`, `get_upload`, `create_production`, `start_production`, `stop_production`, `get_production`, `publish_episode`                                                                            |
| [Import and operation tools](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-tools/import-and-operations.md)   | `import_podcast`, `get_operation`, `resume_operation`, `cancel_operation`                                                                                                                                 |
| [Content and recording tools](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-tools/content-and-recordings.md) | `search_podcast_content`, `list_content_assets`, `get_content_asset`, `get_episode_transcript`, `list_recordings`, `get_recording`, `get_recording_transcript`                                            |
| [Analytics tools](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-tools/analytics.md)                          | `analytics_summary`, `get_podcast_analytics`, `get_episode_analytics`, `list_analytics_reports`, `list_analytics_sources`, `get_source_analytics`, `list_source_episode_analytics`, `get_source_overview` |
| [Distribution tools](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-tools/distribution.md)                    | `get_distribution_status`, `distribution_status_and_guidance`, `get_episode_distribution`, `explain_distribution_handoff`, `submit_to_platform`                                                           |
| [Private feed tools](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-tools/private-feeds.md)                   | `list_listeners`, `create_listener`, `update_listener_status`, `send_listener_password_reset`, `manage_feed_access`                                                                                       |

## Other reference pages

* [Authorization and scopes](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/authorization-and-scopes.md): sign-in, accounts, and the scopes of every tool and resource.
* [Limits, errors, and recovery](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/limits-errors-and-recovery.md): rate limits, size limits, and error codes.
* [Media upload protocol](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/media-upload-protocol.md): how a file goes from a computer to Podigee.
* [Analytics semantics](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/analytics-semantics.md): sources, units, delays, and ranges.
* [Objects and states](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/objects-and-states.md): the main objects and their state values.
* [Resources and prompts](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/resources-and-prompts.md): the readable resources and the prompts.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/reference.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
