Guides
Expose Doc Bridge handoffs to Cursor, Claude Desktop, and other MCP clients.
View raw Markdown · llms.txt · For agents
MCP for agents
Doc Bridge MCP tools return the same deterministic handoffs as the CLI — ownership, start files, edit roots, and checks.
One-command install
ak-docs mcp install --cursor # writes .cursor/mcp.json
ak-docs mcp install --claude # merges Claude Desktop config (macOS)Then index your repo:
ak-docs indexOptional skill text: skills/doc-bridge.md
Manual config
{
"mcpServers": {
"ak-docs": {
"command": "npx",
"args": ["ak-docs", "mcp"],
"cwd": "/absolute/path/to/your/repo"
}
}
}Run MCP from the repository root (or ensure config discovery resolves there).
Tools
| Tool | Purpose |
|---|---|
handoff.resolve | Package / ownership → AgentHandoff |
| Search / list tools | Discover modules and docs without dumping the tree |
Prefer handoff.resolve before any multi-file edit.
Agent loop
- Resolve ownership via MCP or
ak-docs query … --agent - Read
startHere - Edit only
editRoots - Run
checks - Re-index when docs change
Related
- For agents
- Index and query
- MCP deep dive
- Chat and RAG — optional intelligence plane
The AgentsKit ecosystem