Skip to main content
Choose the IDE or coding tool you already use, then connect cubic so you can review code, inspect PR feedback, and explore codebase context without leaving your workflow.
Start here if you want cubic inside Cursor, Claude Code, VS Code, Codex, Gemini CLI, or a similar tool. Then use Local CLI review if you want cubic to review code before you open a pull request.
1

Run the installer

npx @cubic-plugin/cubic-plugin install --to cursor
2

Get your API key

The installer opens the cubic dashboard in your browser. Generate a key and paste it back in your terminal when prompted.
3

Try it

Open Cursor and try these natural language commands:
  • “review my code”
  • “how does auth work?”
Configure the MCP server manually if you prefer not to use the plugin installer.Add this to ~/.cursor/mcp.json:
{
  "mcpServers": {
    "cubic": {
      "url": "https://www.cubic.dev/api/mcp",
      "headers": {
        "Authorization": "Bearer cbk_your_api_key_here"
      }
    }
  }
}
The plugin installer handles this configuration automatically. Restart Cursor after adding the configuration.
Authentication errors
  • Verify your CUBIC_API_KEY is set correctly.
  • Check that your key starts with cbk_.
  • Ensure your key remains active in the cubic dashboard.
  • Restart your Cursor session.
/cubic-run-review not workingThis command requires the cubic CLI. Install it:
curl -fsSL https://cubic.dev/install | bash
MCP server not connecting
  • Restart Cursor after updating the configuration.
  • Check ~/.cursor/mcp.json for syntax errors.
  • Verify your API key is correct and valid.

What you can do

cubic adds slash commands and skills to your coding agent. Your agent can query codebase documentation, fetch review issues, and help you apply fixes without leaving the editor. See What to ask your agent for the best prompts.
CommandDescription
/cubic-comments [pr-number]Show cubic’s review comments on the current PR (auto-detects branch)
/cubic-run-review [flags]Run a local cubic AI code review on uncommitted changes or branch diff
/cubic-wiki [page-name]Browse AI-generated codebase documentation
/cubic-scan [scan-id]View codebase security scan results and issues
/cubic-learnings [learning-id]Show team code review patterns and preferences
The /cubic-run-review command requires the cubic CLI. See Local CLI review for installation.