Namespace MCP server - Namespace Documentation
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Assistant
Responses are generated using AI and may contain mistakes.
The Namespace MCP server lets AI agents investigate builds and GitHub Actions jobs, analyze compute and CI usage, and manage Devboxes.
Connect your agent
Add the server to your agent, then log in.
Claude Code
Codex CLI
Cursor
VS Code
Amp
Gemini CLI
Add the server for all your projects:
Read and write
Read only
claude mcp add --transport http --scope user namespace https://mcp.namespace.so/mcp
claude mcp add --transport http --scope user namespace https://mcp.namespace.so/mcp/readonly
Log in by running /mcp in a Claude Code session, selecting namespace, and choosing Authenticate. You can also log in from the terminal:
claude mcp login namespace
To check the connection, run claude mcp list.
Add the server:
Read and write
Read only
codex mcp add namespace --url https://mcp.namespace.so/mcp
codex mcp add namespace --url https://mcp.namespace.so/mcp/readonly
Or add it to ~/.codex/config.toml:
~/.codex/config.toml
[mcp_servers.namespace]
url = "https://mcp.namespace.so/mcp"
If Codex doesn’t open the login when you add the server, log in with:
codex mcp login namespace
To check the connection, run codex mcp list.
Install the server with one click:
| Access | Install |
|---|---|
| Read and write | |
| Read only |
After you add the server, Cursor opens Customize > MCPs. Select Authenticate on the Namespace tile to log in.
Install the server with one click:
| Access | Install |
|---|---|
| Read and write | |
| Read only |
After you add the server, VS Code asks you to authenticate. Select Allow to log in.To check the connection, run MCP: List Servers from the Command Palette.
Add the server:
Read and write
Read only
amp mcp add namespace https://mcp.namespace.so/mcp
amp mcp add namespace https://mcp.namespace.so/mcp/readonly
Amp opens the login in your browser the next time you start it.To check the connection, run amp mcp list.
Add the server for all your projects:
Read and write
Read only
gemini mcp add --transport http --scope user namespace https://mcp.namespace.so/mcp
gemini mcp add --transport http --scope user namespace https://mcp.namespace.so/mcp/readonly
Gemini CLI opens the login in your browser when it first connects. To log in again, run /mcp auth namespace in a session.To check the connection, run gemini mcp list.
Choose access
| Endpoint | Access | Use it to |
|---|---|---|
https://mcp.namespace.so/mcp |
Read and write | Let the agent do everything available with read-only access, plus create, start, stop, and delete Devboxes and run commands in them. |
https://mcp.namespace.so/mcp/readonly |
Read only | Let the agent investigate GitHub Actions jobs and builds, analyze compute resource usage, and check the Namespace service status without changing anything. |
The first time your agent connects, it opens Namespace in your browser. Review the requested permissions, then authorize the workspace it can access.
Read-only access only limits the Namespace MCP server. An agent with shell access can still use nsc or devbox with your local credentials.
Common use cases
| Use case | Example prompt |
|---|---|
| Investigate jobs | ”Why did Namespace GitHub Actions job <job-id> fail?” |
| Analyze CI usage | ”Which GitHub Actions jobs ran most often on Namespace this week?” |
| Right-size runners | ”Which GitHub Actions jobs running on Namespace can move to smaller runners?” |
| Investigate builds | ”Why did Namespace container image build <build-ref> fail?” |
| Instance observability | ”Why did Namespace instance <instance-id> fail? Chart its resource usage.” |
| Devboxes | ”Create a Namespace Devbox, make a Hello World HTML page, serve it, and expose it at a private devbox.so URL.” |
Use MCP with local tools
For the most efficient workflows, install nsc, devbox, and the GitHub CLI alongside the Namespace MCP server. MCP connects the agent to your Namespace resources. When a task needs capabilities it doesn’t provide, it may guide the agent to the appropriate CLI.
| Tool | Best for |
|---|---|
| Namespace MCP | Finding and connecting workspace resources, CI usage, and compute metrics. |
nsc |
Complete, live, or cross-instance logs and other Namespace CLI workflows. |
devbox |
Uploading local files and working directly with Devboxes. |
| GitHub CLI | Pull request and commit context, and complete or live GitHub Actions logs. |
Manage access
Each connection is authorized for one workspace. To use another workspace, add the server under a different name and authorize it separately. Sessions renew automatically.To review or revoke access, open Applications in the Namespace dashboard. Revoked agents must log in again.
Troubleshooting
| Problem | Resolution |
|---|---|
| The agent needs authentication | Start the login from your agent using the instructions under Connect your agent. |
| Write tools are missing | Connect to https://mcp.namespace.so/mcp instead of the read-only endpoint, then log in again. |
| Authentication failed | The approval may have been revoked. Log in again from your agent. |
| Permission denied | Check that you authorized the correct workspace and that your Namespace role can access the resource. |
Last modified onOctober 7, 2026
Ctrl+I
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Namespace Documentation","colors":{"primary":"#1C32FF","light":"#6B78FF","dark":"#1C32FF"},"logo":{"light":"https://mintcdn.com/namespace-labs/qOJQ7kaWRgoS8lyv/logo-light.svg?fit=max\\u0026auto=format\\u0026n=qOJQ7kaWRgoS8lyv\\u0026q=85\\u0026s=6827b0c81c335badc1cef13b83383e1d","dark":"https://mintcdn.com/namespace-labs/qOJQ7kaWRgoS8lyv/logo-dark.svg?fit=max\\u0026auto=format\\u0026n=qOJQ7kaWRgoS8lyv\\u0026q=85\\u0026s=63702d83d8fb259023deb79db06aabbb","href":"https://namespace.so"},"favicon":"https://mintcdn.com/namespace-labs/MoefQ379UcpNU680/favicon.svg?fit=max\\u0026auto=format\\u0026n=MoefQ379UcpNU680\\u0026q=85\\u0026s=6f14a088da55e5f41847845796737353","navbar":{"links":\[{"href":"https://namespace.so/changelog","label":"Changelog"},{"href":"https://namespace.so/support","label":"Support"}\],"primary":{"type":"button","label":"Log in","href":"https://cloud.namespace.so"}},"footer":{"socials":{"github":"https://github.com/namespacelabs","linkedin":"https://www.linkedin.com/company/namespacelabs","x":"https://x.com/namespacelabs"}},"icons":{"library":"lucide"},"contextual":{"options":\["copy","view","chatgpt","claude"\],"display":"header"},"interaction":{"drilldown":false},"metadata":{"timestamp":true},"styling":{"latex":true},"navigation":{"global":{"anchors":\[{"anchor":"Changelog","icon":"history","href":"https://namespace.so/changelog"},{"anchor":"Trust Center (SOC2)","icon":"shield-check","href":"https://trust.namespace.so/"},{"anchor":"Status","icon":"activity","href":"https://namespace-status.com/"},{"anchor":"Support","icon":"message-circle","href":"https://namespace.so/support"}\]},"pages":\[\]}},"deployment":{"deploymentMetadataValue":{"subdomain":"namespace-labs","hasAudioNarration":false,"actualSubdomain":"namespace-labs","customDomains":\["namespace.so"\],"gitSource":{"type":"github","owner":"namespacelabs","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6ae0862207896b4595e1934b","collectionId":"847aecca-4a0b-40b4-a393-e976cc214b43","liveDeploymentHistoryId":"6ae0862207896b4595e1934b","schemaVersion":"v3"},"entitlements":{"AI\_CHAT":{"status":"ENABLED"},"WEB\_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae0a8f6edbd4c098a94623c","clientVersion":"0.0.3971","searchFilterCounts":\[{"language":"default","tag":"Products","count":377},{"language":"default","tag":"CLI","count":166},{"language":"default","tag":"Command line","count":165},{"language":"default","tag":"Namespace CLI","count":131},{"language":"default","tag":"Documentation","count":104},{"language":"default","tag":"GitHub Actions","count":40},{"language":"default","tag":"Devbox CLI","count":34},{"language":"default","tag":"Integrations","count":33},{"language":"default","tag":"SDK","count":25},{"language":"default","tag":"Namespace SDK","count":23}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","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":"editor-v7-file-tree","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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"editor-agent-model-picker","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":true},"customCss":[{"filePath":"snippets/diagrams/styles.css","content":".ns-diagram{--ns-diagram-background:#ffffff;--ns-diagram-grid:#e5e7ee;--ns-diagram-border:#e5e7ee;--ns-diagram-card:#ffffff;--ns-diagram-neutral-zone:#fafbfc;--ns-diagram-brand-zone-start:rgba(28, 50, 255, 0.04);--ns-diagram-brand-zone-end:rgba(28, 50, 255, 0.07);--ns-diagram-brand-border:#c8ceff;--ns-diagram-heading:#202938;--ns-diagram-muted:#8892a6;--ns-diagram-copy:#4a5468;position:relative;width:100%;margin:2rem 0;padding:clamp(20px,3.5vw,32px);overflow:hidden;color:var(--ns-diagram-heading);background:var(--ns-diagram-background);border:1px solid var(--ns-diagram-border);border-radius:20px;box-shadow:0 1px 0 rgba(32,41,56,.04),0 1px 2px rgba(32,41,56,.06)}.dark .ns-diagram{--ns-diagram-background:#111827;--ns-diagram-grid:#374151;--ns-diagram-border:#374151;--ns-diagram-card:#1f2937;--ns-diagram-neutral-zone:#171f2d;--ns-diagram-brand-zone-start:rgba(107, 120, 255, 0.1);--ns-diagram-brand-zone-end:rgba(107, 120, 255, 0.16);--ns-diagram-brand-border:#4f5fc7;--ns-diagram-heading:#f3f4f6;--ns-diagram-muted:#aeb6c5;--ns-diagram-copy:#cbd5e1}.ns-diagram-grid-background{position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(circle,var(--ns-diagram-grid) 1px,transparent 1px);background-size:16px 16px;opacity:.5;mask-image:linear-gradient(180deg,transparent 0,#000 10%,#000 90%,transparent 100%)}.ns-diagram-content{position:relative}.ns-diagram-caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ns-diagram-mark{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;margin:0;border-radius:8px}.ns-diagram-mark-anthropic{color:#d97757;background:#fcefe8}.ns-diagram-mark-devin{color:#4338ca;background:#eef0ff}.ns-diagram-mark-cursor{color:#111827;background:#eef0f3}.ns-diagram-mark-control{color:#1c32ff;background:#e0e7ff}.ns-diagram-mark-terminal{color:#fff;background:#202938}.ns-diagram-mark-worker{color:#4338ca;background:#eef1ff}.ns-diagram-zone{position:relative;display:flex;flex-direction:column;padding:1.25rem;background:var(--ns-diagram-neutral-zone);border:1px dashed #d2d6e0;border-radius:14px}.dark .ns-diagram-zone{border-color:#4b5563}.ns-diagram-zone-brand{background:linear-gradient(180deg,var(--ns-diagram-brand-zone-start),var(--ns-diagram-brand-zone-end));border:1px solid var(--ns-diagram-brand-border)}.ns-diagram-zone-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem;color:var(--ns-diagram-copy);font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}.ns-diagram-zone-center{display:flex;flex:1;align-items:center}.ns-diagram-zone-center>*{width:100%}.ns-diagram-card{position:relative;display:flex;align-items:center;gap:1rem;min-width:0;padding:1rem 1.25rem;background:var(--ns-diagram-card);border:1px solid var(--ns-diagram-border);border-radius:12px;box-shadow:0 1px 0 rgba(32,41,56,.04),0 1px 2px rgba(32,41,56,.06)}.ns-diagram-card-brand{border-color:var(--ns-diagram-brand-border)}.ns-diagram-card-copy{display:flex;min-width:0;flex-direction:column}.ns-diagram-card-label{color:var(--ns-diagram-heading);font-size:16px;font-weight:600;line-height:1.25;letter-spacing:-.01em}.ns-diagram-card-sublabel{margin-top:.125rem;color:var(--ns-diagram-muted);font-size:12px;line-height:1.35}.ns-managed-layout{display:grid;grid-template-columns:1fr auto 1.05fr;align-items:stretch}.ns-managed-connector{display:flex;width:64px;flex-direction:column;align-items:center;justify-content:center;padding:0 .25rem;color:var(--ns-diagram-muted);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:10.5px}.ns-managed-connector>span{margin-bottom:.375rem}.ns-managed-connector-path{display:flex;width:56px;align-items:center}.ns-managed-connector-line{flex:1;height:1.5px;background:#d2d6e0}.ns-managed-connector-arrow{border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:9px solid #d2d6e0}.ns-mini-connector{display:flex;flex-direction:column;align-items:center;padding:.375rem 0}.ns-mini-connector>div{width:1.5px;height:12px;background:var(--ns-diagram-brand-border)}.ns-mini-connector>span{border-top:7px solid var(--ns-diagram-brand-border);border-right:5px solid transparent;border-left:5px solid transparent}.ns-devin-devboxes,.ns-devin-sessions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}.ns-devin-mobile-layout{display:none}.ns-devin-connectors,.ns-devin-connectors>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.ns-devin-connectors{gap:1.5rem}.ns-devin-connectors>div{padding:0 1rem}.ns-devin-connector{position:relative;display:flex;min-height:110px;align-items:center;justify-content:center;color:var(--ns-diagram-copy);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:10px;line-height:1.25;text-align:center}.ns-devin-management-connector{min-height:70px;color:#6366f1}.ns-devin-connector-line{position:absolute;top:0;bottom:0;left:50%;width:1.5px;background:#d2d6e0;transform:translateX(-50%)}.ns-devin-management-connector .ns-devin-connector-line,.ns-diagram-connector-dashed .ns-diagram-vertical-line{width:0;background:0 0;border-left:1.5px dashed var(--ns-diagram-brand-border)}.ns-devin-connector>span,.ns-diagram-vertical-connector>span{position:relative;z-index:1;padding:0 .375rem;background:var(--ns-diagram-background)}.ns-control-plane-pill{display:flex;align-items:center;align-self:center;gap:.375rem;margin-bottom:1rem;padding:.375rem .75rem;color:#4338ca;background:#eef1ff;border:1px solid var(--ns-diagram-brand-border);border-radius:999px;font-size:12px;font-weight:500}.ns-diagram-vertical-connector{position:relative;display:flex;align-items:center;justify-content:center;color:var(--ns-diagram-copy);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:10px;line-height:1.25;text-align:center}.ns-diagram-vertical-line{position:absolute;top:0;bottom:0;left:50%;width:1.5px;background:#d2d6e0;transform:translateX(-50%)}.ns-diagram-connector-dashed{color:#6366f1}.ns-diagram-arrow-down{position:absolute;bottom:0;left:50%;border-top:8px solid #d2d6e0;border-right:5px solid transparent;border-left:5px solid transparent;transform:translateX(-50%)}.ns-devin-management-connector .ns-diagram-arrow-down,.ns-diagram-connector-dashed .ns-diagram-arrow-down{border-top-color:var(--ns-diagram-brand-border)}.ns-bazel-connector-inset{padding:0 1rem}.ns-bazel-workers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}@media (max-width:767px){.ns-managed-layout{grid-template-columns:1fr}.ns-managed-connector{position:relative;width:auto;min-height:64px;padding:.5rem 0}.ns-managed-connector-path{width:auto;flex-direction:column}.ns-managed-connector-line{width:1.5px;height:24px;flex:none}.ns-managed-connector-arrow{border-top:9px solid #d2d6e0;border-right:6px solid transparent;border-bottom:0;border-left:6px solid transparent}.ns-devin-connectors,.ns-devin-devboxes,.ns-devin-sessions{grid-template-columns:1fr}.ns-devin-desktop-layout{display:none}.ns-devin-mobile-layout{display:block}.ns-devin-mobile-lane+.ns-devin-mobile-lane{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--ns-diagram-border)}.ns-devin-mobile-connectors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0 .5rem}.ns-devin-connector{min-height:80px}.ns-bazel-workers{grid-template-columns:1fr}}"},{"filePath":"style.css","content":":root{--namespace-radius-inline:0.25rem;--namespace-radius-control:0.375rem;--namespace-radius-container:0.5rem}#content-container,.almond-layout>div,.card,.chat-assistant-floating-input>div,.code-block,.frame,.pagination-next,.pagination-prev{border-radius:var(--namespace-radius-container)}.code-block [data-component-part=code-block-root],.frame>div{border-radius:inherit}#assistant-entry,#chat-assistant-textarea,#search-bar-entry,#search-input,.callout,.frame>.relative{border-radius:var(--namespace-radius-control)}.code-block-fade-overlay{border-radius:0 var(--namespace-radius-container) var(--namespace-radius-container) 0}#page-context-menu>button:first-child{border-radius:var(--namespace-radius-control) 0 0 var(--namespace-radius-control)}#page-context-menu>button:last-child{border-radius:0 var(--namespace-radius-control) var(--namespace-radius-control) 0}#content :not(pre)>code,#navigation-items li>a,#navigation-items li>button{border-radius:var(--namespace-radius-inline)}#navigation-items .nav-anchor>:is(svg, img),#navigation-items .sidebar-group-icon,#navigation-items [data-component-part=scroll-area-content]:has(>ul.nav-anchors),#navigation-items li>:is(a, button)>div[class=\"h-[1lh]\"]:first-child{display:flex;flex-direction:column}#navigation-items [data-component-part=scroll-area-content]>ul.nav-anchors{order:1;margin-top:1rem;padding-top:1rem;border-top:1px solid color-mix(in srgb,currentColor 10%,transparent)}#navigation-items [data-component-part=scroll-area-content]>ul.sidebar-group{margin-top:.5rem}#navigation-items [data-component-part=scroll-area-content]>ul.sidebar-group+div{margin-top:1rem}.tab-container{overflow:hidden;padding:0 1rem 1rem;border:1px solid color-mix(in srgb,currentColor 12%,transparent);border-radius:var(--namespace-radius-container)}.tab-container [data-component-part=tab-content]>[data-table-wrapper]:last-child{margin-bottom:0;padding-bottom:0}#content .katex-display>.katex{text-align:left}.compact-table table td{min-width:0}#navigation-items ul.sidebar-group>li.space-y-px+li.space-y-px{margin-top:.75rem}#navigation-items .my-2>.sidebar-group-header{margin-bottom:.625rem;font-size:.8125rem;line-height:1.625rem;font-weight:600;letter-spacing:-.02em;text-transform:none;opacity:1}#navigation-items ul.sidebar-group>li.space-y-px>button{font-size:.8125rem;font-weight:600;letter-spacing:-.02em;background-color:transparent}#navigation-items ul.sidebar-group>li.space-y-px>button:hover,#navigation-items ul.sidebar-group>li.space-y-px>ul>li.space-y-px>button:hover{background-color:color-mix(in srgb,currentColor 6%,transparent)}#navigation-items ul.sidebar-group>li.space-y-px>ul>li.space-y-px>button,#navigation-items ul.sidebar-group>li.space-y-px>ul>li>a{padding-left:3rem!important;font-size:.8125rem;font-weight:400;letter-spacing:-.02em}#navigation-items ul.sidebar-group>li.space-y-px>ul>li.space-y-px>ul>li[data-active-nav-item=true]>a,#navigation-items ul.sidebar-group>li.space-y-px>ul>li[data-active-nav-item=true]>a{color:#121516!important;background-color:rgb(18 21 22/6%)!important}.dark #navigation-items ul.sidebar-group>li.space-y-px>ul>li.space-y-px>ul>li[data-active-nav-item=true]>a,.dark #navigation-items ul.sidebar-group>li.space-y-px>ul>li[data-active-nav-item=true]>a{color:#f4f4f5!important;background-color:rgb(255 255 255/8%)!important}#navigation-items ul.sidebar-group>li.space-y-px>ul>li.space-y-px>button{background-color:transparent}#navigation-items ul.sidebar-group>li.space-y-px>ul>li.space-y-px>button>div[class=\"h-[1lh]\"]:first-child{margin-left:-1.75rem}.dark #navigation-items img[src*=buildkite-mark]{filter:brightness(.7)}.dark img[src*=\"/icons/apple.svg\"]{filter:invert(1)}.dark img.tab-icon[src*=\"/icons/linux.svg\"]{filter:invert(.35) brightness(1.54)}#navigation-items ul.sidebar-group>li.space-y-px>ul>li.space-y-px>ul>li>a{padding-left:4rem!important;font-size:.8125rem;font-weight:400;letter-spacing:-.02em}@media (min-width:1024px){#sidebar-content{width:calc(16.5rem + 10px)}#content-container{margin-left:calc(16.5rem + 10px)}#navbar{container-type:inline-size}#navbar .nav-tabs{position:fixed;top:0;left:20rem;height:3.5rem;column-gap:2rem}#navbar div:has(>div>.nav-tabs){justify-content:flex-end}@container (max-width: 69rem){#navbar .navbar-link:has(>a[href=\"https://namespace.so/changelog\\"\]){display:none}}}@media (min-width:1280px){#content-container{padding-right:1.5rem;padding-left:3rem}#content-container>div{column-gap:1.5rem;justify-content:flex-start}#content-area{width:calc(100% - 13.5rem);max-width:52rem;flex:none}#content-side-layout{width:15rem;max-width:15rem;flex-basis:15rem}#content-side-layout>div{width:15rem;padding-left:1rem}#content-side-layout>div>div{width:14rem}}@media (min-width:1700px){#content-container>div{justify-content:center}}"},{"filePath":"reference/github-actions/runner-configuration.css","content":""},{"filePath":"workspaces/access.css","content":""},{"filePath":"platform/workspaces/access.css","content":""},{"filePath":"reference/devbox-cli/desktop.css","content":""}],"page":{"pagePath":"reference/mcp","slug":"/reference/mcp","pageMetadata":{"title":"Namespace MCP server","sidebarTitle":"Namespace MCP server","description":"Connect AI agents such as Claude Code, Codex, Cursor, and VS Code to Namespace with the hosted MCP server.","icon":"plug","href":"/reference/mcp/index"},"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: \"Connect AI agents such as Claude Code, Codex, Cursor, and VS Code to Namespace with the hosted MCP server.\"\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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Frame,Heading,OptimizedImage,Tab,Table,Tabs,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The Namespace MCP server lets AI agents investigate builds and GitHub Actions jobs, analyze compute and CI usage, and manage Devboxes.`}),`\n`,_jsx(Heading,{level:`2`,id:`connect-your-agent`,children:`Connect your agent`}),`\n`,_jsx(_components.p,{children:`Add the server to your agent, then log in.`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Claude Code`,id:`claude-code`,children:[_jsx(_components.p,{children:`Add the server for all your projects:`}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Read and write`,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:` namespace`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://mcp.namespace.so/mcp\`})\]}),\`\\n\`\]})})}),\_jsx(CodeBlock,{filename:`Read only`,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:` namespace`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://mcp.namespace.so/mcp/readonly\`})\]}),\`\\n\`\]})})})\]}),\_jsxs(_components.p,{children:[`Log in by running `,_jsx(_components.code,{children:`/mcp`}),` in a Claude Code session, selecting `,_jsx(_components.code,{children:`namespace`}),`, and choosing `,_jsx(_components.strong,{children:`Authenticate`}),`. You can also log in from the terminal:`]}),_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:` login`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` namespace`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`To check the connection, run `,_jsx(_components.code,{children:`claude mcp list`}),`.`]})]}),_jsxs(Tab,{title:`Codex CLI`,id:`codex-cli`,children:[_jsx(_components.p,{children:`Add the server:`}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Read and write`,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:` namespace`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://mcp.namespace.so/mcp\`})\]}),\`\\n\`\]})})}),\_jsx(CodeBlock,{filename:`Read only`,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:` namespace`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://mcp.namespace.so/mcp/readonly\`})\]}),\`\\n\`\]})})})\]}),\_jsxs(_components.p,{children:[`Or add it to `,_jsx(_components.code,{children:`/.codex/config.toml`}),`:`]}),_jsx(CodeBlock,{filename:`/.codex/config.toml`,numberOfLines:`2`,language:`toml`,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:`toml`,children:_jsxs(_components.code,{language:`toml`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`mcp_servers`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`namespace`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--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://mcp.namespace.so/mcp\\"\`})\]}),\`\\n\`\]})})}),\_jsx(_components.p,{children:`If Codex doesn’t open the login when you add the server, log in with:`}),_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:` namespace`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`To check the connection, run `,_jsx(_components.code,{children:`codex mcp list`}),`.`]})]}),_jsxs(Tab,{title:`Cursor`,id:`cursor`,children:[_jsx(_components.p,{children:`Install the server with one click:`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Access`}),_jsx(_components.th,{children:`Install`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Read and write`}),_jsx(_components.td,{children:_jsxs(`a`,{href:`cursor://anysphere.cursor-deeplink/mcp/install?name=namespace\u0026config=eyJ1cmwiOiJodHRwczovL21jcC5uYW1lc3BhY2Uuc28vbWNwIn0=`,\"aria-label\":`Add Namespace MCP (read and write) to Cursor`,style:{display:`inline-flex`,verticalAlign:`middle`,border:`none`,textDecoration:`none`},children:[_jsx(OptimizedImage,{src:`https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-dark.svg?fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=eaee4840b2f6984f6d30353ee775715c\`,alt:\`Add to Cursor`,width:126,height:28,className:`dark:mint-hidden`,style:{margin:0},\"data-og-width\":`126`,\"data-og-height\":`28`,\"data-path\":`images/mcp/cursor-install-dark.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-dark.svg?w=280\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=556f03f88625d46a822d4334eed148f9 280w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-dark.svg?w=560\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=e8814b7b521c0fa16603e34f5a05b376 560w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-dark.svg?w=840\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=a0f010df203a29f9c3b749fa609eb7bf 840w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-dark.svg?w=1100\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=22639689a965a56f9d95917f22b0041c 1100w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-dark.svg?w=1650\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=2f838bd25a5f4a94ec221e2b1b4a5503 1650w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-dark.svg?w=2500\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=4effa33c75585d96a45ae9d55d526091 2500w`}),_jsx(OptimizedImage,{src:`https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-light.svg?fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=f1ae00e35c627e769c286529fb29ffa1\`,alt:\`Add to Cursor`,width:126,height:28,className:`mint-hidden dark:mint-block`,style:{margin:0},\"data-og-width\":`126`,\"data-og-height\":`28`,\"data-path\":`images/mcp/cursor-install-light.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-light.svg?w=280\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=b648428cc5e97c66f3013274c78afd9d 280w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-light.svg?w=560\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=10d0faebfdf5c4474b4852b6bbb45941 560w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-light.svg?w=840\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=e082813f7399d71163eff1c571aa0992 840w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-light.svg?w=1100\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=b1658115b778f577ce1b96cd3afaacd6 1100w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-light.svg?w=1650\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=f58785e3c4f0ea114a138c36bbcf8ca3 1650w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-light.svg?w=2500\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=f807817518ce7b4e6b01cae092666a15 2500w`})]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Read only`}),_jsx(_components.td,{children:_jsxs(`a`,{href:`cursor://anysphere.cursor-deeplink/mcp/install?name=namespace\u0026config=eyJ1cmwiOiJodHRwczovL21jcC5uYW1lc3BhY2Uuc28vbWNwL3JlYWRvbmx5In0=`,\"aria-label\":`Add Namespace MCP (read only) to Cursor`,style:{display:`inline-flex`,verticalAlign:`middle`,border:`none`,textDecoration:`none`},children:[_jsx(OptimizedImage,{src:`https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-dark.svg?fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=eaee4840b2f6984f6d30353ee775715c\`,alt:\`Add to Cursor`,width:126,height:28,className:`dark:mint-hidden`,style:{margin:0},\"data-og-width\":`126`,\"data-og-height\":`28`,\"data-path\":`images/mcp/cursor-install-dark.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-dark.svg?w=280\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=556f03f88625d46a822d4334eed148f9 280w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-dark.svg?w=560\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=e8814b7b521c0fa16603e34f5a05b376 560w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-dark.svg?w=840\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=a0f010df203a29f9c3b749fa609eb7bf 840w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-dark.svg?w=1100\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=22639689a965a56f9d95917f22b0041c 1100w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-dark.svg?w=1650\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=2f838bd25a5f4a94ec221e2b1b4a5503 1650w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-dark.svg?w=2500\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=4effa33c75585d96a45ae9d55d526091 2500w`}),_jsx(OptimizedImage,{src:`https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-light.svg?fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=f1ae00e35c627e769c286529fb29ffa1\`,alt:\`Add to Cursor`,width:126,height:28,className:`mint-hidden dark:mint-block`,style:{margin:0},\"data-og-width\":`126`,\"data-og-height\":`28`,\"data-path\":`images/mcp/cursor-install-light.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-light.svg?w=280\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=b648428cc5e97c66f3013274c78afd9d 280w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-light.svg?w=560\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=10d0faebfdf5c4474b4852b6bbb45941 560w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-light.svg?w=840\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=e082813f7399d71163eff1c571aa0992 840w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-light.svg?w=1100\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=b1658115b778f577ce1b96cd3afaacd6 1100w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-light.svg?w=1650\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=f58785e3c4f0ea114a138c36bbcf8ca3 1650w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/cursor-install-light.svg?w=2500\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=f807817518ce7b4e6b01cae092666a15 2500w`})]})})]})]})]}),_jsxs(_components.p,{children:[`After you add the server, Cursor opens `,_jsx(_components.strong,{children:`Customize`}),` > `,_jsx(_components.strong,{children:`MCPs`}),`. Select `,_jsx(_components.strong,{children:`Authenticate`}),` on the Namespace tile to log in.`]})]}),_jsxs(Tab,{title:`VS Code`,id:`vs-code`,children:[_jsx(_components.p,{children:`Install the server with one click:`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Access`}),_jsx(_components.th,{children:`Install`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Read and write`}),_jsx(_components.td,{children:_jsxs(`a`,{href:`vscode:mcp/install?%7B%22name%22%3A%22namespace%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.namespace.so%2Fmcp%22%7D`,\"aria-label\":`Add Namespace MCP (read and write) to VS Code`,style:{display:`inline-flex`,verticalAlign:`middle`,border:`none`,textDecoration:`none`},children:[_jsx(OptimizedImage,{src:`https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-dark.svg?fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=30f19258adda98785f455cadacf7bbd0\`,alt:\`Add to VS Code`,width:112,height:28,className:`dark:mint-hidden`,style:{margin:0},\"data-og-width\":`112`,\"data-og-height\":`28`,\"data-path\":`images/mcp/vscode-install-dark.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-dark.svg?w=280\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=8cb258c278e8b6574bd4180299ff4059 280w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-dark.svg?w=560\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=1f369cf2601e9904bddfcec4c1462d05 560w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-dark.svg?w=840\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=9e876dc127d2f17e457417e07841fea8 840w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-dark.svg?w=1100\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=dc54610cd01858033cc9da9c297a4820 1100w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-dark.svg?w=1650\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=2d03ebe245bdf7f66528dcb220c2f233 1650w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-dark.svg?w=2500\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=d503244ca9533afc5e622f8630273d32 2500w`}),_jsx(OptimizedImage,{src:`https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-light.svg?fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=7675c9afe14958d94487c8affd352e06\`,alt:\`Add to VS Code`,width:112,height:28,className:`mint-hidden dark:mint-block`,style:{margin:0},\"data-og-width\":`112`,\"data-og-height\":`28`,\"data-path\":`images/mcp/vscode-install-light.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-light.svg?w=280\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=d5f8f75af18efe624e36f2530e1e2fd4 280w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-light.svg?w=560\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=e945f773abe7692196c7ee36c381c08c 560w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-light.svg?w=840\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=cfd57a7e49b3a384ded8e794b9c38333 840w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-light.svg?w=1100\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=155db508be827aa1a49030fc5359e5a7 1100w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-light.svg?w=1650\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=e3a6d281f0775fbdbda6d67c8c760d7a 1650w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-light.svg?w=2500\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=40797588bab70fc32dc1db8ba28269b0 2500w`})]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Read only`}),_jsx(_components.td,{children:_jsxs(`a`,{href:`vscode:mcp/install?%7B%22name%22%3A%22namespace%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.namespace.so%2Fmcp%2Freadonly%22%7D`,\"aria-label\":`Add Namespace MCP (read only) to VS Code`,style:{display:`inline-flex`,verticalAlign:`middle`,border:`none`,textDecoration:`none`},children:[_jsx(OptimizedImage,{src:`https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-dark.svg?fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=30f19258adda98785f455cadacf7bbd0\`,alt:\`Add to VS Code`,width:112,height:28,className:`dark:mint-hidden`,style:{margin:0},\"data-og-width\":`112`,\"data-og-height\":`28`,\"data-path\":`images/mcp/vscode-install-dark.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-dark.svg?w=280\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=8cb258c278e8b6574bd4180299ff4059 280w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-dark.svg?w=560\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=1f369cf2601e9904bddfcec4c1462d05 560w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-dark.svg?w=840\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=9e876dc127d2f17e457417e07841fea8 840w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-dark.svg?w=1100\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=dc54610cd01858033cc9da9c297a4820 1100w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-dark.svg?w=1650\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=2d03ebe245bdf7f66528dcb220c2f233 1650w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-dark.svg?w=2500\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=d503244ca9533afc5e622f8630273d32 2500w`}),_jsx(OptimizedImage,{src:`https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-light.svg?fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=7675c9afe14958d94487c8affd352e06\`,alt:\`Add to VS Code`,width:112,height:28,className:`mint-hidden dark:mint-block`,style:{margin:0},\"data-og-width\":`112`,\"data-og-height\":`28`,\"data-path\":`images/mcp/vscode-install-light.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-light.svg?w=280\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=d5f8f75af18efe624e36f2530e1e2fd4 280w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-light.svg?w=560\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=e945f773abe7692196c7ee36c381c08c 560w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-light.svg?w=840\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=cfd57a7e49b3a384ded8e794b9c38333 840w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-light.svg?w=1100\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=155db508be827aa1a49030fc5359e5a7 1100w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-light.svg?w=1650\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=e3a6d281f0775fbdbda6d67c8c760d7a 1650w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/vscode-install-light.svg?w=2500\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=40797588bab70fc32dc1db8ba28269b0 2500w`})]})})]})]})]}),_jsxs(_components.p,{children:[`After you add the server, VS Code asks you to authenticate. Select `,_jsx(_components.strong,{children:`Allow`}),` to log in.`]}),_jsxs(_components.p,{children:[`To check the connection, run `,_jsx(_components.strong,{children:`MCP: List Servers`}),` from the Command Palette.`]})]}),_jsxs(Tab,{title:`Amp`,id:`amp`,children:[_jsx(_components.p,{children:`Add the server:`}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Read and write`,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:`amp`}),_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:` namespace`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://mcp.namespace.so/mcp\`})\]}),\`\\n\`\]})})}),\_jsx(CodeBlock,{filename:`Read only`,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:`amp`}),_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:` namespace`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://mcp.namespace.so/mcp/readonly\`})\]}),\`\\n\`\]})})})\]}),\_jsx(_components.p,{children:`Amp opens the login in your browser the next time you start it.`}),_jsxs(_components.p,{children:[`To check the connection, run `,_jsx(_components.code,{children:`amp mcp list`}),`.`]})]}),_jsxs(Tab,{title:`Gemini CLI`,id:`gemini-cli`,children:[_jsx(_components.p,{children:`Add the server for all your projects:`}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Read and write`,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:` namespace`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://mcp.namespace.so/mcp\`})\]}),\`\\n\`\]})})}),\_jsx(CodeBlock,{filename:`Read only`,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:` namespace`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://mcp.namespace.so/mcp/readonly\`})\]}),\`\\n\`\]})})})\]}),\_jsxs(_components.p,{children:[`Gemini CLI opens the login in your browser when it first connects. To log in again, run `,_jsx(_components.code,{children:`/mcp auth namespace`}),` in a session.`]}),_jsxs(_components.p,{children:[`To check the connection, run `,_jsx(_components.code,{children:`gemini mcp list`}),`.`]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`choose-access`,children:`Choose access`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Endpoint`}),_jsx(_components.th,{children:`Access`}),_jsx(_components.th,{children:`Use it to`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(`span`,{style:{whiteSpace:`nowrap`},children:_jsx(_components.code,{children:`https://mcp.namespace.so/mcp\`})})}),\_jsx(_components.td,{children:`Read and write`}),_jsx(_components.td,{children:`Let the agent do everything available with read-only access, plus create, start, stop, and delete Devboxes and run commands in them.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(`span`,{style:{whiteSpace:`nowrap`},children:_jsx(_components.code,{children:`https://mcp.namespace.so/mcp/readonly\`})})}),\_jsx(_components.td,{children:`Read only`}),_jsx(_components.td,{children:`Let the agent investigate GitHub Actions jobs and builds, analyze compute resource usage, and check the Namespace service status without changing anything.`})]})]})]}),`\n`,_jsx(_components.p,{children:`The first time your agent connects, it opens Namespace in your browser. Review the requested permissions, then authorize the workspace it can access.`}),`\n`,_jsx(Frame,{style:{maxWidth:500,marginInline:`auto`},children:_jsx(OptimizedImage,{src:`https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/mcp-consent.webp?fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=650bb0ead47997d032aaab54dfb319cb\`,alt:\`Authorize MCP access page in Namespace, showing the requested Read and Write permissions and a list of workspaces, each with an Authorize button`,width:1600,height:1828,\"data-og-width\":`1600`,\"data-og-height\":`1828`,\"data-path\":`images/mcp/mcp-consent.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/mcp-consent.webp?w=280\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=17917dbd13b98734607f67f2f5e07d12 280w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/mcp-consent.webp?w=560\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=79db85abe664fac64e7e0efe0541942a 560w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/mcp-consent.webp?w=840\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=aa8c1621bfbe7ebfe09033770742e65b 840w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/mcp-consent.webp?w=1100\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=171ba24e976c03329d2555e68c1aa024 1100w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/mcp-consent.webp?w=1650\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=8a95369e1b6e70a73bf4540adf9bed30 1650w, https://mintcdn.com/namespace-labs/t9bH4FQmiNcl6zbA/images/mcp/mcp-consent.webp?w=2500\\u0026fit=max\\u0026auto=format\\u0026n=t9bH4FQmiNcl6zbA\\u0026q=85\\u0026s=0a621962e32e489c579f3b5a8e9e75da 2500w`})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Read-only access only limits the Namespace MCP server. An agent with shell access can still use `,_jsx(_components.code,{children:`nsc`}),` or `,_jsx(_components.code,{children:`devbox`}),` with your local credentials.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`common-use-cases`,children:`Common use cases`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Use case`}),_jsx(_components.th,{children:`Example prompt`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Investigate jobs`}),_jsxs(_components.td,{children:[`”Why did Namespace GitHub Actions job `,_jsx(_components.code,{children:`\u003cjob-id>`}),` fail?”`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Analyze CI usage`}),_jsx(_components.td,{children:`”Which GitHub Actions jobs ran most often on Namespace this week?”`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Right-size runners`}),_jsx(_components.td,{children:`”Which GitHub Actions jobs running on Namespace can move to smaller runners?”`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Investigate builds`}),_jsxs(_components.td,{children:[`”Why did Namespace container image build `,_jsx(_components.code,{children:`\u003cbuild-ref>`}),` fail?”`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Instance observability`}),_jsxs(_components.td,{children:[`”Why did Namespace instance `,_jsx(_components.code,{children:`\u003cinstance-id>`}),` fail? Chart its resource usage.”`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Devboxes`}),_jsxs(_components.td,{children:[`”Create a Namespace Devbox, make a Hello World HTML page, serve it, and expose it at a private `,_jsx(_components.code,{children:`devbox.so`}),` URL.”`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`use-mcp-with-local-tools`,children:`Use MCP with local tools`}),`\n`,_jsxs(_components.p,{children:[`For the most efficient workflows, install `,_jsx(_components.code,{children:`nsc`}),`, `,_jsx(_components.code,{children:`devbox`}),`, and the GitHub CLI alongside the Namespace MCP server. MCP connects the agent to your Namespace resources. When a task needs capabilities it doesn’t provide, it may guide the agent to the appropriate CLI.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Tool`}),_jsx(_components.th,{children:`Best for`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Namespace MCP`}),_jsx(_components.td,{children:`Finding and connecting workspace resources, CI usage, and compute metrics.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/reference/cli/installation`,children:_jsx(_components.code,{children:`nsc`})})}),_jsx(_components.td,{children:`Complete, live, or cross-instance logs and other Namespace CLI workflows.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/reference/devbox-cli/installation`,children:_jsx(_components.code,{children:`devbox`})})}),_jsx(_components.td,{children:`Uploading local files and working directly with Devboxes.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`https://cli.github.com/\`,children:\`GitHub CLI`})}),_jsx(_components.td,{children:`Pull request and commit context, and complete or live GitHub Actions logs.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`manage-access`,children:`Manage access`}),`\n`,_jsx(_components.p,{children:`Each connection is authorized for one workspace. To use another workspace, add the server under a different name and authorize it separately. Sessions renew automatically.`}),`\n`,_jsxs(_components.p,{children:[`To review or revoke access, open `,_jsx(_components.a,{href:`https://cloud.namespace.so/workspace/settings/applications\`,children:\`Applications\`}),\` in the Namespace dashboard. Revoked agents must log in again.`]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Problem`}),_jsx(_components.th,{children:`Resolution`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`The agent needs authentication`}),_jsxs(_components.td,{children:[`Start the login from your agent using the instructions under `,_jsx(_components.a,{href:`#connect-your-agent`,children:`Connect your agent`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Write tools are missing`}),_jsxs(_components.td,{children:[`Connect to `,_jsx(_components.code,{children:`https://mcp.namespace.so/mcp\`}),\` instead of the read-only endpoint, then log in again.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Authentication failed`}),_jsx(_components.td,{children:`The approval may have been revoked. Log in again from your agent.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Permission denied`}),_jsx(_components.td,{children:`Check that you authorized the correct workspace and that your Namespace role can access the resource.`})]})]})]})]})}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":"Namespace MCP server","sidebarTitle":"Namespace MCP server","description":"Connect AI agents such as Claude Code, Codex, Cursor, and VS Code to Namespace with the hosted MCP server.","icon":"plug","href":"/reference/mcp/index"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Connect your agent","slug":"connect-your-agent","depth":2,"children":[]},{"title":"Choose access","slug":"choose-access","depth":2,"children":[]},{"title":"Common use cases","slug":"common-use-cases","depth":2,"children":[]},{"title":"Use MCP with local tools","slug":"use-mcp-with-local-tools","depth":2,"children":[]},{"title":"Manage access","slug":"manage-access","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/namespace-labs/fa018fe02fd436c8/navigation.js","/docs/_mintlify/custom/namespace-labs/4276600b7cb636ff/legacy-anchor-redirects.js"],"dynamicCss":".mint-hidden {\n display: none\n}\n.dark\:mint-block:is(.dark *) {\n display: block\n}\n.dark\:mint-hidden:is(.dark *) {\n display: none\n}","subdomain":"namespace-labs","siteName":"Namespace Documentation","title":"Namespace MCP server - Namespace Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-07T15:02:33.262Z","gitLastModified":"2026-10-07T15:02:18.000Z","originalFileLocation":"reference/mcp/index.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;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=\"system\"}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=\"Connect AI agents such as Claude Code, Codex, Cursor, and VS Code to Namespace with the hosted MCP server.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Namespace Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/namespace-labs/kZKeJ4zhJEuE6_kI/_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=\"/docs/mintlify-assets/_mintlify/favicons/namespace-labs/kZKeJ4zhJEuE6_kI/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/namespace-labs/kZKeJ4zhJEuE6_kI/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/namespace-labs/kZKeJ4zhJEuE6_kI/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/namespace-labs/kZKeJ4zhJEuE6_kI/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/namespace-labs/kZKeJ4zhJEuE6_kI/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/namespace-labs/kZKeJ4zhJEuE6_kI/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/namespace-labs/kZKeJ4zhJEuE6_kI/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/namespace-labs/kZKeJ4zhJEuE6_kI/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Namespace MCP server - Namespace Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Connect AI agents such as Claude Code, Codex, Cursor, and VS Code to Namespace with the hosted MCP server.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Namespace Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://namespace.so/docs/reference/mcp\\">\\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://namespace-labs.mintlify.app/\_mintlify/api/og/v2?division=Documentation\\u0026amp;title=Namespace+MCP+server\\u0026amp;description=Connect+AI+agents+such+as+Claude+Code%2C+Codex%2C+Cursor%2C+and+VS+Code+to+Namespace+with+the+hosted+MCP+server.\\u0026amp;theme=1f89d53762a6d5304d1c63c4\\u0026amp;signature=1bd7b950bb15cd25e649c3e7e1e7cad71fdfb702ad2d375da8d23f821fa29073\\">\\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=\"Namespace MCP server - Namespace Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Connect AI agents such as Claude Code, Codex, Cursor, and VS Code to Namespace with the hosted MCP server.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://namespace-labs.mintlify.app/\_mintlify/api/og/v2?division=Documentation\\u0026amp;title=Namespace+MCP+server\\u0026amp;description=Connect+AI+agents+such+as+Claude+Code%2C+Codex%2C+Cursor%2C+and+VS+Code+to+Namespace+with+the+hosted+MCP+server.\\u0026amp;theme=1f89d53762a6d5304d1c63c4\\u0026amp;signature=1bd7b950bb15cd25e649c3e7e1e7cad71fdfb702ad2d375da8d23f821fa29073\\">\\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=\"/docs/mintlify-assets/_mintlify/favicons/namespace-labs/kZKeJ4zhJEuE6_kI/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Namespace Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1C32FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://namespace.so/docs/reference/mcp\\">\\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/reference/mcp.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\\",\\"@graph\\":\[{\\"@type\\":\\"Organization\\",\\"@id\\":\\"https://namespace.so/#organization\\",\\"name\\":\\"Namespace Documentation\",\"url\":\"https://namespace.so\\",\\"logo\\":{\\"@type\\":\\"ImageObject\\",\\"url\\":\\"https://mintcdn.com/namespace-labs/qOJQ7kaWRgoS8lyv/logo-light.svg?fit=max\\u0026auto=format\\u0026n=qOJQ7kaWRgoS8lyv\\u0026q=85\\u0026s=6827b0c81c335badc1cef13b83383e1d\\"}},{\\"@type\\":\\"WebSite\\",\\"@id\\":\\"https://namespace.so/docs#website\\",\\"name\\":\\"Namespace Documentation\",\"url\":\"https://namespace.so/docs\\",\\"publisher\\":{\\"@id\\":\\"https://namespace.so/#organization\\"}},{\\"@type\\":\\"WebPage\\",\\"@id\\":\\"https://namespace.so/docs/reference/mcp#webpage\\",\\"url\\":\\"https://namespace.so/docs/reference/mcp\\",\\"name\\":\\"Namespace MCP server\",\"description\":\"Connect AI agents such as Claude Code, Codex, Cursor, and VS Code to Namespace with the hosted MCP server.\",\"dateModified\":\"2026-10-07T15:02:18.000Z\",\"isPartOf\":{\"@id\":\"https://namespace.so/docs#website\\"}},{\\"@type\\":\[\\"Article\\",\\"TechArticle\\"\],\\"@id\\":\\"https://namespace.so/docs/reference/mcp#article\\",\\"headline\\":\\"Namespace MCP server\",\"name\":\"Namespace MCP server\",\"description\":\"Connect AI agents such as Claude Code, Codex, Cursor, and VS Code to Namespace with the hosted MCP server.\",\"url\":\"https://namespace.so/docs/reference/mcp\\",\\"mainEntityOfPage\\":{\\"@id\\":\\"https://namespace.so/docs/reference/mcp#webpage\\"},\\"dateModified\\":\\"2026-10-07T15:02:18.000Z\\",\\"publisher\\":{\\"@id\\":\\"https://namespace.so/#organization\\"},\\"isPartOf\\":{\\"@id\\":\\"https://namespace.so/docs#website\\"}}\]}\\u003c/script>\\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\\",\\"@type\\":\\"WebSite\\",\\"name\\":\\"Namespace Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\\"}}\\u003c/script>","siteName":"Namespace Documentation","nav":{"global":{"anchors":[{"anchor":"Changelog","icon":"history","href":"https://namespace.so/changelog"},{"anchor":"Trust Center (SOC2)","icon":"shield-check","href":"https://trust.namespace.so/"},{"anchor":"Status","icon":"activity","href":"https://namespace-status.com/"},{"anchor":"Support","icon":"message-circle","href":"https://namespace.so/support"}\]},"products":\[{"product":"Products","description":"Turnkey products built on the Namespace platform","tabs":[{"tab":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":""}]},{"tab":"Integrations","icon":"blocks","pages":[{"title":"Integrations","href":"/integrations/turborepo"}]},{"tab":"CLI","icon":"square-terminal","pages":[{"title":"CLI","href":"/reference/cli"}]},{"tab":"SDK","icon":"braces","pages":[{"title":"SDK","href":"/reference/sdk"}]},{"tab":"MCP","icon":"plug","pages":[{"title":"Namespace MCP server","sidebarTitle":"Namespace MCP server","icon":"plug","href":"/reference/mcp"}]}]},{"product":"Platform","description":"Lower-level primitives to build your own","pages":[{"title":"Platform","href":"/platform"}]}]},"title":"Namespace MCP server - Namespace Documentation","buildId":"dpl_GvhK4qVXq51DpfYJLCtPpYNN4YHN","deploymentId":"dpl_GvhK4qVXq51DpfYJLCtPpYNN4YHN","dynamics":["a74be98ba7","07c022d89b"],"chunks":["zoom-image-lightbox-uyuQJRFs.js","lightbox-handle-r17bVUz3.js","Frame-5VlDM5Io.js","DynamicMarkdown-DO1Fz7ar.js"]}