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 data.
What you can do
Once connected, your agent can:- Fetch PR review issues — Get all open cubic review comments for a pull request, grouped by file with severity and categories
- Query codebase documentation — Access AI Wiki pages containing architecture overviews, feature explanations, and code references
- Review codebase scan results — List scans, inspect issues, and pull detailed findings with code context
- Inspect review learnings — Understand team-specific review patterns learned from feedback
Quick setup
Generate an API key
Go to Settings → Integrations → MCP Configuration and click Generate API Key.
Copy the key immediately — it’s only shown once.
API keys are personal to each user. Each team member generates their own key, which grants
access only to repositories they’re authorized to view.

Configure your AI client
Add the cubic MCP server to your coding agent. See Coding agent integration for setup instructions, or use the generic configuration below.
Client configuration
For agent-specific MCP setup instructions, see Coding agent integration. Each agent tab includes manual MCP configuration.Generic configuration
For MCP clients not listed on the agent setup page, use these connection details:| Setting | Value |
|---|---|
| URL | https://www.cubic.dev/api/mcp |
| Transport | HTTP (Streamable) |
| Authentication | Bearer token in Authorization header |
Available tools
PR review tools
Get AI code review issues posted on your pull requests. Use this to see what cubic flagged, understand issue severity, and check which comments still need attention.| Tool | Description | Parameters |
|---|---|---|
get_pr_issues | Get all open review issues for a pull request | repo, pullNumber, owner (optional) |
- Call
get_pr_issueswith a repo name and PR number - Review the issues grouped by file, with severity and confidence scores
- Address the issues in your editor
owner parameter is optional — omit it if you only have the repo name (e.g., from a PR URL like github.com/org/repo/pull/123).
Example: Checking cubic comments on a PR
Example: Checking cubic comments on a PR
Ask your agent:
“Show me the cubic review issues on PR #42 in the backend repo”The agent calls
get_pr_issues and returns a report like:Wiki tools
AI Wikis are AI-generated codebase documentation containing architecture overviews, feature explanations, code references, and diagrams. Use these tools to explore and understand codebases without leaving your editor.| Tool | Description | Parameters |
|---|---|---|
list_wikis | List all wikis you have access to | search (optional) |
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_wikisto discover repositories with generated wikis - Call
list_wiki_pagesto see 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 agent:Then ask:
“List the wiki pages for the acme/backend repository”The agent calls
list_wiki_pages and returns:“Show me the authentication system documentation”The agent calls
get_wiki_page with pageRef: "authentication-system" and returns the full documentation.Codebase scan tools
Codebase scans identify security vulnerabilities, data integrity issues, business logic bugs, and stability concerns across your repositories.| Tool | Description | Parameters |
|---|---|---|
list_scans | List repository scan summaries | search?, limit?, offset? |
get_scan | List aggregated issues with filters/pagination | owner, repo, category?, triageStatus?, minSeverity?, filePath?, limit?, offset? |
get_issue | Get full issue details including code context | issueId |
- Call
list_scansto discover repositories with scan results and open issue counts - Call
get_scanwithowner/repoto list issues — optionally filter by category, severity, or file path - Call
get_issuefor complete details on a specific issue, including code context and severity scores
Filtering and pagination details
Filtering and pagination details
get_scan supports these filters:category—security,data_integrity,business_logic, orstabilitytriageStatus—open,in_review,resolved,false_positive,wont_fix,intended_behavior, oraccepted_riskminSeverity— Inclusive,0to10filePath— Case-sensitive prefix match (e.g.,src/app/api)
20, server cap is 100. Use offset for pagination.Review learning tools
AI review learnings are team-specific code review patterns learned from senior reviewer feedback, user corrections, and codebase scans. Use these tools to understand what review preferences apply to a repository.| Tool | Description | Parameters |
|---|---|---|
list_learnings | List all AI review learnings for a repository | owner, repo |
get_learning | Get full details of a specific learning | learningId |
- Call
list_learningsto discover patterns and preferences for a repository - Call
get_learningwith a learning ID for full details and original feedback context
Troubleshooting
Connection refused or timeout errors
Connection refused or timeout errors
- Your API key is correct and hasn’t been revoked
- You’re using the correct endpoint:
https://www.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)