MCP server URLs
For interactive AI assistants, use the authenticated endpoint:Use the
site.aspect.build host exactly. The docs are also reachable at aspect.build, and that host answers MCP requests, but the server’s OAuth resource is site.aspect.build. Clients that validate the protected-resource identifier reject the mismatch during authorization, so anything needing customer documentation must use site.aspect.build.Quick copy from any docs page
Every page on this site exposes a contextual menu (top of the page) with one-click options to:- Copy MCP Server: Copies the anonymous public endpoint to your clipboard.
- Connect to Cursor: Installs the anonymous public endpoint in Cursor.
- Connect to VS Code: Installs the anonymous public endpoint in VS Code.
/mcp endpoint on whichever host you are browsing. On aspect.build they yield https://aspect.build/mcp, which cannot be authorized — see the note above. For customer documentation, set the URL to https://site.aspect.build/authed/mcp by hand and complete the OAuth authorization.
Connect from common clients
Claude Desktop
- Open Settings → Connectors in Claude.
- Click Add custom connector.
- Set the name to
Aspect Docsand the URL tohttps://site.aspect.build/authed/mcp. - Click Add.
- Complete the OAuth authorization with your Aspect account.
- In a Claude chat, click the attachments (+) button and select Aspect Docs to give that thread access to the Aspect docs.
Claude Code
Run once from your terminal:Codex CLI
Add the server to~/.codex/config.toml:
aspect-docs server should be listed.
Cursor
- Open the command palette with
Cmd+Shift+P(macOS) orCtrl+Shift+P(Windows/Linux). - Run Open MCP settings.
- Click Add custom MCP and add the following to
mcp.json:
VS Code
Create.vscode/mcp.json in your workspace with:
What the assistant can do with it
Once connected, the assistant can:- Search the Aspect docs across the CLI, Aspect Workflows, AXL reference, and Bazel guides.
- Fetch full pages as Markdown when it needs the complete instructions (for example, an upgrade guide or a migration walk-through).
- Cite the page it used, so you can jump to the source directly.
Troubleshooting
- The tool doesn’t appear after adding it. Restart the AI client after editing
mcp.json/config.toml. Most clients only load MCP servers at startup. - The client can search public docs but can’t find customer docs. Check that it uses
https://site.aspect.build/authed/mcp, then complete the client’s OAuth login. The/mcpendpoint is anonymous and public-only. - The client reports 401, 405, or “method not allowed” when opening the URL in a browser. That’s expected: the MCP endpoints respond to MCP protocol requests, not plain
GETrequests. Configure the URL in your MCP client instead of visiting it directly. - Authentication fails with a protected-resource mismatch. Your client is configured with the wrong host (usually
aspect.build/mcp). Usehttps://site.aspect.build/authed/mcpexactly because its origin matches the server’s OAuth resource. - You want to script MCP calls in CI. Use
https://site.aspect.build/mcpfor anonymous access to public documentation. Accessing customer documentation requires an authenticated session throughhttps://site.aspect.build/authed/mcp.

