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

# Install the Perform.AI MCP server

> Connect the Perform.AI MCP server to ChatGPT, Claude, Claude Code, VS Code, Copilot Studio, or your own MCP client.

In ChatGPT and Claude, add Perform.AI from the directory. Every other client connects manually with one URL:

```
https://mcp.perform.ai/mcp-invoke
```

> [!WARNING]
>
> No trailing slash. Use `.../mcp-invoke`, not `.../mcp-invoke/`.

Authentication is OAuth: on first connection your client opens a Perform.AI sign-in page. Sign in with your Perform.AI username and password, or with **Sign in with Google**. You need a Perform.AI account belonging to at least one organization; after signing in, [select the organization](https://developers.perform.ai/mcp/overview.md#organization-scoping) the session should act on.

## ChatGPT

Perform.AI is available as a plugin in ChatGPT. The plugin connects to `https://mcp.perform.ai/mcp-invoke`, the URL its listing shows.

1. In the ChatGPT sidebar, select **Plugins**.
2. Search for `Perform.AI`, then select **+** next to **Perform.AI**. Once added, it appears under **Installed**.
3. Sign in to Perform.AI when prompted. It's the same sign-in as every other client: your Perform.AI username and password, or **Sign in with Google**.
4. In a conversation, add **Perform.AI** to your message and ask a question, for example: *"Which carriers had the most delayed deliveries to Germany in July 2026?"*
5. If you belong to more than one organization, the assistant lists them and asks which one to use.

Plugins need a ChatGPT plan that supports them. In ChatGPT Business and Enterprise workspaces, an admin may need to make the plugin available before members can add it.

**For workspace admins:** on the Perform.AI plugin page, **Availability** sets the **Workspace default** for everyone in the workspace: **Available** (members add it themselves) or **Installed**. The plugin page also lets you review **Permissions**, turn individual **Tools** on or off, and choose how **New tools** are handled.

> [!NOTE]
>
> ChatGPT lists **Select organization** under **Write tools** because it changes which organization the session acts on. It doesn't modify your Perform.AI data. Turning it off prevents the assistant from selecting an organization, so leave it on.

## Claude

Perform.AI is available as a connector in Claude's connector directory, for Claude on the web, desktop, and mobile. The connector connects to `https://mcp.perform.ai/mcp-invoke`, the **Connector URL** its details page shows.

1. In Claude, go to **Settings → Connectors** and select **Browse connectors**.
2. Search for `Perform.AI`, open it, and select **Connect**.
3. Sign in to Perform.AI when prompted. It's the same sign-in as every other client: your Perform.AI username and password, or **Sign in with Google**.
4. In a chat, turn on **Perform.AI** from the tools menu and ask a question, for example: *"Which carriers do we have configured?"*
5. If you belong to more than one organization, the assistant lists them and asks which one to use.

In Claude Team and Enterprise organizations, an owner may need to enable the connector before members can connect it.

**Tool permissions:** on the connector's page, **Your tool permissions** groups the tools into **Read-only tools** (seven) and **Write/delete tools** (one). For each tool or group, choose whether Claude can use it without asking, needs your approval first (**Needs approval**, the default), or can't use it at all.

> [!NOTE]
>
> Claude lists **Select Organization** under **Write/delete tools** because it changes which organization the session acts on. It doesn't modify your Perform.AI data. Blocking it prevents the assistant from selecting an organization, so don't block it.

**Custom connector:** you can also add Perform.AI manually. In **Settings → Connectors**, select **Add custom connector**, name it `Perform.AI`, enter `https://mcp.perform.ai/mcp-invoke`, then select **Add** and **Connect**.

**Claude Code (CLI):**

```bash theme={null}
claude mcp add --transport http perform-ai https://mcp.perform.ai/mcp-invoke
```

Then run `/mcp` inside a session to complete the sign-in.

## Microsoft Copilot

**VS Code (GitHub Copilot agent mode):** add to your `mcp.json`:

```json theme={null}
{
  "servers": {
    "perform-ai": {
      "type": "http",
      "url": "https://mcp.perform.ai/mcp-invoke"
    }
  }
}
```

VS Code handles the sign-in on first use.

**Copilot Studio:** add Perform.AI to an agent as an MCP server.

1. Open your agent's **Tools** page and select **Add a tool**.
2. Select **New tool**, then **Model Context Protocol**.
3. Enter a **Server name** (`Perform.AI`), a **Server description**, and the **Server URL** `https://mcp.perform.ai/mcp-invoke`. The agent uses the description to decide when to call Perform.AI, so describe what it answers, for example: *Read-only access to Perform.AI shipment, carrier, booking, and invoice data for the selected organization.*
4. Under authentication, select **OAuth 2.0**, then the type **Dynamic discovery**, and select **Create**.
5. Select **Next**. In **Add tool**, select **Create a new connection**, sign in with your Perform.AI account, then select **Add to agent**.

Copilot Studio only connects over Streamable HTTP, which Perform.AI uses. If your organization applies data policies to Power Platform connectors, those policies also apply to this MCP server.

A Perform.AI listing for Microsoft Copilot is planned.

## Clients without remote-server support

Some MCP clients only launch local servers and can't connect to a remote URL with OAuth directly. For those, the open-source `mcp-remote` bridge runs locally, handles the OAuth flow, and presents Perform.AI to the client as a local server.

Install it once (recommended, so first connection doesn't stall on a download):

```bash theme={null}
npm install -g mcp-remote
```

Then register it in the client's MCP configuration, for example in a `claude_desktop_config.json`-style file (macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`; Windows: `%APPDATA%\Claude\claude_desktop_config.json`):

```json theme={null}
{
  "mcpServers": {
    "perform-ai": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.perform.ai/mcp-invoke"]
    }
  }
}
```

Save, then **fully restart the client** (quit, don't just close the window). The first tool call opens a browser window for the Perform.AI sign-in. Requires Node.js LTS (`node --version` to check).

## Custom applications

The server speaks standard MCP over **Streamable HTTP** with OAuth 2.1, including metadata discovery and **dynamic client registration**, so a spec-compliant client needs no pre-registered credentials:

* Protected resource metadata: `https://mcp.perform.ai/.well-known/oauth-protected-resource/mcp-invoke`. It names the Perform.AI authorization server. An unauthenticated request returns `401` with a `WWW-Authenticate` header pointing to this document.
* Grant types: `authorization_code` (with PKCE) and `refresh_token`

With the official MCP SDKs, point the client at the server URL and let the SDK's OAuth support drive the flow:

```typescript TypeScript theme={null}
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";

const transport = new StreamableHTTPClientTransport(
  new URL("https://mcp.perform.ai/mcp-invoke")
  // supply an OAuth client provider per the MCP SDK auth documentation
);
const client = new Client({ name: "your-app", version: "1.0.0" });
await client.connect(transport);
const tools = await client.listTools();
```

> [!NOTE]
>
> **Redirect URIs:** client registrations must use HTTPS redirect URIs (loopback URIs for desktop clients are always accepted). If your client redirects to a domain Perform.AI doesn't recognize, users see a consent screen naming the destination before the redirect proceeds. To allowlist your redirect domains, contact your Key Account Manager or [cs@perform.ai](mailto:cs@perform.ai). Claude Desktop and Claude Code users never see this screen.

## Migrate from the old server URL

> [!WARNING]
>
> `https://mcp.perform.ai/mcp` is deprecated and will stop being supported soon. If you set up Perform.AI with it, switch to `https://mcp.perform.ai/mcp-invoke` now.

The old URL exposed one tool per operation. The new URL exposes [eight tools](https://developers.perform.ai/mcp/tools.md) that reach the same read operations, with the same data, permissions, and organization scoping.

1. In your client's MCP configuration, replace `https://mcp.perform.ai/mcp` with `https://mcp.perform.ai/mcp-invoke`. In Claude Code, run `claude mcp remove perform-ai`, then add the server again with the command in [Claude](#claude).
2. Restart the client, or reconnect the server.
3. Sign in with your Perform.AI account if your client asks you to.

If you built your own client against the old URL, update the server URL and the protected resource metadata URL in [Custom applications](#custom-applications). Prompts or automations that call a per-operation tool by name, such as `list_shipments`, now reach it through `invoke_method_read`.

## Troubleshooting

| Symptom | Fix |
| - | - |
| The client can't connect at all | Confirm the URL is exactly `https://mcp.perform.ai/mcp-invoke`, with the `/mcp-invoke` path and **no trailing slash**. |
| The client still uses `https://mcp.perform.ai/mcp` | Change it to `https://mcp.perform.ai/mcp-invoke`. See [Migrate from the old server URL](#migrate-from-the-old-server-url). |
| `401 invalid_token` when calling the server directly | Expected without a completed OAuth flow. Connect through an MCP client rather than raw HTTP. |
| The sign-in window doesn't appear | Check pop-up blocking; with the `mcp-remote` bridge, fully quit and restart the client after editing the config. |
| Connected, but no data | Select an organization first, and note the server only ever shows what your own Perform.AI login can see. |
| ChatGPT can't select an organization | On the Perform.AI plugin page, open **Tools** and check that **Select organization** is turned on. |
| Claude can't select an organization | In **Settings → Connectors**, open **Perform.AI**, then **Your tool permissions**, and check that **Select Organization** isn't blocked. |


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