Coding Agents
Overview
The CopilotKit MCP server equips AI coding agents with deep knowledge about CopilotKit's APIs, patterns, and best practices. When connected to your development environment, it enables AI assistants to:
- Provide expert guidance
- Generate accurate code
- Give your AI agents a user interface
- Help you implement CopilotKit features correctly
Powered by 🪄 Tadata - The platform for instantly building and hosting MCP servers.
Cursor
Cursor is an AI-powered code editor built for productivity. It features built-in AI assistance and supports MCP for extending AI capabilities with external tools.
Open MCP Settings in Cursor
- Press
Shift+Command+J(Mac) orShift+Ctrl+J(Windows/Linux) to open Cursor's settings. - Look for "MCP Tools" in the left sidebar categories.
- Click "Add Custom MCP". This will open the mcp.json file in the editor, which you need to edit.
Add MCP Server to Cursor
Copy CopilotKit MCP's configuration and paste it under the mcpServers key in the mcp.json file.
{
"mcpServers": {
"CopilotKit MCP": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.copilotkit.ai"
]
}
}
}
{
"mcpServers": {
"CopilotKit MCP": {
"url": "https://mcp.copilotkit.ai/sse"
}
}
}
Claude Web
Claude is Anthropic's AI assistant accessible through a web interface. It supports MCP integrations, called Connectors, to connect with external tools and services.
Navigate to the Connectors settings page in Claude. 1. Click on your user in the bottom left of the chat box and then select "Settings" from the menu options that appear. 2. In the menu along the left side of the Settings page, select "Connectors"
- In the Name field, enter a memorable name for the CopilotKit connector,
like
CopilotKit2. In the URL field, enter the following:https://mcp.copilotkit.ai/sse
Claude Desktop
Claude Desktop is the desktop application version of Claude, offering the same AI capabilities with local system integration and MCP support.
These steps are the same as those for Claude Web, above. The only difference is that the Connectors link below navigates to the Connectors settings in the Claude desktop app, instead of the Claude web app.
Navigate to the Connectors settings page in Claude. 1. Click on your user in the bottom left of the chat box and then select "Settings" from the menu options that appear. 2. In the menu along the left side of the Settings page, select "Connectors"
- In the Name field, enter a memorable name for the CopilotKit connector,
like
CopilotKit2. In the URL field, enter the following:https://mcp.copilotkit.ai/sse
Claude Code
Claude Code is Anthropic's official CLI for Claude. It supports MCP integrations to connect with external tools and services, enhancing AI capabilities with specialized knowledge.
Add MCP Server to Claude Code
Use the Claude Code CLI to add the CopilotKit MCP server:
claude mcp add --transport sse copilotkit-mcp https://mcp.copilotkit.ai/sse
Expected Output:
Added SSE MCP server copilotkit-mcp with URL: https://mcp.copilotkit.ai/sse to local config
File modified: /home/[username]/.claude.json [project: /path/to/your/project]
Verify Connection
Check that the server is properly connected:
claude mcp list
Expected Output:
Checking MCP server health...
copilotkit-mcp: https://mcp.copilotkit.ai/sse (SSE) - ✓ Connected
Server names can only contain letters, numbers, hyphens, and underscores. Avoid spaces in server names.
Using MCP Tools in Claude Code
Once configured, the CopilotKit MCP server tools are automatically available when you interact with Claude Code for CopilotKit-related development tasks. The AI will intelligently use these tools when relevant to your queries.
What the MCP Server Provides:
- Expert guidance for CopilotKit development
- Accurate code generation for CopilotKit features
- Best practices and implementation patterns
- Deep understanding of CopilotKit APIs
Management Commands:
# View server details
claude mcp get copilotkit-mcp
# Remove server if needed
claude mcp remove copilotkit-mcp -s local
Windsurf
Windsurf is Codeium's agentic IDE that combines AI-powered coding assistance with traditional development tools. It features the Cascade AI assistant with MCP integration.
Access Windsurf MCP Settings
- Open Windsurf Settings (click the settings button in the bottom right)
- Navigate to the "Cascade" section
- Look for "Model Context Protocol" or "MCP" settings
- Enable MCP support if not already enabled
Add MCP Server to Windsurf
You can add CopilotKit MCP in several ways:
- In the Cascade section, click "Add Server"
- Select "Add custom server"
- Choose the transport type:
- SSE/HTTP for remote servers
- stdio for local command-based servers
Add the server configuration to your mcp_config.json file:
{
"mcpServers": {
"CopilotKit MCP": {
"url": "https://mcp.copilotkit.ai",
"disabled": false,
"timeout": 30
}
}
}
{
"mcpServers": {
"CopilotKit MCP": {
"url": "https://mcp.copilotkit.ai/sse",
"disabled": false,
"timeout": 30
}
}
}
{
"mcpServers": {
"CopilotKit MCP": {
"command": "npx",
"args": ["mcp-remote", "https://mcp.copilotkit.ai"]
}
}
}
Configuration File Location
The MCP configuration is typically stored at:
~/.codeium/windsurf/mcp_config.json
%APPDATA%\.codeium\windsurf\mcp_config.json
~/.config/codeium/windsurf/mcp_config.json
Using MCP Tools in Windsurf
Once configured, CopilotKit MCP tools will be available in Windsurf's Cascade AI assistant:
- Open the Cascade panel (AI chat interface)
- The MCP tools are automatically available to the AI
- You can reference specific tools using
@CopilotKit MCPin your conversations - Windsurf will intelligently choose which tools to use based on your requests
Managing Your MCP Servers
In the Windsurf MCP settings, you can:
- Enable/Disable individual servers
- View server status and connection health
- Configure tool permissions and auto-approval settings
- Monitor server logs for debugging
- Restart servers if they become unresponsive
The AI will seamlessly integrate CopilotKit MCP functionality into your development workflow!
Cline
Cline is a VS Code extension that provides autonomous AI coding assistance. It can perform complex tasks using MCP tools to interact with external systems.
Open Cline MCP Settings
- Open the Cline extension panel in VS Code
- Click the menu (⋮) in the top right corner of the Cline panel
- Select "MCP Servers" from the dropdown menu
This will open the MCP Servers interface where you can manage your server connections.
Add MCP Server to Cline
In the MCP Servers interface, you have three main options:
- Click on the "Remote Servers" tab
- Enter a Server Name (e.g., "CopilotKit MCP")
- Enter the Server URL:
https://mcp.copilotkit.ai/sse
- Click "Add Server" to connect
Alternatively, you can configure via the advanced settings:
- In the "Installed" tab, click "Configure MCP Servers"
- Add the following configuration to your settings file:
{
"mcpServers": {
"CopilotKit MCP": {
"url": "https://mcp.copilotkit.ai/sse",
"disabled": false,
"timeout": 30
}
}
}
Using MCP Tools in Cline
Once connected, Cline can automatically use the tools provided by CopilotKit MCP when you interact with the AI assistant. The MCP tools will be available without requiring manual selection - Cline's AI will intelligently choose which tools to use based on your requests.
Server Status Indicators:
- Green dot: Connected and ready to use
- Yellow dot: Connecting in progress
- Red dot: Connection error
You can manage server settings, restart connections, or disable servers from the "Installed" tab in the MCP Servers interface.
GitHub Copilot
GitHub Copilot is Microsoft's AI pair programmer integrated into VS Code and other editors. It supports MCP to extend its capabilities with external tools and services.
Enable MCP Support in VS Code
- Open VS Code Settings (
Cmd+,on Mac orCtrl+,on Windows/Linux) - Search for "MCP" in the settings search bar
- Enable the
chat.mcp.enabledsetting
Add MCP Server to GitHub Copilot
You can configure MCP servers for GitHub Copilot in several ways:
Create a .vscode/mcp.json file in your project root:
{
"servers": {
"CopilotKit MCP": {
"url": "https://mcp.copilotkit.ai/sse"
}
}
}
Add to your VS Code settings.json:
{
"mcp": {
"servers": {
"CopilotKit MCP": {
"url": "https://mcp.copilotkit.ai/sse"
}
}
}
}
- Open the Command Palette (
Cmd+Shift+PorCtrl+Shift+P) - Type "MCP: Add Server" and select the command
- Choose "HTTP (sse)" as the server type
- Enter the server URL:
https://mcp.copilotkit.ai/sse - Provide a name for the server:
CopilotKit MCP
Using MCP Tools with GitHub Copilot
- Open Copilot Chat in VS Code (click the Copilot icon in the activity bar)
- Switch to Agent mode from the chat dropdown menu
- Click the Tools (🔧) button to view available MCP tools
- Your CopilotKit MCP tools will be listed and can be used automatically
GitHub Copilot will intelligently use the MCP tools when relevant to your queries. You can also reference tools directly using # followed by the tool name.
Managing MCP Servers
Use the "MCP: List Servers" command to view and manage your configured servers:
- Start/Stop/Restart servers
- View server logs for debugging
- Browse available tools and resources
Other
For MCP-compatible applications not listed above, use these universal integration patterns. MCP (Model Context Protocol) is an open standard that allows AI applications to connect with external tools and data sources.
Connection Methods
Most MCP-compatible applications support one or both of these connection methods:
For web-based or remote integrations:
https://mcp.copilotkit.ai/sse
For local command-line integrations:
{
"command": "npx",
"args": ["mcp-remote", "https://mcp.copilotkit.ai"]
}
Integration Steps
- Find MCP Settings - Look for "MCP," "Model Context Protocol," or "Tools" in your application settings
- Add Server - Use the SSE URL:
https://mcp.copilotkit.ai/sse - Test Connection - Restart your application and verify the server appears in available tools
Common Configuration Patterns
Many applications use a configuration file (locations vary by app):
{
"servers": {
"CopilotKit MCP": {
"url": "https://mcp.copilotkit.ai/sse"
}
}
}
Some apps integrate MCP into their main settings:
{
"mcp": {
"enabled": true,
"servers": {
"CopilotKit MCP": {
"url": "https://mcp.copilotkit.ai/sse"
}
}
}
}