Docs for agents

Give a coding agent Cua's docs and source as Markdown or over MCP.

How the docs are organized#

PartFolderWhat it covers
Cua Spaces/docs/spacesThe app: quickstart, task guides, how it works
Cua Driver/docs/cua-driverQuickstart, guides, every command and tool
Lume/docs/lumeLume virtual machines
Developers/docs/cua-sdk, /docs/cua-cli, /docs/cua-benchThe SDK, the cua command and Cua Bench

Old page URLs redirect to the page that replaced them.

Markdown#

Every page has a Markdown twin: append .md to its URL, or send Accept: text/markdown.

MCP server#

https://vk-mcp.cua.ai/mcp (streamable HTTP, read-only) searches the docs and the versioned source.

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

Cursor (mcp.json), Windsurf (~/.codeium/windsurf/mcp_config.json) and Cline take the same entry:

{
  "mcpServers": {
    "Cua Docs & Code": {
      "url": "https://vk-mcp.cua.ai/mcp"
    }
  }
}

GitHub Copilot reads .vscode/mcp.json with servers in place of mcpServers:

{
  "servers": {
    "Cua Docs & Code": {
      "url": "https://vk-mcp.cua.ai/mcp"
    }
  }
}
ToolInputReturns
query_docs_dbsql: a SELECT over pages / pages_fts (url, title, category, content)Rows
query_docs_vectorsquery, limit (10, max 100), where, selectPage chunks with _distance
query_code_dbsql: a SELECT over code_files / code_files_fts (component, version, file_path, content, language)Rows
query_code_vectorsquery, limit, where (e.g. version = '0.7.3'), select, componentCode chunks with _distance

The code index covers tagged releases of Python, TypeScript and JavaScript sources. List what it holds before relying on a version:

SELECT DISTINCT component, version FROM code_files;