The MCP server is currently in beta. We’d love your feedback at
[email protected].

What you can do
Once connected, your AI assistant can:- Access AI Wikis - Query AI-generated codebase documentation containing architecture overviews, feature explanations, and code references
- Explore repositories - Discover and navigate wiki pages for any repository in your installation
- Understand codebases - Get contextual information about how systems work, design patterns, and component relationships
The MCP server requires a cubic account with access to at least one repository. You must be a
member of the repository’s installation to access its wiki.
Quick setup
1
Generate an API key
Go to Settings → Integrations → MCP Configuration and click Generate API Key.
Copy the key immediately—it’s only shown once.

2
Configure your AI client
Add the cubic MCP server to your preferred AI coding assistant using the configuration below.
3
Start using wiki tools
Ask your AI assistant to list wiki pages or get specific documentation for your repositories.
Client configuration
- Cursor
- Claude Desktop
- Claude Code
- Windsurf
- OpenCode
- VS Code
- Other
Add to
~/.cursor/mcp.json:Available tools
Wiki tools
cubic AI Wikis are AI-generated codebase documentation containing architecture overviews, feature explanations, code references, and diagrams. Use these tools to explore and understand codebases.| Tool | Description | Parameters |
|---|---|---|
list_wiki_pages | List all available wiki pages for a repository | owner, repo |
get_wiki_page | Retrieve the content of a specific wiki page | owner, repo, pageRef |
- Call
list_wiki_pagesto discover available documentation for a repository - Use
get_wiki_pagewith a page reference to read specific content
Example: Exploring a repository's wiki
Example: Exploring a repository's wiki
Ask your AI assistant:Then ask:
“List the wiki pages for the acme/backend repository”The assistant will call
list_wiki_pages and return something like:“Show me the authentication system documentation”The assistant will call
get_wiki_page with pageRef: "authentication-system" and return the full documentation.Troubleshooting
Connection refused or timeout errors
Connection refused or timeout errors
Verify that:
- Your API key is correct and hasn’t been revoked
- You’re using the correct endpoint:
https://cubic.dev/api/mcp - Your firewall or network allows outbound HTTPS connections
401 Unauthorized errors
401 Unauthorized errors
No wiki pages found
No wiki pages found
- Confirm the repository has an AI Wiki generated - Verify you have access to the
repository’s installation - Check that the
ownerandrepoparameters match the GitHub repository exactly
MCP client not recognizing the server
MCP client not recognizing the server
- Restart your AI client after updating the configuration
- Check the config file path is correct for your operating system
- Validate your JSON syntax (no trailing commas, proper quoting)
What’s next?
We’re considering adding more tools to the MCP server:- PR review tools - Access AI review comments and suggestions
- Codebase search - Search across your indexed repositories
- Analytics access - Query review metrics and team insights