Skip to main content
cubic’s MCP server connects your coding agent to cubic’s data and workflows: PR review issues, AI-generated codebase documentation, codebase scan results, scan issue triage, and team review patterns.
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.

Endpoint

Use this exact URL:
https://www.cubic.dev/api/mcp
Some MCP clients compare the protected resource URL exactly. Use https://www.cubic.dev/api/mcp, not https://cubic.dev/api/mcp.

Authentication

Use OAuth for new MCP connections. Your MCP client opens a browser, you approve cubic access, and the client stores and refreshes tokens. Existing API-key based MCP configs continue to work during the migration window, but new setup should not add an Authorization header or cbk_ key.

Install and log in

Cursor and VS Code support one-click MCP install links. For other clients, use the CLI or manual config steps below.
  1. Click Add cubic to Cursor.
  2. Confirm the install in Cursor.
  3. Click Connect and complete OAuth.
Manual fallback:
  1. Open Cursor Settings.
  2. Go to Tools and MCP.
  3. In MCP, use Home MCP Servers or your project-specific MCP section.
  4. Click New MCP server.
  5. Add this to the config and save:
"cubic": {
  "type": "http",
  "url": "https://www.cubic.dev/api/mcp"
}
  1. Click Connect and complete OAuth.

Available tools

ToolDescription
list_wikisList all wikis you have access to
list_wiki_pagesList all available wiki pages for a repository
get_wiki_pageRetrieve the content of a specific wiki page
list_scansList repository scan summaries
get_scanList aggregated scan issues with filters and pagination
resolve_github_user_contactsResolve GitHub usernames to email and Slack mentions
get_issueGet full issue details including code context
update_issue_statusUpdate a scan issue triage status with optional feedback
list_learningsList AI review learnings for a repository
get_learningGet full details of a specific learning
get_pr_issuesGet all published issues for a pull request

Common prompts

  • “Show cubic review issues on PR #42 in acme/backend”
  • “List wiki pages for acme/backend”
  • “Show me the authentication system wiki page”
  • “List codebase scan issues in acme/backend with severity at least 7”
  • “Mark scan issue abc as false positive with feedback”
  • “What review learnings apply to this repository?”

Troubleshooting

Confirm your configured URL is exactly https://www.cubic.dev/api/mcp. Replacing www.cubic.dev with cubic.dev can cause OAuth clients to reject the connection.
Run your client’s login command again and complete the browser flow. If you still use a legacy API-key config, migrate it to OAuth.
Restart your AI client after updating configuration. For Cursor Agent, make sure the server is in ~/.cursor/mcp.json or project .cursor/mcp.json, not only Cursor’s settings.json.
Confirm the repository has an AI Wiki generated, verify you have access to the repository’s installation, and check that owner and repo match GitHub exactly.