Skip to content

CopilotKit MCP: install, tools and limits

Better Design

Direct answer

CopilotKit MCP is CopilotKit's hosted docs and code search server, which gives a coding agent current knowledge of CopilotKit and the AG-UI protocol. It runs over the remote URL https://mcp.copilotkit.ai/mcp (Streamable HTTP) or https://mcp.copilotkit.ai/sse (SSE), needs no sign-in, and exposes 7 tools.

A hand-drawn terminal that connects a coding agent to CopilotKit MCP, with the server's name and tool count written beside it.

What CopilotKit MCP does

CopilotKit MCP is CopilotKit's hosted docs and code search server, which gives a coding agent current knowledge of CopilotKit and the AG-UI protocol. Separately, CopilotKit apps can act as MCP clients and render MCP Apps in the chat through @ag-ui/mcp-apps-middleware.

CopilotKit maintains it.

How a coding agent uses CopilotKit MCP

The agent asks, CopilotKit MCP acts, and the result comes back into the session.

A hand-drawn three-step flow from the coding agent to CopilotKit MCP and back: How do I render an MCP App in CopilotKit?, Searches the CopilotKit and AG-UI docs and code, Current docs passages and code examples.
  1. The agent asks: How do I render an MCP App in CopilotKit?
  2. CopilotKit MCP acts: Searches the CopilotKit and AG-UI docs and code
  3. The result comes back: Current docs passages and code examples

Install CopilotKit MCP in Claude Code

terminal
claude mcp add --transport sse copilotkit-mcp https://mcp.copilotkit.ai/sse --scope project

Install CopilotKit MCP in Cursor

Cursor mcp.json
{
  "mcpServers": {
    "CopilotKit MCP": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.copilotkit.ai/mcp"
      ]
    }
  }
}

Install CopilotKit MCP in VS Code

.vscode/mcp.json
{
  "servers": {
    "CopilotKit MCP": {
      "url": "https://mcp.copilotkit.ai/sse"
    }
  }
}

Install CopilotKit MCP in Codex

terminal or ~/.codex/config.toml
codex mcp add copilotkit --url https://mcp.copilotkit.ai/mcp
# or add to ~/.codex/config.toml:
[mcp_servers.copilotkit]
url = "https://mcp.copilotkit.ai/mcp"

The 7 tools CopilotKit MCP gives your agent

CopilotKit MCP lists these names in its own documentation, read on November 12, 2026. Your agent sees each one as a tool it can call.

  • search-docs
  • search-code
  • search-ag-ui-docs
  • search-ag-ui-code
  • explore-docs
  • explore-code
  • submit-feedback

Settings worth knowing in CopilotKit MCP

query, limit, min_score and version
What it changes

Shape a search in search-docs, search-code, search-ag-ui-docs and search-ag-ui-code.

Server

CopilotKit MCP

explore-docs and explore-code commands
What it changes

Run a bash-style command (find, grep, cat, ls, head) over the docs or source files.

Server

CopilotKit MCP

BuiltInAgent mcpServers [{type: 'sse' | 'http', url, headers}]
What it changes

Connects a CopilotKit app to MCP servers as a client, in @copilotkit/runtime/v2.

Server

CopilotKit MCP

MCPAppsMiddleware serverId
What it changes

Keeps stored MCP Apps loading across environments; always set it in production.

Server

CopilotKit MCP

@copilotkit/runtime 1.76.0 or later
What it changes

Needed for MCP Apps.

Server

CopilotKit MCP

Sign-in, limits and caveats for CopilotKit MCP

Sign-in: None. The initialize and tools/list calls succeeded without credentials when tested on 12 November 2026.

Limits and price: The docs server is read-only search over CopilotKit and AG-UI docs and source. CopilotKit's documentation states no separate price or usage limit for it. In-app MCP clients open per run and close when the run ends, so nothing is cached between requests.

  • Use the /mcp path for Streamable HTTP; the root URL https://mcp.copilotkit.ai returns 404.
  • Without a serverId, CopilotKit hashes the MCP server URL, so stored MCP Apps stop loading when the URL changes between environments.
  • CopilotKit now recommends its skills (npx skills add CopilotKit/CopilotKit/skills -y) as the main way to give an agent CopilotKit knowledge, and lists the MCP server beside them.
  • The docs page names only search-docs; the other six tool names come from a live tools/list call.

Use CopilotKit MCP for interface work

CopilotKit is a UI framework for in-app agents, and its MCP Apps support renders a server's own interface in a sandboxed iframe in the chat with no frontend code.

Steal this workflow

Run this guide in your own assistant. The prompt carries the guide link and the workflow summary, so the assistant can adapt it to your project.

Read the guide "CopilotKit MCP: install, tools and limits" at https://better-design.com/blog/copilotkit-mcp and help me apply it to my project.

CopilotKit MCP is CopilotKit's hosted docs and code search server, which gives a coding agent current knowledge of CopilotKit and the AG-UI protocol. It runs over the remote URL https://mcp.copilotkit.ai/mcp (Streamable HTTP) or https://mcp.copilotkit.ai/sse (SSE), needs no sign-in, and exposes 7 tools.

Start by asking what I am building and which tools I use. Then walk me through the workflow step by step, adapted to my answers.

Claude and ChatGPT open with the prompt filled in. Gemini copies the prompt to your clipboard first, so paste it when the app opens.

Questions

What does CopilotKit MCP do?

CopilotKit MCP is CopilotKit's hosted docs and code search server, which gives a coding agent current knowledge of CopilotKit and the AG-UI protocol. Separately, CopilotKit apps can act as MCP clients and render MCP Apps in the chat through @ag-ui/mcp-apps-middleware.

Does CopilotKit MCP need an API key or sign-in?

None. The initialize and tools/list calls succeeded without credentials when tested on 12 November 2026.

Is CopilotKit MCP free?

The docs server is read-only search over CopilotKit and AG-UI docs and source. CopilotKit's documentation states no separate price or usage limit for it. In-app MCP clients open per run and close when the run ends, so nothing is cached between requests.

Which coding agents can use CopilotKit MCP?

Its documentation shows a setup for Claude Code, Cursor, VS Code, Codex. Any client that speaks MCP over the remote URL https://mcp.copilotkit.ai/mcp (Streamable HTTP) or https://mcp.copilotkit.ai/sse (SSE) can connect.

Where these CopilotKit MCP facts come from

Each fact on this page comes from CopilotKit MCP's own repository, documentation or package registry, read on November 12, 2026.

Add design rules next to it

CopilotKit MCP gives the agent its tools. It does not tell the agent what a good screen looks like. Better Design adds that part: a design system, interface principles and review rules that the agent calls while it builds.