> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prod.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Prod AI MCP

> Connect any AI client to build apps and agents or administer your Prod AI organization via the Model Context Protocol

The **Prod AI MCP** server gives AI clients (Claude, ChatGPT, Cursor, Claude Code, Codex, and others) a single [Model Context Protocol](https://modelcontextprotocol.io/) endpoint to operate the Prod AI platform. Every tool call runs under your authenticated identity and Prod AI permissions, so builders can create, import, edit, and publish apps and agents while admins can manage integrations, access control, security policies, audit logs, and billing.

For building apps and agents conversationally from Claude or ChatGPT, see [Building from Claude & ChatGPT](https://docs.prod.ai/coding-agents/claude-and-chatgpt.md).

## Quickstart

Connect to your instance's hosted Prod AI MCP server with no local install required. You will need your Prod AI API token from **Personal Settings > API Key**.

The server is the `/mcp` path on the hostname you use to sign in. In the examples below, replace `<instance-host>` with that hostname.

> [tab] Cursor
>
> Add the following entry to your MCP configuration in **Cursor Settings > MCP** (`~/.cursor/mcp.json`):
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "prod-ai": {
>       "url": "https://<instance-host>/mcp",
>       "headers": {
>         "Authorization": "Bearer <prod-ai-api-token>"
>       }
>     }
>   }
> }
> ```

> [tab] Claude Code
>
> Run this command in your terminal:
>
> ```bash theme={null}
> claude mcp add --transport http \
>   --header "Authorization: Bearer <prod-ai-api-token>" \
>   prod-ai https://<instance-host>/mcp
> ```

> [tab] Other MCP clients
>
> Point your MCP client at the following URL with an `Authorization` header:
>
> ```
> URL: https://<instance-host>/mcp
> Header: Authorization: Bearer <prod-ai-api-token>
> ```

## What can the MCP server do?

Once connected, AI agents can use the following capabilities through natural language:

| Category | Examples |
| - | - |
| **Building apps & agents** | Start, import, edit, and publish governed apps and agents using Prod AI's cloud DevBox |
| **Applications** | List apps, view structure, check commit history, deploy, undeploy |
| **Integrations** | List, create, update, and delete integrations |
| **Access control** | View and manage application, workflow, and job permissions |
| **Role management** | Assign and update org-level roles for users and groups |
| **Organization** | View org summary, list members, manage builder seats |
| **Folders** | Create, update, and delete folders |
| **Audit** | Query audit events and compute aggregated metrics |
| **Chat history** | Retrieve coding agent conversation history for any application |
| **Billing** | View plan summary and usage |
| **Supply chain** | Fetch an app's SBOM, find apps by package, list npm packages across the org |
| **Code security** | Read fleet CVE findings, check packages before install, list accepted advisories |
| **Policy agents** | List policies, read run history and findings, check publish gates |
| **Skills** | List, read, and push [Skills](https://docs.prod.ai/coding-agents/skills/index.md) from your organization's Skills Registry |
| **Prod AI Database** | Read-only view of your [Prod AI Database](https://docs.prod.ai/admin/prod-ai-on-aws/database.md) estate: summarize databases, instances, and pools per data tag, list every app database with its application, state, and host, list cluster pools and provisioning runs, and check application database compatibility |

## Troubleshooting

> [accordion] Authentication errors
>
> Verify your API token is correct. You can find or regenerate it in **Personal Settings > API Key**.
>
> Make sure the `Authorization` header uses the `Bearer` prefix:
>
> ```
> Authorization: Bearer <prod-ai-api-token>
> ```
>
> If the token was recently regenerated, update it in your MCP client configuration and restart your client.

> [accordion] Connection or URL errors
>
> Verify the URL uses the same hostname you use to sign in to Prod AI, with the path `/mcp`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.