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
| Endpoint | URL |
|---|---|
| SSE Transport | https://docs-mcp.cua.ai/sse |
| HTTP Transport | https://docs-mcp.cua.ai/http |
Available Tools
The MCP server exposes four read-only query tools:
Documentation Tools
| Tool | Description |
|---|---|
query_docs_db | SQL queries against documentation (FTS5 full-text search) |
query_docs_vectors | Semantic vector search for natural language queries |
Code Search Tools
| Tool | Description |
|---|---|
query_code_db | SQL queries against versioned source code (FTS5 full-text search) |
query_code_vectors | Semantic code search across all components and versions |
Connect Your AI Tools
Cursor
- Press
Shift+Command+J(Mac) orShift+Ctrl+J(Windows/Linux) to open settings - Find "MCP Tools" in the left sidebar
- Click "Add Custom MCP" to open
mcp.json - 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/sseVerify the connection:
claude mcp listExpected output:
Checking MCP server health...
cua-mcp: https://docs-mcp.cua.ai/sse (SSE) - ✓ ConnectedManagement commands:
# View server details
claude mcp get cua-mcp
# Remove server if needed
claude mcp remove cua-mcp -s localClaude Web / Claude Desktop
- Go to Settings > Connectors
- Click Add custom connector
- Enter the following:
- Name:
CUA MCP - URL:
https://docs-mcp.cua.ai/sse
- Name:
- Click Add
Windsurf
- Open Windsurf Settings (bottom right settings button)
- Navigate to Cascade > Model Context Protocol
- Click Add Server > Add custom server
- 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)
- Open the Cline extension panel in VS Code
- Click the menu (⋮) in the top right
- Select MCP Servers
- Click Remote Servers tab
- Enter:
- Server Name:
CUA MCP - Server URL:
https://docs-mcp.cua.ai/sse
- Server Name:
- Click Add Server
GitHub Copilot
- Enable MCP in VS Code: Settings > search "MCP" > enable
chat.mcp.enabled - Create
.vscode/mcp.jsonin your project:
{
"servers": {
"CUA MCP": {
"url": "https://docs-mcp.cua.ai/sse"
}
}
}- 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/sseCommon JSON Configuration:
{
"servers": {
"CUA MCP": {
"url": "https://docs-mcp.cua.ai/sse"
}
}
}Was this page helpful?