MCP
Cua

Vibe Coding MCP

Connect your AI agents to CUA documentation and source code

The CUA MCP server equips AI coding agents with deep knowledge about CUA's APIs, patterns, source code, and best practices. When connected to your development environment, it enables AI assistants to:

  • Search documentation with full-text and semantic search
  • Explore source code across all versions and components
  • Generate accurate code with context from the actual codebase
  • Understand CUA internals by querying versioned implementations

Server URL

EndpointURL
SSE Transporthttps://docs-mcp.cua.ai/sse
HTTP Transporthttps://docs-mcp.cua.ai/http

Available Tools

The MCP server exposes four read-only query tools:

Documentation Tools

ToolDescription
query_docs_dbSQL queries against documentation (FTS5 full-text search)
query_docs_vectorsSemantic vector search for natural language queries

Code Search Tools

ToolDescription
query_code_dbSQL queries against versioned source code (FTS5 full-text search)
query_code_vectorsSemantic code search across all components and versions

Connect Your AI Tools

Cursor

  1. Press Shift+Command+J (Mac) or Shift+Ctrl+J (Windows/Linux) to open settings
  2. Find "MCP Tools" in the left sidebar
  3. Click "Add Custom MCP" to open mcp.json
  4. Add the CUA MCP server configuration:
{
  "mcpServers": {
    "CUA MCP": {
      "url": "https://docs-mcp.cua.ai/sse"
    }
  }
}

Claude Code

Add the MCP server using the CLI:

claude mcp add --transport sse cua-mcp https://docs-mcp.cua.ai/sse

Verify the connection:

claude mcp list

Expected output:

Checking MCP server health...
cua-mcp: https://docs-mcp.cua.ai/sse (SSE) - ✓ Connected

Management commands:

# View server details
claude mcp get cua-mcp

# Remove server if needed
claude mcp remove cua-mcp -s local

Claude Web / Claude Desktop

  1. Go to Settings > Connectors
  2. Click Add custom connector
  3. Enter the following:
    • Name: CUA MCP
    • URL: https://docs-mcp.cua.ai/sse
  4. Click Add

Windsurf

  1. Open Windsurf Settings (bottom right settings button)
  2. Navigate to Cascade > Model Context Protocol
  3. Click Add Server > Add custom server
  4. Select SSE transport and enter: https://docs-mcp.cua.ai/sse

Configuration file location:

  • macOS: ~/.codeium/windsurf/mcp_config.json
  • Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
  • Linux: ~/.codeium/windsurf/mcp_config.json

Cline (VS Code)

  1. Open the Cline extension panel in VS Code
  2. Click the menu (⋮) in the top right
  3. Select MCP Servers
  4. Click Remote Servers tab
  5. Enter:
    • Server Name: CUA MCP
    • Server URL: https://docs-mcp.cua.ai/sse
  6. Click Add Server

GitHub Copilot

  1. Enable MCP in VS Code: Settings > search "MCP" > enable chat.mcp.enabled
  2. Create .vscode/mcp.json in your project:
{
  "servers": {
    "CUA MCP": {
      "url": "https://docs-mcp.cua.ai/sse"
    }
  }
}
  1. Open Copilot Chat, switch to Agent mode, and the tools will be available

Other MCP-Compatible Tools

For any MCP-compatible application:

SSE Connection:

https://docs-mcp.cua.ai/sse

Common JSON Configuration:

{
  "servers": {
    "CUA MCP": {
      "url": "https://docs-mcp.cua.ai/sse"
    }
  }
}

Was this page helpful?