Connect Claude Code, Cursor, VS Code, Windsurf and Claude Desktop to your Mihu workspace in one command
The Mihu MCP Server lets AI clients manage your workspace in natural language. The CLI configures those clients with the workspace and token from mihu login, so you never edit a config file by hand.
mihu mcp setup claude-code # runs `claude mcp add` for youmihu mcp setup cursor # writes ~/.cursor/mcp.jsonmihu mcp setup vscode # writes the user-level mcp.jsonmihu mcp setup windsurf # writes ~/.codeium/windsurf/mcp_config.jsonmihu mcp setup claude # Claude Desktop, through the mcp-remote bridge (needs Node.js)
Restart the client, or reload its MCP servers, and ask it something:
List my Mihu agents and tell me which ones have a phone number bound.
The client calls tools such as list_agents and list_agent_phone_numbers on https://mcp.mihu.ai/mcp, which forwards them to your workspace with your token.
The token is written into the client’s configuration file in plain text. Remove it with mihu mcp remove <client> when you no longer need it, and revoke the token in your dashboard if the machine is shared.
mihu mcp url prints everything a client could need: the server URL, the headers, a URL with the token embedded for clients that cannot send headers, and the OAuth client credentials.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Mihu API Documentation","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mihu.ai/mihu-ai-logo.svg","dark":"https://mihu.ai/mihu-ai-logo.svg"},"favicon":"https://mintcdn.com/mihu/0m7Oc8JtUTBQ3siW/favicon.svg?fit=max\u0026auto=format\u0026n=0m7Oc8JtUTBQ3siW\u0026q=85\u0026s=2996ee148a7045b38c59204dc11e26db","navbar":{"links":[{"href":"mailto:support@mihu.ai","label":"Support"}],"primary":{"type":"button","label":"Login","href":"https://app.mihu.ai"}},"footer":{"socials":{"x":"https://x.com/mihu-ai","github":"https://github.com/mihu-ai","linkedin":"https://www.linkedin.com/company/mihuai"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Mihu ","icon":"book-open-cover","href":"https://mihu.ai"},{"anchor":"Login","icon":"newspaper","href":"https://app.mihu.ai"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mihu","hasAudioNarration":false,"actualSubdomain":"mihu","customDomains":["developers.mihu.ai"],"gitSource":{"type":"github","owner":"mihu-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6abc3fd20b294233485be31a","collectionId":"15b6d4ff-7d7c-4ed3-ae64-955b8b137a41","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6abc3fd20b294233485be31a"},"entitlements":{},"buildId":"6abc3fd20b294233485be31a","clientVersion":"0.0.3966","searchFilterCounts":[{"language":"default","tag":"API Reference","count":1211},{"language":"default","tag":"Agents","count":78},{"language":"default","tag":"Builders","count":26},{"language":"default","tag":"Phone Numbers","count":23},{"language":"default","tag":"Guides","count":18},{"language":"default","tag":"Simulations","count":18},{"language":"default","tag":"Tables","count":18},{"language":"default","tag":"Workspace Queue","count":18},{"language":"default","tag":"Conversations","count":17},{"language":"default","tag":"Assistant Channels","count":16}]},"assistantConfig":{"enableAskAiButton":true,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"cli/mcp","slug":"/cli/mcp","pageMetadata":{"title":"CLI and MCP","description":"Connect Claude Code, Cursor, VS Code, Windsurf and Claude Desktop to your Mihu workspace in one command","href":"/cli/mcp"},"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 Claude Code, Cursor, VS Code, Windsurf and Claude Desktop to your Mihu workspace in one command\"\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`,blockquote:`blockquote`,code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The `,_jsx(_components.a,{href:`/guides/mcp`,children:`Mihu MCP Server`}),` lets AI clients manage your workspace in natural language. The CLI configures those clients with the workspace and token from `,_jsx(_components.code,{children:`mihu login`}),`, so you never edit a config file by hand.`]}),`\n`,_jsx(Heading,{level:`2`,id:`set-up-a-client`,children:`Set up a client`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mihu`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` setup`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` claude-code`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:\" # runs `claude mcp add` for you\"})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mihu`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` setup`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cursor`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # writes ~/.cursor/mcp.json`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mihu`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` setup`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` vscode`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # writes the user-level mcp.json`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mihu`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` setup`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` windsurf`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # writes ~/.codeium/windsurf/mcp_config.json`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mihu`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` setup`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` claude`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Claude Desktop, through the mcp-remote bridge (needs Node.js)`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Restart the client, or reload its MCP servers, and ask it something:`}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:`List my Mihu agents and tell me which ones have a phone number bound.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The client calls tools such as `,_jsx(_components.code,{children:`list_agents`}),` and `,_jsx(_components.code,{children:`list_agent_phone_numbers`}),` on `,_jsx(_components.code,{children:`https://mcp.mihu.ai/mcp`}),`, which forwards them to your workspace with your token.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`The token is written into the client’s configuration file in plain text. Remove it with `,_jsx(_components.code,{children:`mihu mcp remove \u003cclient>`}),` when you no longer need it, and revoke the token in your dashboard if the machine is shared.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`narrow-the-tool-set`,children:`Narrow the tool set`}),`\n`,_jsx(_components.p,{children:`The server exposes several hundred tools. Clients work better with fewer:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,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:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mihu`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` setup`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cursor`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --tool-profile`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` inbox`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # conversations, contacts, replies`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mihu`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` setup`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cursor`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --tool-profile`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` campaigns`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # campaigns, listings, pools`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mihu`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` setup`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cursor`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --tools`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` compact`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # every tool, shorter descriptions`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Available profiles: `,_jsx(_components.code,{children:`inbox`}),`, `,_jsx(_components.code,{children:`appointments`}),`, `,_jsx(_components.code,{children:`agent-builder`}),`, `,_jsx(_components.code,{children:`campaigns`}),`, `,_jsx(_components.code,{children:`workspace`}),`, `,_jsx(_components.code,{children:`quality`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`check-the-connection`,children:`Check the connection`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mihu`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` status`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# server Mihu MCP Server 3.2.4`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# url https://mcp.mihu.ai/mcp`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# tenant abc`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# tools 61`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`other-clients`,children:`Other clients`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`mihu mcp url`}),` prints everything a client could need: the server URL, the headers, a URL with the token embedded for clients that cannot send headers, and the OAuth client credentials.`]}),`\n`,_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:`mihu`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` url`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mihu`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` url`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -o`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` json`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`remove`,children:`Remove`}),`\n`,_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:`mihu`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` remove`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cursor`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mihu`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` remove`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` claude-code`})]}),`\n`]})})})]})}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":"CLI and MCP","description":"Connect Claude Code, Cursor, VS Code, Windsurf and Claude Desktop to your Mihu workspace in one command","href":"/cli/mcp"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Set up a client","slug":"set-up-a-client","depth":2,"children":[]},{"title":"Narrow the tool set","slug":"narrow-the-tool-set","depth":2,"children":[]},{"title":"Check the connection","slug":"check-the-connection","depth":2,"children":[]},{"title":"Other clients","slug":"other-clients","depth":2,"children":[]},{"title":"Remove","slug":"remove","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"mihu","siteName":"Mihu API Documentation","title":"CLI and MCP - Mihu API Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-04T20:57:42.445Z","originalFileLocation":"cli/mcp.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 Claude Code, Cursor, VS Code, Windsurf and Claude Desktop to your Mihu workspace in one command\">\u003cmeta data-mint-head name=\"application-name\" content=\"Mihu API 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/mihu/Zb6_XLMgLqCNmG0Z/_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/mihu/Zb6_XLMgLqCNmG0Z/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mihu/Zb6_XLMgLqCNmG0Z/_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/mihu/Zb6_XLMgLqCNmG0Z/_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/mihu/Zb6_XLMgLqCNmG0Z/_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/mihu/Zb6_XLMgLqCNmG0Z/_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/mihu/Zb6_XLMgLqCNmG0Z/_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/mihu/Zb6_XLMgLqCNmG0Z/_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/mihu/Zb6_XLMgLqCNmG0Z/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"CLI and MCP - Mihu API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Connect Claude Code, Cursor, VS Code, Windsurf and Claude Desktop to your Mihu workspace in one command\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Mihu API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.mihu.ai/cli/mcp\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mihu.mintlify.app/_mintlify/api/og/v2?division=Getting+Started\u0026amp;title=CLI+and+MCP\u0026amp;description=Connect+Claude+Code%2C+Cursor%2C+VS+Code%2C+Windsurf+and+Claude+Desktop+to+your+Mihu+workspace+in+one+command\u0026amp;theme=a1a00b99f4ad43d413b1f148\u0026amp;signature=057b99d5c662ac2c43648e77b70ac0a59f84b470dc2b20dd0717de57183c26df\">\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=\"CLI and MCP - Mihu API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Connect Claude Code, Cursor, VS Code, Windsurf and Claude Desktop to your Mihu workspace in one command\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mihu.mintlify.app/_mintlify/api/og/v2?division=Getting+Started\u0026amp;title=CLI+and+MCP\u0026amp;description=Connect+Claude+Code%2C+Cursor%2C+VS+Code%2C+Windsurf+and+Claude+Desktop+to+your+Mihu+workspace+in+one+command\u0026amp;theme=a1a00b99f4ad43d413b1f148\u0026amp;signature=057b99d5c662ac2c43648e77b70ac0a59f84b470dc2b20dd0717de57183c26df\">\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/mihu/Zb6_XLMgLqCNmG0Z/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Mihu API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.mihu.ai/cli/mcp\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/cli/mcp.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.mihu.ai/#organization\",\"name\":\"Mihu API Documentation\",\"url\":\"https://developers.mihu.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mihu.ai/mihu-ai-logo.svg\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.mihu.ai#website\",\"name\":\"Mihu API Documentation\",\"url\":\"https://developers.mihu.ai\",\"publisher\":{\"@id\":\"https://developers.mihu.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.mihu.ai/cli/mcp#webpage\",\"url\":\"https://developers.mihu.ai/cli/mcp\",\"name\":\"CLI and MCP\",\"description\":\"Connect Claude Code, Cursor, VS Code, Windsurf and Claude Desktop to your Mihu workspace in one command\",\"dateModified\":\"2026-09-04T20:57:42.445Z\",\"isPartOf\":{\"@id\":\"https://developers.mihu.ai#website\"},\"breadcrumb\":{\"@id\":\"https://developers.mihu.ai/cli/mcp#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.mihu.ai/cli/mcp#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Getting Started\",\"item\":\"https://developers.mihu.ai/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CLI and MCP\",\"item\":\"https://developers.mihu.ai/cli/mcp\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://developers.mihu.ai/cli/mcp#article\",\"headline\":\"CLI and MCP\",\"name\":\"CLI and MCP\",\"description\":\"Connect Claude Code, Cursor, VS Code, Windsurf and Claude Desktop to your Mihu workspace in one command\",\"url\":\"https://developers.mihu.ai/cli/mcp\",\"mainEntityOfPage\":{\"@id\":\"https://developers.mihu.ai/cli/mcp#webpage\"},\"dateModified\":\"2026-09-04T20:57:42.445Z\",\"publisher\":{\"@id\":\"https://developers.mihu.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.mihu.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Mihu API Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Mihu API Documentation","nav":{"global":{"anchors":[{"anchor":"Mihu ","icon":"book-open-cover","href":"https://mihu.ai"},{"anchor":"Login","icon":"newspaper","href":"https://app.mihu.ai"}]},"tabs":[{"tab":"Guides","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Authentication","href":"/authentication"},{"title":"Quickstart","href":"/quickstart"},{"title":"Mihu CLI","description":"Manage your Mihu workspace from the terminal, in CI, and from your AI-powered IDE","href":"/cli/overview"},{"title":"CLI and MCP","href":"/cli/mcp"},{"title":"Mihu MCP Server","description":"Connect LLM clients to Mihu via the Model Context Protocol","href":"/guides/mcp"},{"title":"Builder MCP Server","href":"/guides/builder-mcp"},{"title":"Chat Identification","href":"/guides/chat-identification"},{"title":"Enterprise SSO","sidebarTitle":"Enterprise SSO","href":"/guides/enterprise-sso"}]},{"group":"Services","pages":[{"title":"Services Overview","href":"/guides/services/overview"},{"title":"AI Voice Agents","href":"/guides/services/voice-agents"},{"title":"WhatsApp Messaging","href":"/guides/services/whatsapp"},{"title":"Web Chat Widget","href":"/guides/services/web-chat"},{"title":"Campaign Management","href":"/guides/services/campaigns"},{"title":"Contact Management","href":"/guides/services/contacts"}]},{"group":"Developer Tools","pages":[{"title":"Webhooks","href":"/webhooks"},{"title":"Monitoring \u0026 Logs","href":"/monitoring"},{"title":"Error Handling","href":"/errors"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]}]},"title":"CLI and MCP - Mihu API Documentation","buildId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","deploymentId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","dynamics":[],"chunks":[]}