DocsUse
Connect your AI assistant
Give Claude Code, VS Code, Cursor or any other MCP host BBM-Atlas's tools, served by the running API at /mcp, on the same repositories you index.
How it connects
The running API serves BBM-Atlas's tools over MCP at /mcp (Streamable HTTP), so your assistant works on the same repositories, facts and flags as the CLI and the web console. With the server from Index and search, the address is http://127.0.0.1:8000/mcp. The console's overview page shows it, with setup ready to copy.
The running API in Claude Code
The BBM-Atlas plugin gives Claude Code the tools and the skills to use them, with a server of its own in each session: two commands in Claude Code, and nothing to run. To share the running API's repositories instead, register its endpoint in your project's .mcp.json, from the project's folder:
bbm-atlas mcp install --url http://127.0.0.1:8000/mcp# When the server requires API keys: the key stays in your environment,# and .mcp.json only names the variableexport BBM_ATLAS_API_KEY=…bbm-atlas mcp install --url http://127.0.0.1:8000/mcp --api-key-env BBM_ATLAS_API_KEYbbm-atlas mcp uninstall removes the entry again.
VS Code
The BBM-Atlas extension offers the tools to Copilot's agent mode by itself, and adds @atlas to the chat for questions about the workspace. Without it, add the server to .vscode/mcp.json:
{ "servers": { "bbm-atlas": { "type": "http", "url": "http://127.0.0.1:8000/mcp" } }}When the server requires API keys, have VS Code ask for the key rather than writing it into the file:
{ "inputs": [ { "type": "promptString", "id": "bbm-atlas-key", "description": "BBM-Atlas API key", "password": true } ], "servers": { "bbm-atlas": { "type": "http", "url": "https://atlas.example.com/mcp", "headers": { "Authorization": "Bearer ${input:bbm-atlas-key}" } } }}Cursor and other hosts
Any host that speaks MCP over HTTP connects to the same address. MCP clients has each one's entry; bbm-atlas mcp install --host cursor (or vscode, or gemini) writes that client's project file, and bbm-atlas mcp config --host <client> prints the entry for any other. In Cursor, .cursor/mcp.json:
{ "mcpServers": { "bbm-atlas": { "url": "http://127.0.0.1:8000/mcp" } }}A key goes in an Authorization: Bearer <key> header (or X-API-Key). --api-key-env BBM_ATLAS_API_KEY makes the entry refer to the variable in the syntax the client expands - Cursor's ${env:BBM_ATLAS_API_KEY} - so it never holds the key.
Or, in Cursor, install the VS Code extension from Open VSX: it starts BBM-Atlas for the workspace and registers its server with Cursor's own MCP API, so Cursor's agent has the tools with no file to write.
Hosts without HTTP: stdio
bbm-atlas mcp serve runs the tools over stdio instead, as a process the host starts. bbm-atlas mcp install without --url registers it with Claude Code, or with the client --host names, and bbm-atlas mcp config without --url prints it for any client.
The tools
| Area | Tools |
|---|---|
| Repositories | index_repository, start_index_job, get_index_job, cancel_index_job, list_repositories, get_repository, file_symbols, symbol_at, delete_repository |
| Reading code | brief, outline, read_symbol |
| Search and impact | search, analyze_impact |
| Knowledge graph | graph_query, graph_node, graph_neighbors, graph_path, graph_cycles, graph_god_nodes, graph_communities, graph_stats, graph_ambiguous |
| Learning | graph_record_outcome, graph_lessons, remember, recall, forget |
| Agents | run_agent |
| Compression | compress, retrieve, stats |
| Administration | admin_status, list_feature_flags, set_feature_flag |
Each tool checks the same permission as its REST route, so a key or role that can't do something over REST can't do it over MCP either.
An assistant sends every tool's definition with every request, so the server offers seven by default - brief, search, outline, read_symbol, analyze_impact, retrieve and index_repository - and BBM_ATLAS_MCP_TOOL_PROFILE=full offers all 35.