#### Reference

# MCP support

Grok Bot connects to external services and plugins through the Model Context
Protocol (MCP). This page lists the MCP transports, authentication methods,
protocol primitives, interactive MCP Apps (`ui://`), and tracing capabilities
supported in Grok Bot.

## Transports

| Transport | Status | Notes |
| --- | --- | --- |
| **Streamable HTTP** | Supported | Default for remote and cloud-hosted MCP servers. Outbound requests originate from published static egress IPs (`https://cursor.com/docs/ips.json`). |
| **HTTP + SSE (legacy)** | Supported | Fallback for remote servers that answer Streamable HTTP with legacy SSE. |
| **stdio (local command)** | Supported | Runs on the Bot's cloud computer and is available to every Bot on your account. Interactive MCP App cards require a remote HTTP server. |

## Authentication

| Method | Status | Notes |
| --- | --- | --- |
| **OAuth 2.1 + PKCE + refresh tokens** | Supported | Supports both pre-registered OAuth clients (`Client ID` / `Client Secret`) and Dynamic Client Registration (DCR). Tokens stay on the connector backend and are never exposed to the Bot's computer. |
| **Client ID Metadata Document (CIMD)** | Supported | Supported for OAuth servers that identify clients through a Client ID Metadata Document URL. |
| **Static Bearer tokens & custom HTTP headers** | Supported | Configure through custom connector headers or plugin `${VAR}` variables. |
| **Multi-org and multi-account** | Supported | Multiple instances of a plugin each keep an isolated credential slot and OAuth client. Apps that allow multiple accounts can connect more than one workspace per user. |

## Core MCP primitives

| Capability | Status | Notes |
| --- | --- | --- |
| **Tools (`tools/list`, `tools/call`)** | Supported | Supports `structuredContent`, `outputSchema`, tool annotations (`readOnlyHint`, etc.), and `_meta.ui.visibility` (`["app"]` hides app-only tools from the model while keeping them callable from an MCP App frame). |
| **Resources (`resources/read` for `ui://`)** | Supported (MCP Apps) | Used to load `ui://` MCP App HTML documents (`text/html;profile=mcp-app`, up to 8 MiB). General `resources/list` browsing is not exposed as a model tool in Grok Bot. |
| **Elicitation (`elicitation/create`)** | Supported | Supports confirm/form elicitations (rendered as in-chat approval cards) and URL-mode elicitations over Streamable HTTP. |
| **Prompts (`prompts/list`, `prompts/get`)** | Not exposed in Grok Bot | Package reusable instructions as plugin skills instead. |
| **Sampling (`sampling/createMessage`)** | Not supported | — |
| **Subscriptions & MCP Events (`resources/subscribe`, webhooks)** | Not yet supported | Planned post-beta. |

## Interactive MCP Apps (`ui://`)

Remote MCP servers can render interactive HTML cards inline in chat using the
MCP Apps (`ui://`) protocol or OpenAI Apps SDK metadata.

| Feature | Status | Notes |
| --- | --- | --- |
| **Lifecycle & tool data** | Supported | `ui/initialize`, `ui/notifications/tool-input`, and `ui/notifications/tool-result` deliver tool arguments, results, and `_meta` to the sandboxed frame. |
| **Auto-sizing (`ui/notifications/size-changed`)** | Supported | Cards render at full width and grow to their reported height (no 800 px cap). |
| **Sandboxing & CSP (`_meta.ui.csp`, `permissions`, `prefersBorder`)** | Supported | Runs in a sandboxed iframe (`allow-scripts`). Honors public `https://` and `wss://` origins in `connectDomains`, `resourceDomains`, `frameDomains`, and `baseUriDomains`, plus `camera`, `microphone`, `geolocation`, `clipboardWrite`, and `prefersBorder`. |
| **App-initiated `tools/call`** | Supported | Scoped to the card's own server and tools declared with `visibility: ["app"]`. Tools with `readOnlyHint: true` can run without a click; write calls require a recent user click. |
| **Follow-up messages (`ui/message`)** | Supported | Prefills the chat message box after a user click without auto-sending. |
| **External links (`ui/open-link`)** | Supported | Opens `http://` or `https://` links in the user's browser after a user click. |
| **Display mode (`ui/request-display-mode`)** | Inline only | Always returns `{ displayMode: "inline" }`; fullscreen and picture-in-picture modes are not supported. |
| **OpenAI Apps SDK shim (`window.openai`, `openai/outputTemplate`)** | Supported | Supports `openai/outputTemplate` (`ui://`) and maps `callTool`, `sendFollowUpMessage`, `openExternal`, and `requestDisplayMode` through the same bridge checks. Global `openai/ui.entrypoints` are not supported. |
| **Multiple & helper-drawn cards** | Supported | Multiple tool calls with distinct arguments in one turn each keep their own card (identical arguments fold to the newest). Cards drawn by background helpers land in the parent chat. |

## Tracing, telemetry, and debugging

| Capability | Status | Notes |
| --- | --- | --- |
| **Tool-call `_meta` tracing IDs** | Supported | Every tool call carries `gen_ai.conversation.id` (a 64-character per-conversation identifier) and `gen_ai.tool.call.id` in `params._meta`. |
| **Action Recording (OpenTelemetry Export)** | Supported (Enterprise) | Exports MCP tool call start time, duration, `cursor.grok_bot.mcp.server_duration_ms`, status, and per-turn agent response duration. See [Action Recording](/grok-bot/teams-and-enterprises#action-recording). |
| **Developer mode & MCP logs** | Supported | Turn on Developer mode in desktop settings to inspect MCP calls (including helper and follow-up calls), skill loads, failure reasons, and redacted connector logs under **View logs**. |

## Related pages

* [Use the computer and apps](/grok-bot/computer-and-apps#connect-an-app)
* [Teams and enterprises](/grok-bot/teams-and-enterprises#connector-policy)
* [Security](/grok-bot/security#mcp-servers-and-the-network-policy)
