Install and connect cubic in Cursor, Claude Code, VS Code, Codex, Gemini CLI, or another coding tool.
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
1
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:
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.
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.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"cubic documentation","colors":{"primary":"#000000","light":"#FFF"},"logo":"https://mintcdn.com/cubic-2/CzYIIt9u7T6v1xeY/logo/wordmark.svg?fit=max\u0026auto=format\u0026n=CzYIIt9u7T6v1xeY\u0026q=85\u0026s=9215785e1a6887c6da7c0a0f870a579b","favicon":"https://mintcdn.com/cubic-2/AzoJeLhtvGZBEz71/logo/favicon.ico?fit=max\u0026auto=format\u0026n=AzoJeLhtvGZBEz71\u0026q=85\u0026s=4cc2214e144eb0a48996b97651eac650","api":{"openapi":"https://www.cubic.dev/api/v1/openapi.json","playground":{"display":"interactive"},"examples":{"languages":["curl","javascript","python"]}},"appearance":{"default":"dark","strict":true},"navbar":{"links":[{"href":"mailto:contact@cubic.dev","label":"Support"}],"primary":{"type":"button","label":"Open app","href":"https://cubic.dev"}},"integrations":{"posthog":{"apiKey":"phc_DBTnUOZLA1htEQqXnj10SLMQFu7hs77g17HyS0PwNHK","apiHost":"https://www.cubic.dev/ingest"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cubic-2","hasAudioNarration":false,"actualSubdomain":"cubic-2","customDomains":["docs.cubic.dev"],"gitSource":{"type":"github","owner":"mrge-io","repo":"cubic","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adc96ceff87a72d0d5660f0","collectionId":"8dc62a7e-c49b-4ab4-b4b4-5d6aed23773e","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adc96ceff87a72d0d5660f0"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6adc96ceff87a72d0d5660f0","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Documentation","count":55},{"language":"default","tag":"AI code review","count":21},{"language":"default","tag":"Account \u0026 support","count":8},{"language":"default","tag":"Integrations","count":8},{"language":"default","tag":"Review in cubic","count":7},{"language":"default","tag":"API reference","count":6},{"language":"default","tag":"Measure impact","count":5},{"language":"default","tag":"Members","count":4},{"language":"default","tag":"cubic in your IDE","count":4},{"language":"default","tag":"Get started","count":2}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".bg-background-color-light{background-color:#000}:root{--background-dark:0 0 0;--background-light:0 0 0;--tw-bg-opacity:1;--rounded-xl:6px}.dark\\:bg-background-dark:is(.dark *){--tw-bg-opacity:1;background-color:rgb(var(--background-dark)/var(--tw-bg-opacity))}.bg-background-light{--tw-bg-opacity:1;background-color:rgb(var(--background-light)/var(--tw-bg-opacity))}.rounded-xl{border-radius:var(--rounded-xl, 6px)}.codeblock-dark{background-color:#17181a!important}#topbar-cta-button a span.absolute{background-color:#fff!important}#topbar-cta-button a span.text-white,#topbar-cta-button a svg{color:#17181a!important}a:hover{text-decoration:underline}.update-container>div:first-child button{justify-content:flex-start;text-align:left}"}],"page":{"pagePath":"ide/agent-setup","slug":"/ide/agent-setup","pageMetadata":{"title":"Connect cubic to your IDE","description":"Install and connect cubic in Cursor, Claude Code, VS Code, Codex, Gemini CLI, or another coding tool.","href":"/ide/agent-setup"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Install and connect cubic in Cursor, Claude Code, VS Code, Codex, Gemini CLI, or another coding tool.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,CodeBlock,Heading,Step,Steps,Tab,Tabs,Tip,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Connect cubic’s MCP server to your coding agent to read review findings and codebase context,\nrequest PR reviews, and triage PR or codebase scan issues.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Use the exact endpoint `,_jsx(_components.code,{children:`https://www.cubic.dev/api/mcp`}),`. Some OAuth clients reject\n`,_jsx(_components.code,{children:`https://cubic.dev/api/mcp`}),` because the protected resource origin does not match.`]})}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Cursor`,id:`cursor`,children:_jsxs(Steps,{children:[_jsxs(Step,{title:`Add the server`,children:[_jsxs(_components.p,{children:[`Add cubic to `,_jsx(_components.code,{children:`~/.cursor/mcp.json`}),` for all projects, or `,_jsx(_components.code,{children:`.cursor/mcp.json`}),` for one project.\nIf the file already has servers, add the `,_jsx(_components.code,{children:`cubic`}),` entry inside its `,_jsx(_components.code,{children:`mcpServers`}),` object:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mcpServers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cubic\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://www.cubic.dev/api/mcp\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),_jsx(Step,{title:`Connect`,children:_jsx(_components.p,{children:`Open Cursor’s MCP settings, connect cubic, and complete the browser sign-in flow.`})})]})}),_jsx(Tab,{title:`Cursor Agent`,id:`cursor-agent`,children:_jsxs(Steps,{children:[_jsxs(Step,{title:`Add the MCP server`,children:[_jsxs(_components.p,{children:[`Add this to `,_jsx(_components.code,{children:`~/.cursor/mcp.json`}),` or project `,_jsx(_components.code,{children:`.cursor/mcp.json`}),`:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mcpServers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cubic\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://www.cubic.dev/api/mcp\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),_jsxs(Step,{title:`Log in`,children:[_jsx(_components.p,{children:`Run these commands from the project where you use Cursor Agent:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` enable`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cubic`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` login`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cubic`})]}),`\n`]})})})]}),_jsx(Step,{title:`Verify`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` list-tools`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cubic`})]}),`\n`]})})})})]})}),_jsxs(Tab,{title:`Claude Code`,id:`claude-code`,children:[_jsxs(Steps,{children:[_jsx(Step,{title:`Add the MCP server`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`claude`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --transport`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --scope`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` user`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cubic`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://www.cubic.dev/api/mcp`})]}),`\n`]})})})}),_jsxs(Step,{title:`Log in`,children:[_jsx(_components.p,{children:`Open Claude Code and run:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/mcp`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`Choose cubic and complete the browser OAuth flow.`})]}),_jsx(Step,{title:`Verify`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`claude`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` list`})]}),`\n`]})})})})]}),_jsxs(Accordion,{title:`Optional skills and slash commands`,id:`optional-skills-and-slash-commands`,children:[_jsx(_components.p,{children:`Install the cubic plugin to add skills and namespaced slash commands:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/plugin marketplace add mrge-io/skills`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/plugin install cubic@cubic`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})]}),_jsx(Tab,{title:`Codex`,id:`codex`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Add the MCP server`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`codex`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cubic`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://www.cubic.dev/api/mcp`})]}),`\n`]})})})}),_jsx(Step,{title:`Log in`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`codex`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` login`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cubic`})]}),`\n`]})})})}),_jsx(Step,{title:`Verify`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`codex`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` list`})]}),`\n`]})})})})]})}),_jsx(Tab,{title:`Gemini CLI`,id:`gemini-cli`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Add the MCP server`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`gemini`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --transport`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --scope`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` user`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cubic`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://www.cubic.dev/api/mcp`})]}),`\n`]})})})}),_jsxs(Step,{title:`Log in`,children:[_jsx(_components.p,{children:`Open Gemini CLI and run:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/mcp auth cubic`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsx(Step,{title:`Verify`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/mcp`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})})]})}),_jsx(Tab,{title:`OpenCode`,id:`opencode`,children:_jsxs(Steps,{children:[_jsxs(Step,{title:`Add the MCP server`,children:[_jsxs(_components.p,{children:[`Add this to `,_jsx(_components.code,{children:`~/.config/opencode/opencode.json`}),`:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"$schema\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://opencode.ai/config.json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mcp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cubic\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"remote\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://www.cubic.dev/api/mcp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"enabled\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),_jsx(Step,{title:`Log in`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`opencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` auth`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cubic`})]}),`\n`]})})})}),_jsx(Step,{title:`Verify`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`opencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` list`})]}),`\n`]})})})})]})}),_jsx(Tab,{title:`Droid`,id:`droid`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Add the MCP server`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`droid`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cubic`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://www.cubic.dev/api/mcp`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --type`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http`})]}),`\n`]})})})}),_jsx(Step,{title:`Log in`,children:_jsxs(_components.p,{children:[`Open Droid, run `,_jsx(_components.code,{children:`/mcp`}),`, choose cubic, and complete the browser OAuth flow.`]})}),_jsx(Step,{title:`Verify`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`/mcp`}),` panel should show cubic as connected.`]})})]})}),_jsx(Tab,{title:`Pi`,id:`pi`,children:_jsxs(Steps,{children:[_jsxs(Step,{title:`Install cubic's Pi target`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @cubic-plugin/cubic-plugin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --to`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` pi`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`The installer writes Pi’s MCP config to `,_jsx(_components.code,{children:`~/.config/mcp/mcp.json`}),`.`]})]}),_jsxs(Step,{title:`Install the MCP adapter (if needed)`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pi`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` npm:pi-mcp-adapter`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Skip this step if `,_jsx(_components.code,{children:`pi-mcp-adapter`}),` is already installed.`]})]}),_jsxs(Step,{title:`Check the MCP config`,children:[_jsxs(_components.p,{children:[`The adapter reads `,_jsx(_components.code,{children:`~/.config/mcp/mcp.json`}),` automatically. Confirm the config contains:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mcpServers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cubic\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"auth\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"oauth\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://www.cubic.dev/api/mcp\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),_jsx(Step,{title:`Log in`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/mcp-auth cubic`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})}),_jsx(Step,{title:`Verify`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/mcp reconnect cubic`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})})]})}),_jsx(Tab,{title:`VS Code`,id:`vs-code`,children:_jsxs(Steps,{children:[_jsxs(Step,{title:`Add the MCP server`,children:[_jsxs(_components.p,{children:[`Open the Command Palette, run `,_jsx(_components.strong,{children:`MCP: Add Server`}),`, choose HTTP, and enter:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://www.cubic.dev/api/mcp`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Name the server `,_jsx(_components.code,{children:`cubic`}),` and choose `,_jsx(_components.strong,{children:`Global`}),` or `,_jsx(_components.strong,{children:`Workspace`}),` for the configuration.`]})]}),_jsx(Step,{title:`Log in`,children:_jsxs(_components.p,{children:[`Run `,_jsx(_components.strong,{children:`MCP: List Servers`}),`, start cubic, and complete OAuth when prompted.`]})}),_jsx(Step,{title:`Verify`,children:_jsxs(_components.p,{children:[`Run `,_jsx(_components.strong,{children:`MCP: List Servers`}),` and confirm cubic is running.`]})})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`what-you-can-ask`,children:`What you can ask`}),`\n`,_jsxs(_components.p,{children:[`Try “use cubic to show open review issues on this PR”. The agent should retrieve the findings\nwith file locations and descriptions. See `,_jsx(_components.a,{href:`/ide/mcp-server#try-your-first-prompt`,children:`MCP tools and examples`}),`\nfor a prompt using an explicit PR URL.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`“start a cubic review of this PR”`}),`\n`,_jsx(_components.li,{children:`“list wiki pages for this repo”`}),`\n`,_jsx(_components.li,{children:`“what review learnings apply here?”`}),`\n`,_jsx(_components.li,{children:`“show scan findings with severity at least 7”`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`skills-and-slash-commands`,children:`Skills and slash commands`}),`\n`,_jsx(_components.p,{children:`MCP gives your agent access to cubic tools. For agents that also support skills or slash commands, install those separately:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @cubic-plugin/cubic-plugin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --skills-only`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The installer detects supported agents in your home directory. Add `,_jsx(_components.code,{children:`--to codex`}),`, for example,\nto choose one target. See `,_jsx(_components.a,{href:`/ide/skills`,children:`Skills`}),` for prerequisites, verification, and\n`,_jsx(_components.a,{href:`/ide/skills#slash-commands`,children:`command names for each installation`}),`.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`To ask your agent to “review my code” locally, install and sign in to the `,_jsx(_components.a,{href:`/ide/cli-review`,children:`cubic\nCLI`}),`. MCP setup alone does not install the CLI.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Connect cubic to your IDE","description":"Install and connect cubic in Cursor, Claude Code, VS Code, Codex, Gemini CLI, or another coding tool.","href":"/ide/agent-setup"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What you can ask","slug":"what-you-can-ask","depth":2,"children":[]},{"title":"Skills and slash commands","slug":"skills-and-slash-commands","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"cubic-2","siteName":"cubic documentation","title":"Connect cubic to your IDE - cubic documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-05T09:15:02.028Z","originalFileLocation":"ide/agent-setup.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Install and connect cubic in Cursor, Claude Code, VS Code, Codex, Gemini CLI, or another coding tool.\">\u003cmeta data-mint-head name=\"application-name\" content=\"cubic documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cubic-2/uyrI2aLl1wyZHJuX/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/cubic-2/uyrI2aLl1wyZHJuX/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cubic-2/uyrI2aLl1wyZHJuX/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cubic-2/uyrI2aLl1wyZHJuX/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cubic-2/uyrI2aLl1wyZHJuX/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cubic-2/uyrI2aLl1wyZHJuX/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cubic-2/uyrI2aLl1wyZHJuX/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cubic-2/uyrI2aLl1wyZHJuX/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cubic-2/uyrI2aLl1wyZHJuX/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Connect cubic to your IDE - cubic documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Install and connect cubic in Cursor, Claude Code, VS Code, Codex, Gemini CLI, or another coding tool.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"cubic documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cubic.dev/ide/agent-setup\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cubic-2.mintlify.app/_mintlify/api/og/v2?division=cubic+in+your+IDE\u0026amp;title=Connect+cubic+to+your+IDE\u0026amp;description=Install+and+connect+cubic+in+Cursor%2C+Claude+Code%2C+VS+Code%2C+Codex%2C+Gemini+CLI%2C+or+another+coding+tool.\u0026amp;theme=2ee71ba6080c661878d1a45d\u0026amp;signature=02b2d7f5d920b1be82481e426e443481c07dfba8b343fdf20f9555ee7ca4ebc2\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Connect cubic to your IDE - cubic documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Install and connect cubic in Cursor, Claude Code, VS Code, Codex, Gemini CLI, or another coding tool.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cubic-2.mintlify.app/_mintlify/api/og/v2?division=cubic+in+your+IDE\u0026amp;title=Connect+cubic+to+your+IDE\u0026amp;description=Install+and+connect+cubic+in+Cursor%2C+Claude+Code%2C+VS+Code%2C+Codex%2C+Gemini+CLI%2C+or+another+coding+tool.\u0026amp;theme=2ee71ba6080c661878d1a45d\u0026amp;signature=02b2d7f5d920b1be82481e426e443481c07dfba8b343fdf20f9555ee7ca4ebc2\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/cubic-2/uyrI2aLl1wyZHJuX/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"cubic documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cubic.dev/ide/agent-setup\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/ide/agent-setup.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cubic.dev/#organization\",\"name\":\"cubic documentation\",\"url\":\"https://docs.cubic.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cubic-2/CzYIIt9u7T6v1xeY/logo/wordmark.svg?fit=max\u0026auto=format\u0026n=CzYIIt9u7T6v1xeY\u0026q=85\u0026s=9215785e1a6887c6da7c0a0f870a579b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cubic.dev#website\",\"name\":\"cubic documentation\",\"url\":\"https://docs.cubic.dev\",\"publisher\":{\"@id\":\"https://docs.cubic.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cubic.dev/ide/agent-setup#webpage\",\"url\":\"https://docs.cubic.dev/ide/agent-setup\",\"name\":\"Connect cubic to your IDE\",\"description\":\"Install and connect cubic in Cursor, Claude Code, VS Code, Codex, Gemini CLI, or another coding tool.\",\"dateModified\":\"2026-09-05T09:15:02.028Z\",\"isPartOf\":{\"@id\":\"https://docs.cubic.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cubic.dev/ide/agent-setup#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cubic.dev/ide/agent-setup#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"cubic documentation\",\"item\":\"https://docs.cubic.dev\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Connect cubic to your IDE\",\"item\":\"https://docs.cubic.dev/ide/agent-setup\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.cubic.dev/ide/agent-setup#article\",\"headline\":\"Connect cubic to your IDE\",\"name\":\"Connect cubic to your IDE\",\"description\":\"Install and connect cubic in Cursor, Claude Code, VS Code, Codex, Gemini CLI, or another coding tool.\",\"url\":\"https://docs.cubic.dev/ide/agent-setup\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cubic.dev/ide/agent-setup#webpage\"},\"dateModified\":\"2026-09-05T09:15:02.028Z\",\"publisher\":{\"@id\":\"https://docs.cubic.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cubic.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"cubic documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"cubic documentation","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","groups":[{"group":"Get started","pages":[{"title":"Introduction","href":"/ai-review/introduction"},{"title":"Developer quickstart","href":"/ai-review/quickstart"}]},{"group":"AI code review","pages":[{"title":"Key features","href":"/ai-review/key-features"},{"title":"Custom agents","href":"/ai-review/custom-agents"},{"title":"Custom context","href":"/ai-review/custom-context"},{"title":"Cross-repo reviews","href":"/ai-review/cross-repo-reviews"},{"title":"Issue tracker integration","href":"/ai-review/issue-analysis"},{"title":"Coding agents","href":"/ai-review/coding-agents"},{"title":"Auto-fix","href":"/ai-review/auto-fix"},{"title":"Interactive comments","href":"/ai-review/interactive-comments"},{"title":"Ultrareview","href":"/ai-review/ultrareview"},{"title":"Auto-approval","href":"/ai-review/auto-approval"},{"title":"AI review settings","href":"/ai-review/ai-review-settings"},{"title":"Memory and learning","href":"/ai-review/memory-and-learning"},{"title":"Configure with cubic.yaml","href":"/configure/cubic-yaml"},{"group":"Integrations","pages":[{"title":"Overview","href":"/integrations/overview"},{"title":"Linear","href":"/integrations/linear-integration"},{"title":"Jira","href":"/integrations/jira-integration"},{"title":"Asana","href":"/integrations/asana-integration"},{"title":"GitHub Issues","href":"/integrations/github-issues-integration"},{"title":"Slack PR channels","href":"/integrations/slack-pr-channels"},{"title":"Notion","href":"/integrations/notion-integration"},{"title":"Confluence","href":"/integrations/confluence-integration"}]}]},{"group":"Review in cubic","pages":[{"title":"Review in cubic","href":"/code-review-platform/overview"},{"title":"Review a pull request","href":"/code-review-platform/reviewing-prs"},{"title":"Grouped changes","href":"/code-review-platform/intelligent-diff-ordering"},{"title":"AI chat","href":"/code-review-platform/ai-sidebar"},{"title":"Pull request inbox","href":"/code-review-platform/dashboard"},{"title":"Keyboard shortcuts","href":"/code-review-platform/command-bar"},{"title":"Desktop app","description":"Keep your review queue in the menu bar with the cubic desktop app.","href":"/code-review-platform/desktop-app"}]},{"group":"cubic in your IDE","pages":[{"title":"Connect cubic to your IDE","href":"/ide/agent-setup"},{"title":"Local CLI review","description":"Run a fast local cubic AI code review from the command line before you push.","href":"/ide/cli-review"},{"title":"Skills","href":"/ide/skills"},{"title":"MCP server","href":"/ide/mcp-server"}]},{"group":"Measure impact","pages":[{"title":"Analytics","href":"/analytics/overview"},{"title":"Analytics API","href":"/analytics/api"},{"title":"AI coding","href":"/analytics/ai-coding"},{"title":"AI review","href":"/analytics/ai-review"},{"title":"Delivery \u0026 effectiveness","href":"/analytics/delivery-and-effectiveness"}]},{"group":"Portal","pages":[{"title":"AI wiki","href":"/wiki/ai-wiki"},{"title":"Codebase scans","href":"/codebase-scan/codebase-scans"}]},{"group":"Account \u0026 support","pages":[{"title":"Subscription","href":"/account/subscription"},{"title":"AI review usage and limits","href":"/account/ai-review-usage"},{"title":"Flex capacity","href":"/account/flex-capacity"},{"title":"Roles and permissions","href":"/account/roles-and-permissions"},{"title":"Members API","href":"/account/members-api"},{"title":"Support","href":"/account/support"},{"title":"Privacy \u0026 security","href":"/account/privacy-security"},{"title":"Verify your GitHub email","href":"/account/verify-github-email"}]},{"group":"API reference","pages":[{"title":"API overview","href":"/api-reference/overview"},{"group":"Members","pages":[{"title":"List organizations","openapi":"GET /api/v1/organizations","href":"/api-reference/members/list-organizations"},{"title":"List members","openapi":"GET /api/v1/organizations/{org}/members","href":"/api-reference/members/list-members"},{"title":"Get a member","openapi":"GET /api/v1/organizations/{org}/members/{githubUserId}","href":"/api-reference/members/get-member"},{"title":"Update a member","openapi":"PATCH /api/v1/organizations/{org}/members/{githubUserId}","href":"/api-reference/members/update-member"}]},{"group":"Analytics","pages":[{"title":"List pull request analytics","openapi":"openapi/analytics.json GET /api/analytics/v1/prs","href":"/api-reference/analytics/list-pull-requests"}]}]}]},{"anchor":"Changelog","icon":"clock","pages":[{"title":"Changelog","href":"/changelog"}]},{"anchor":"Blog","icon":"newspaper","href":"https://cubic.dev/blog"}]},"basePath":"","title":"Connect cubic to your IDE - cubic documentation","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":[],"chunks":[]}