You can use MCP servers in any AI clients which support MCP.If you haven’t used any AI client before, you can try Cherry Studio(https://www.cherry-ai.com/)Next I will show how to configure using scanpy-mcp.
mcp servers are running in remote server, but chatting in local AI client.run mcp in your server by:
scanpy-mcp run --transport shttp --port 8000 --run-mode tool
Make sure you have forwarded the necessary ports. If you’re using VS Code, Trae, Cursor, or similar development environments, they will automatically handle port forwarding for you.
If automatic port forwarding is not available, you’ll need to run the following command locally:
It’s important to configure a system prompt that directs the LLM to focus on scRNA-seq analysis and tool calling. Below is an example that you can adapt to your specific use case:
# scRNA-seq analysis Assistant You are a bioinformatician specializing in Python tools (scanpy, anndata). ## Core Behavior- Default to AnnData format for data analysis- Execute tools sequentially, one at a time- Only use parameters explicitly specified by user- Display images using markdown format- Convert scanpy/Seurat code to appropriate MCP tools## Error HandlingWhen errors occur, troubleshoot and resolve before proceeding to next tool.## Execution Rules- Run only tools necessary for the specific user request- No additional tool calls beyond what's required- Set parameters only when specified in requirements- Focus on completing the requested analysis efficiently
{"docsConfig":{"theme":"willow","$schema":"https://mintlify.com/docs.json","name":"scmcphub","description":"The natural Language Interface for single cell","colors":{"primary":"#2d00f7","light":"#4cc9f0","dark":"#f72585"},"favicon":{"light":"/assets/favicon.ico","dark":"/assets/favicon.ico"},"background":{"decoration":"windows","color":{"light":"#EEEEEE","dark":"#222831"}},"navbar":{"primary":{"type":"github","href":"https://github.com/scmcphub/scmcp"}},"footer":{"socials":{"github":"https://github.com/scmcphub/scmcp"}},"navigation":{"languages":[{"language":"en","href":"getting-started/welcome"},{"language":"cn","href":"getting-started/welcome_cn"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"scmcphub","hasAudioNarration":false,"actualSubdomain":"scmcphub","customDomains":["docs.scmcphub.org"],"gitSource":{"type":"github","owner":"scmcphub","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae928a81df85160c4629dd3:success","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"Servers","count":6},{"language":"en","tag":"Get Started","count":3},{"language":"cn","tag":"Development Guide","count":3},{"language":"cn","tag":"Get Started","count":3},{"language":"default","tag":"Development Guide","count":3},{"language":"en","tag":"Chat with single cell","count":2},{"language":"en","tag":"Development Guide","count":2},{"language":"cn","tag":"Chat with single cell","count":2},{"language":"en","tag":"Bioinformatic agent","count":1},{"language":"cn","tag":"Bioinformatic agent","count":1},{"language":"default","tag":"Intelligent Tool Selection","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"chat/config","slug":"/chat/config","pageMetadata":{"title":"MCP configuration in AI client","sidebarTitle":"Configure mcp","description":"Learn about how to configure MCP server in AI clients.","icon":"computer","href":"/chat/config"},"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: \"Learn about how to configure MCP server in AI clients.\"\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`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`ai-clients/plugins`,children:`AI clients/Plugins`}),`\n`,_jsx(_components.p,{children:`You can use MCP servers in any AI clients which support MCP.`}),`\n`,_jsxs(_components.p,{children:[`If you haven’t used any AI client before, you can try Cherry Studio(`,_jsx(_components.a,{href:`https://www.cherry-ai.com/`,children:`https://www.cherry-ai.com/`}),`)`]}),`\n`,_jsx(_components.p,{children:`Next I will show how to configure using scanpy-mcp.`}),`\n`,_jsx(Heading,{level:`2`,id:`mcp-setting`,children:`MCP setting`}),`\n`,_jsx(Heading,{level:`3`,id:`running-in-local`,children:`running in local`}),`\n`,_jsx(_components.p,{children:`locate the MCP server, by which(Linux/Mac) or where(Window):`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Linux/Mac`,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:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`which`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` scanpy-mcp`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Windows`,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:`where`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` scanpy-mcp`})]}),`\n`]})})})]}),`\n`,_jsx(_components.p,{children:`Refer to configure`}),`\n`,_jsx(CodeBlock,{numberOfLines:`9`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"mcpServers\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"scanpy-mcp\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"command\": \"/home/test/bin/scanpy-mcp\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"args\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"run\", \"--run-mode\", \"tool\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`running-in-remote`,children:`running in remote`}),`\n`,_jsx(_components.p,{children:`mcp servers are running in remote server, but chatting in local AI client.`}),`\n`,_jsx(_components.p,{children:`run mcp in your server by:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`scanpy-mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --transport`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` shttp`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --port`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 8000`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --run-mode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tool`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Make sure you have forwarded the necessary ports. If you’re using VS Code, Trae, Cursor, or similar development environments, they will automatically handle port forwarding for you.\nIf automatic port forwarding is not available, you’ll need to run the following command locally:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`ssh -fNL 8000:localhost:8000 user@your.server.host`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Then configure your MCP client in local AI client, like this:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"mcpServers\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"scanpy-mcp\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"url\": \"http://localhost:8000/mcp\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`prompt-setting`,children:`Prompt setting`}),`\n`,_jsx(_components.p,{children:`It’s important to configure a system prompt that directs the LLM to focus on scRNA-seq analysis and tool calling. Below is an example that you can adapt to your specific use case:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`20`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`20`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# scRNA-seq analysis Assistant `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`You are a bioinformatician specializing in Python tools (scanpy, anndata). `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`## Core Behavior`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Default to AnnData format for data analysis`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Execute tools sequentially, one at a time`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Only use parameters explicitly specified by user`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Display images using markdown format`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Convert scanpy/Seurat code to appropriate MCP tools`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`## Error Handling`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`When errors occur, troubleshoot and resolve before proceeding to next tool.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`## Execution Rules`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Run only tools necessary for the specific user request`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- No additional tool calls beyond what's required`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Set parameters only when specified in requirements`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Focus on completing the requested analysis efficiently`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`configure-in-trae`,children:`Configure in Trae`}),`\n`,_jsxs(_components.p,{children:[`see it in `,_jsx(_components.a,{href:`https://youtu.be/HXPqaDvjKvg`,children:`https://youtu.be/HXPqaDvjKvg`})]})]})}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":"MCP configuration in AI client","sidebarTitle":"Configure mcp","description":"Learn about how to configure MCP server in AI clients.","icon":"computer","href":"/chat/config"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"AI clients/Plugins","slug":"ai-clients/plugins","depth":2,"children":[]},{"title":"MCP setting","slug":"mcp-setting","depth":2,"children":[{"title":"running in local","slug":"running-in-local","depth":3,"children":[]},{"title":"running in remote","slug":"running-in-remote","depth":3,"children":[]}]},{"title":"Prompt setting","slug":"prompt-setting","depth":2,"children":[]},{"title":"Configure in Trae","slug":"configure-in-trae","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"scmcphub","siteName":"scmcphub","title":"MCP configuration in AI client - scmcphub","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/chat/config","matchLevel":0},"cn":{"href":"/getting-started/welcome_cn","matchLevel":3}}},"lastModified":"2026-01-07T08:46:15.642Z","originalFileLocation":"chat/config.mdx","locale":"en"},"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=\"Learn about how to configure MCP server in AI clients.\">\u003cmeta data-mint-head name=\"application-name\" content=\"scmcphub\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/scmcphub/77sfjSUSodQn_YI9/_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/scmcphub/77sfjSUSodQn_YI9/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/scmcphub/77sfjSUSodQn_YI9/_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/scmcphub/77sfjSUSodQn_YI9/_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/scmcphub/77sfjSUSodQn_YI9/_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/scmcphub/77sfjSUSodQn_YI9/_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/scmcphub/77sfjSUSodQn_YI9/_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/scmcphub/77sfjSUSodQn_YI9/_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/scmcphub/77sfjSUSodQn_YI9/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"MCP configuration in AI client - scmcphub\">\u003cmeta data-mint-head property=\"og:description\" content=\"Learn about how to configure MCP server in AI clients.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"scmcphub\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.scmcphub.org/chat/config\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://scmcphub.mintlify.site/_mintlify/api/og/v2?division=Chat+with+single+cell\u0026amp;title=MCP+configuration+in+AI+client\u0026amp;description=Learn+about+how+to+configure+MCP+server+in+AI+clients.\u0026amp;theme=2de27474b4e0cb31fda01c56\u0026amp;signature=de7a2e4e61b71458316703f72d2547c895068ba19a5021d00b21aa0a252dace2\">\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=\"MCP configuration in AI client - scmcphub\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Learn about how to configure MCP server in AI clients.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://scmcphub.mintlify.site/_mintlify/api/og/v2?division=Chat+with+single+cell\u0026amp;title=MCP+configuration+in+AI+client\u0026amp;description=Learn+about+how+to+configure+MCP+server+in+AI+clients.\u0026amp;theme=2de27474b4e0cb31fda01c56\u0026amp;signature=de7a2e4e61b71458316703f72d2547c895068ba19a5021d00b21aa0a252dace2\">\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/scmcphub/77sfjSUSodQn_YI9/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"scmcphub\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2d00f7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.scmcphub.org/chat/config\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/chat/config.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.scmcphub.org/#organization\",\"name\":\"scmcphub\",\"url\":\"https://docs.scmcphub.org\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.scmcphub.org#website\",\"name\":\"scmcphub\",\"url\":\"https://docs.scmcphub.org\",\"publisher\":{\"@id\":\"https://docs.scmcphub.org/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.scmcphub.org/chat/config#webpage\",\"url\":\"https://docs.scmcphub.org/chat/config\",\"name\":\"MCP configuration in AI client\",\"description\":\"Learn about how to configure MCP server in AI clients.\",\"dateModified\":\"2026-01-07T08:46:15.642Z\",\"isPartOf\":{\"@id\":\"https://docs.scmcphub.org#website\"},\"breadcrumb\":{\"@id\":\"https://docs.scmcphub.org/chat/config#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.scmcphub.org/chat/config#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"scmcphub\",\"item\":\"https://docs.scmcphub.org\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MCP configuration in AI client\",\"item\":\"https://docs.scmcphub.org/chat/config\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.scmcphub.org/chat/config#article\",\"headline\":\"MCP configuration in AI client\",\"name\":\"MCP configuration in AI client\",\"description\":\"Learn about how to configure MCP server in AI clients.\",\"url\":\"https://docs.scmcphub.org/chat/config\",\"mainEntityOfPage\":{\"@id\":\"https://docs.scmcphub.org/chat/config#webpage\"},\"dateModified\":\"2026-01-07T08:46:15.642Z\",\"publisher\":{\"@id\":\"https://docs.scmcphub.org/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.scmcphub.org#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"scmcphub\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"scmcphub\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/chat/config.md","siteName":"scmcphub","nav":{"global":null,"languages":[{"language":"en","groups":[{"group":"Get Started","pages":[{"title":"Welcome to scmcphub!","sidebarTitle":"Welcome!","icon":"hand-wave","href":"/getting-started/welcome"},{"title":"Installation","icon":"computer","href":"/getting-started/installation"},{"title":"Run Mode","description":"Two scmcphub run modes for different use cases","icon":"computer","href":"/getting-started/run-mode"}]},{"group":"Chat with single cell","pages":[{"title":"MCP configuration in AI client","sidebarTitle":"Configure mcp","icon":"computer","href":"/chat/config"},{"title":"do analysis with natural language","sidebarTitle":"Chatting","description":"Enjoying your chatting","icon":"computer","href":"/chat/mcp4chat"}]},{"group":"Bioinformatic agent","pages":[{"title":"Build agent with MCP","sidebarTitle":"bioinformatics agents","icon":"computer","href":"/agent/mcp4agent"}]},{"group":"Intelligent Tool Selection","pages":[{"title":"Intelligent Tool Selection","href":"/auto/auto"}]},{"group":"Development Guide","pages":[{"title":"Tool Mode","href":"/dev-guide/tool-mode"},{"title":"Code Mode","href":"/dev-guide/code-mode"},{"title":"MCP server","href":"/dev-guide/mcp-server"},{"title":"BaseMCPManager Reference","href":"/dev-guide/base-mcp-manager"},{"title":"Backend Functions Reference","href":"/dev-guide/backend-functions"}]},{"group":"Servers","pages":[{"title":"scmcp Tools","sidebarTitle":"scmcp","icon":"computer","href":"/servers/scmcp"},{"title":"scanpy MCP Server Tools","sidebarTitle":"scanpy-mcp","icon":"computer","href":"/servers/scanpy-mcp"},{"title":"cellrank MCP Server Tools","sidebarTitle":"cellrank-mcp","icon":"computer","href":"/servers/cellrank-mcp"},{"title":"liana MCP Server Tools","sidebarTitle":"liana-mcp","icon":"computer","href":"/servers/liana-mcp"},{"title":"decoupler MCP Server Tools","sidebarTitle":"decoupler-mcp","icon":"computer","href":"/servers/decoupler-mcp"},{"title":"infercnv MCP Server Tools","sidebarTitle":"infercnv-mcp","icon":"computer","href":"/servers/infercnv-mcp"}]}]},{"language":"cn","pages":[{"title":"cn","href":"/getting-started/welcome_cn"}]}]},"basePath":"","title":"MCP configuration in AI client - scmcphub","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":[],"chunks":[]}