# Hosted MCP, plugins, and Skills

Source: https://provod.ai/en/docs/hosted-mcp

The **provod.ai Hosted MCP server** (`https://api.provod.ai/mcp`) lets any MCP-compatible AI agent discover live models, generate images, video, and music, upload source media references, and check workspace balance without leaving the terminal or IDE. For text-model setup, see [coding tool integrations](/en/integrations/coding-tools) and the [API overview](/en/products/api).

*Hosted MCP architecture: OAuth 2.1 PKCE (CIMD/DCR), 21 generation tools, and three artifact download options.*
&#x2A;Streamable HTTP (`https://api.provod.ai/mcp`) connection using OAuth 2.1 PKCE and per-authorization workspace selection.*

## Connect to the MCP server




Claude Code



Codex CLI



Cursor / Cline



Provod CLI (stdio)




```bash
# Add the remote Streamable HTTP MCP server
claude mcp add --transport http provod https://api.provod.ai/mcp

# Complete OAuth authorization in your browser from Claude Code:
# /mcp -> provod -> Authenticate
```



```bash
# Add the provod server in Codex CLI
codex mcp add provod --url https://api.provod.ai/mcp

# Start browser OAuth sign-in
codex mcp login provod
```



```json
{
  "mcpServers": {
    "provod": {
      "type": "streamable-http",
      "url": "https://api.provod.ai/mcp"
    }
  }
}
```



```bash
# Configure Hosted MCP automatically for supported agents
provod setup --mcp-only

# Local stdio bridge for clients without Streamable HTTP support
provod mcp
```



## OAuth 2.1 authorization and security

* **Metadata discovery**: the server publishes `/.well-known/oauth-protected-resource/mcp` and linked OAuth authorization server metadata.
* **Client registration**: prefers **CIMD** (Client ID Metadata Documents), falling back to **DCR** (Dynamic Client Registration). No static `client_secret` is required or embedded in plugins.
* **PKCE `S256` and workspace selection**: the user picks a personal or team workspace on the consent screen. The access token is scoped to the MCP resource and `mcp:tools` (plus `offline_access` for refresh).
* **Refresh-token rotation**: each refresh revokes the previous refresh token with no reuse window; if a client loses the rotated token, sign in again.

## Hosted MCP tool registry (21 tools)

| Group                  | Tools                                                                                              | Purpose                                                                                                                                 |
| ---------------------- | -------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| Model catalog          | `models_explore`                                                                                   | Search live image, video, and music models (`kind: "image" \| "video" \| "music" \| "audio"`, filters `q`, `publisher`)                 |
| Images                 | `generate_image`, `generate_image_batch`                                                           | Single and batch (up to 12 prompts with one model) image generation                                                                     |
| Video                  | `generate_video`                                                                                   | Create single and batch (up to 2 prompts) async video jobs (text-to-video and image-to-video)                                           |
| Music                  | `generate_music`                                                                                   | Start music generation (Suno v6, MiniMax Music, ElevenLabs Music, Lyria) by `prompt`, `lyrics`, or `composition` with `idempotency_key` |
| Source media           | `media_upload`, `media_confirm`, `media_import_url`                                                | Direct local file upload and URL import into private storage with sandbox validation before model delivery                              |
| Status and history     | `job_status`, `jobs_wait`, `job_display`, `show_generations`, `show_generation_by_ids`             | Poll active jobs with `poll_after_seconds`, bounded waiting, and generation history (`type: "image" \| "video" \| "music"`)             |
| Balance and workspaces | `balance`, `transactions`, `list_workspaces`, `show_plans_and_credits`, `confirm_billing_purchase` | Inspect RUB balance, transactions, and workspaces (purchases require explicit confirmation)                                             |

## Download generated artifacts

Completed images, videos, and MP3 tracks are accessible through three channels:

1. **Signed `outputs[].downloadUrl`**: a private S3 GET URL that works with any HTTP client **without an `Authorization` header** for &#x2A;*15 minutes (900 seconds)**. After expiration, call `job_status`, `job_display`, or `show_generation_by_ids` to obtain a fresh link.
2. **Persistent MCP resource `outputs[].resourceUri`**: URIs shaped `provod://generation/{image|video|music}/{id}/{index}` read via `resources/read` with current authorization and `images:read` permission (up to 25 MiB).
3. **Streaming HTTP `/mcp/artifacts/*` endpoint**: `GET /mcp/artifacts/image/{id}`, `GET /mcp/artifacts/video/{id}/{index}` (plus `/thumbnail`), and `GET /mcp/artifacts/music/{id}/{index}` stream bytes with `Cache-Control: private, no-store` given a Bearer token with `images:read`.

**Treat downloadUrl as a secret**


Do not write signed `downloadUrl` strings into public logs, job histories, or third-party services. Persist `jobId` or `resourceUri` as the durable identifier.


## Default Hosted MCP rate limits

Requests are governed by shared per-key and per-workspace Redis per-minute limits:

* **120** general calls and reads (`models_explore`, `job_status`, `balance`, history);
* **10** image generation submissions (at most **4** concurrent active image jobs per workspace);
* **4** video job submissions (up to **2** prompts per batch; no cap on total concurrent active video jobs);
* **4** music job submissions;
* **10** URL media imports.

If the media validation service is temporarily unavailable, uploads return HTTP `503` with `MEDIA_VALIDATION_UNAVAILABLE`; corrupt or policy-violating files return HTTP `400`.

## Official plugin and canonical Skills

* **`provod-ai/plugin` package**: ready-to-install plugin for Claude Code and Codex marketplaces containing `plugin.json`, `mcp.json`, and `oauth.json` (`ON_INSTALL` mode, CIMD/DCR, no static secrets).
* **Canonical `provod-ai/skills`**: versioned instructions verified with `index.json` SHA-256 digests for compatible agents:
* `provod-provider`: live model discovery via CLI or `models_explore` without hardcoded lists.
* `provod-mcp`: routing calls through Hosted MCP and balance checks.
* `provod-media`: uploading references, polling jobs, and downloading outputs cleanly.
* **Organization MCP & Skills catalog**: organizations can publish internal MCP servers, secrets, and custom Skills for workspace members (see [Teams and organizations](/en/docs/teams)).

## Troubleshooting


**The agent asks to re-authenticate after sitting idle**


Refresh tokens rotate on every exchange with no reuse window. If a client drops a rotated token, sign in again (`/mcp -> Authenticate` in Claude Code or `codex mcp login provod` in Codex).


**downloadUrl returns 403 after 20 minutes**


Signed URLs remain valid for 15 minutes. Request a fresh generation record by `jobId` via `show_generation_by_ids` or `job_status` to receive a new link for the same artifact.


**Text models are also needed in the same agent**


Hosted MCP handles media, catalog discovery, and balance. To run provod.ai text models (Claude, GPT, Gemini, DeepSeek, Qwen) in the same agent, configure the [public API](/en/docs/integrations-overview) or run `provod setup` in [Provod CLI](/en/docs/provod-cli).
