Connect cubic’s MCP server to your coding agent to read review findings and codebase context,
request PR reviews, and triage PR or codebase scan issues.
Use the exact endpoint https://www.cubic.dev/api/mcp. Some OAuth clients reject
https://cubic.dev/api/mcp because the protected resource origin does not match.
Cursor
Cursor Agent
Claude Code
Codex
Gemini CLI
OpenCode
Droid
Pi
VS Code
Add the server
Add cubic to ~/.cursor/mcp.json for all projects, or .cursor/mcp.json for one project.
If the file already has servers, add the cubic entry inside its mcpServers object: Connect
Open Cursor’s MCP settings, connect cubic, and complete the browser sign-in flow.
Add the MCP server
Add this to ~/.cursor/mcp.json or project .cursor/mcp.json: Log in
Run these commands from the project where you use Cursor Agent: Log in
Open Claude Code and run:Choose cubic and complete the browser OAuth flow. Optional skills and slash commands
Install the cubic plugin to add skills and namespaced slash commands: Add the MCP server
Add this to ~/.config/opencode/opencode.json: Log in
Open Droid, run /mcp, choose cubic, and complete the browser OAuth flow.
Verify
The /mcp panel should show cubic as connected.
Install cubic's Pi target
The installer writes Pi’s MCP config to ~/.config/mcp/mcp.json. Install the MCP adapter (if needed)
Skip this step if pi-mcp-adapter is already installed. Check the MCP config
The adapter reads ~/.config/mcp/mcp.json automatically. Confirm the config contains: Add the MCP server
Open the Command Palette, run MCP: Add Server, choose HTTP, and enter:Name the server cubic and choose Global or Workspace for the configuration. Log in
Run MCP: List Servers, start cubic, and complete OAuth when prompted.
Verify
Run MCP: List Servers and confirm cubic is running.
What you can ask
Try “use cubic to show open review issues on this PR”. The agent should retrieve the findings
with file locations and descriptions. See MCP tools and examples
for a prompt using an explicit PR URL.
- “start a cubic review of this PR”
- “list wiki pages for this repo”
- “what review learnings apply here?”
- “show scan findings with severity at least 7”
Skills and slash commands
MCP gives your agent access to cubic tools. For agents that also support skills or slash commands, install those separately:
The installer detects supported agents in your home directory. Add --to codex, for example,
to choose one target. See Skills for prerequisites, verification, and
command names for each installation.
To ask your agent to “review my code” locally, install and sign in to the cubic
CLI. MCP setup alone does not install the CLI.