MCP Server Marketplace
Help users discover, install, configure, and manage MCP servers. Supports OpenClaw, Claude Desktop, Claude Code, and Cursor.
Core Principles
- ClawHub First — Always check for a ClawHub plugin bundle before raw server install. Bundles include skills and workflows on top of the MCP connection.
- Never Store Secrets — Auth values are always env var references (
${VAR_NAME}), never raw tokens. Never ask the user to paste their actual token in chat.
- Verify Before Acting — Confirm server choice and auth readiness before installing.
- Guide Completely — Don't just install. Walk through auth setup and verification.
Intent Routing
Classify the user's request into one of these intents, then follow the corresponding workflow.
DISCOVER — "What MCP servers are available for X?"
- Run search:
python3 {baseDir}/scripts/search_registries.py --query "<user's topic>" [--category "<category>"]
- If
clawHubMatch is present, mention the bundle first: "There's a [bundle name] plugin on ClawHub with [N] skills — want that instead?"
- Present results as a numbered list with name, description, and auth requirements.
- If any result has
"source": "npm" or "source": "smithery", add a note: "This server is from [npm/Smithery] and hasn't been verified by our team. It should work but proceed with caution."
- Offer to install any result.
- If user asks "what else should I install?" or "recommend more servers":
python3 {baseDir}/scripts/smart_recommend.py [--max-results 5]
Present recommendations with their reasons (which installed servers they complement). Offer to install any.
INSTALL — "Install the X MCP server"
This is the most complex flow. Follow all steps in order.
Step 1 — Search:
python3 {baseDir}/scripts/search_registries.py --query "<server name>"
Step 2 — ClawHub bundle offer:
If clawHubMatch is present, offer the bundle:
I found a [bundle displayName] plugin on ClawHub that includes the MCP connection plus [skillCount] additional skills. Would you like the full bundle, or just the raw MCP connection?
If user wants the bundle, guide them to install via ClawHub (clawhub install <bundleId>). Then record the install and stop.
Step 3 — Confirm server:
If multiple results, present a numbered list and ask user to pick. If one result, confirm: "I'll set up [displayName] — sound good?"
Step 3.5 — Compatibility check (if non-default client):
If the user specified a client or you detected a non-OpenClaw client, check compatibility:
python3 {baseDir}/scripts/check_compatibility.py --server-id "<id>" --client "<client>"
If compatible is false, warn the user and suggest alternatives. If there are warnings, mention them but proceed.
Step 4 — Build config:
python3 {baseDir}/scripts/build_config.py --server-id "<id>" [--client "<client>"]
The --client flag is optional. If omitted, the script auto-detects the client (OpenClaw, Claude Desktop, Claude Code, or Cursor). The output includes mergeTarget (the config file path) and client (the detected client name).
Step 5 — Auth guidance (if server has requiredEnv):
Follow the Auth Guidance Pattern below. Wait for user to confirm they have their token ready before proceeding.
Step 6 — Check prerequisites and install:
python3 {baseDir}/scripts/install_server.py --server-id "<id>"
This script checks prerequisites and returns the install command — it does NOT run it.
- If
prerequisitesMet is false, show the prerequisites.suggestion and help the user install the prerequisite first.
- If
prerequisitesMet is true, run the installCommand.command directly using the Bash tool. For example, if the output says "command": "npx -y @github/mcp-server --help", run that command to verify the package resolves.
- If
installCommand.command is null (HTTP servers), skip — no install needed.
- If the install command fails, try the
installCommand.fallbackCommand if present, or consult {baseDir}/references/troubleshooting.md.
Step 7 — Write config:
Present the configEntry from step 4 and explain it needs to be added to the config file at mergeTarget (the path returned by build_config.py). If the config file exists, merge the new server entry into the existing mcpServers object. If it doesn't exist, create it:
{
"mcpServers": {
<configEntry content here>
}
}
Step 8 — Record state:
python3 {baseDir}/scripts/manage_servers.py --action record --server-id "<id>" --package "<package>" --transport "<transport>" --install-method "<method>" --source "<source>"
Use --source curated, --source npm, or --source smithery based on where the server was found.
Step 8.5 — Health check (optional):
python3 {baseDir}/scripts/health_check.py --server-id "<id>"
If status is "healthy", include the tool count in the summary. If "unhealthy" or "error", troubleshoot before declaring success — consult {baseDir}/references/troubleshooting.md.
Step 9 — Summary:
Tell the user what was installed, what tools are now available (from health check if run), and remind them to restart their client to pick up the new server.
BULK INSTALL — "Install the dev toolkit" / "Set up servers for data work"
If user mentions a specific bundle, resolve it. If they describe a use case, match to the closest bundle:
python3 {baseDir}/scripts/bulk_install.py --bundle "<bundle-name>"
Available bundles: standard-dev, data-engineering, web-frontend, devops, productivity, ai-ml.
If unsure which bundle, list them all:
python3 {baseDir}/scripts/bulk_install.py --bundle __list__
Present the options and let the user choose.
Present the install plan: show which servers will be installed and which are already configured.
For each server in toInstall, follow the INSTALL workflow (Steps 3-9). Process them one at a time, confirming auth requirements for each.
After all servers are installed, present a summary: "Installed X servers, Y were already configured."
DETECT — "Scan for MCP servers" / "What MCP servers do I already have installed?"
- Run detection:
python3 {baseDir}/scripts/detect_servers.py --verbose
- If
unconfigured has entries: "I found [count] MCP server packages on your system that aren't configured yet: [list them]. Want me to set up any of them?"
- If
alreadyConfigured has entries: mention them as already active.
- If nothing detected: "No known MCP server packages found. Want me to search for servers to install?"
- For each server the user wants to configure, follow the INSTALL workflow starting at Step 4 (Build config) — the package is already installed.
RECOMMEND — "Set up MCP for this project" / "What servers should I use?"
Scan the project:
python3 {baseDir}/scripts/recommend_servers.py [--project-dir "<path>"]
If the user specifies a project type: python3 {baseDir}/scripts/recommend_servers.py --template "<type>"
Available templates: python-web, node-fullstack, data-science, mobile, devops, static-site.
If detected is true:
- Present the detected template: "This looks like a [displayName] project (matched [files/patterns])."
- List recommended servers first, then optional servers.
- Mark any that are already configured.
- Offer to install the recommended set (routes to BULK INSTALL logic).
If detected is false:
- List available templates and ask the user to pick one.
- Or suggest running DISCOVER for a broader search.
CONFIGURE — "Set the API key for X" / "Connect X to my database"
- Identify the server from the user's request.
- Run
build_config.py --server-id "<id>" with any custom env/args the user provides:python3 {baseDir}/scripts/build_config.py --server-id "<id>" --custom-env '{"KEY": "${KEY}"}'
- Follow the Auth Guidance Pattern for any new env vars.
- Update the
.mcp.json config entry.
STATUS — "Show my installed MCP servers"
- Run:
python3 {baseDir}/scripts/manage_servers.py --action list
- Present as a formatted table: server name, package, transport, install method, installed date, config present.
- If any server has
"configPresent": false, warn: "This server is recorded but its config entry was not found. It may need to be re-configured."
- If the user asks about a specific server:
python3 {baseDir}/scripts/manage_servers.py --action status --server-id "<id>"
- If no servers installed, suggest running a discovery search.
REMOVE — "Remove the X server"
- Confirm: "Remove [displayName]? This will remove the state record. You should also remove its entry from
.mcp.json."
- Run:
python3 {baseDir}/scripts/manage_servers.py --action remove --server-id "<id>"
- Remind user to remove the corresponding entry from
.mcp.json and restart OpenClaw.
UPDATE — "Update my MCP servers"
Run version check:
python3 {baseDir}/scripts/version_check.py
For a specific server: python3 {baseDir}/scripts/version_check.py --server-id "<id>"
Present results:
- Servers with
updateAvailable: true: show current vs latest version and the updateCommand.
- Servers with
note (npx/uvx/http): explain they auto-resolve or are managed remotely.
- Docker servers: suggest
docker pull to refresh the image.
If the user wants to update, run the updateCommand for each server via the Bash tool.
After updating, optionally run a health check to verify the updated server works.
HEALTH CHECK — "Is my X server working?" / "Test the GitHub MCP"
- Identify the server from the user's request.
- Run:
python3 {baseDir}/scripts/health_check.py --server-id "<id>"
- If
status is "healthy":
- Present the tool count and list a few tool names.
- "Your [displayName] server is healthy with [toolCount] tools available."
- If
status is "unhealthy" or "error":
- Show the error message.
- Consult
{baseDir}/references/troubleshooting.md for the specific error.
- Update server status:
python3 {baseDir}/scripts/manage_servers.py --action update-status --server-id "<id>" --status error
- Guide the user through the fix, then re-run the health check to confirm.
TROUBLESHOOT — "X server isn't working" / "Why can't I use the GitHub tools?"
- Identify the server.
- Run health check:
python3 {baseDir}/scripts/health_check.py --server-id "<id>"
- Based on the error, consult
{baseDir}/references/troubleshooting.md.
- Guide the user through the fix step by step.
- Re-run health check to confirm resolution.
- If resolved, update status:
python3 {baseDir}/scripts/manage_servers.py --action update-status --server-id "<id>" --status active
CONTRIBUTE — "Add my server to the marketplace" / "Contribute a server config"
Gather server details from the user:
- ID: lowercase, hyphenated (e.g.,
my-server)
- Display Name: human-readable name
- Description: what the server does
- Package: npm/pip package name or Docker image
- Transport:
stdio or http
- Install Method:
npx, npm, uvx, pip, http, or docker
- Categories: from the Categories list below
- Required Env Vars: any tokens/keys needed
- Tags: search keywords
Generate and validate the entry:
python3 {baseDir}/scripts/contribute_server.py --id "<id>" --display-name "<name>" --description "<desc>" --package "<pkg>" --transport "<transport>" --install-method "<method>" --categories "<cat1,cat2>" --tags "<tag1,tag2>" --required-env "<VAR1,VAR2>"
If valid is true: present the serverEntry JSON and the prBody template. Guide the user to submit a PR to the marketplace repository.
If valid is false: show the validationErrors and help the user fix them, then re-run.
Auth Guidance Pattern
When a server requires environment variables:
- List each required variable with its purpose (from
authGuidance.instructions).
- Provide the generation URL if available: "You can create one at [URL]".
- Show the export command:
export VAR_NAME=<your-value-here>
- Remind about persistence: "Add this to
~/.zshrc (or ~/.bashrc) so it persists across sessions."
- NEVER ask the user to paste their actual token in the chat. Guide them to set it in their shell.
- NEVER store raw token values in config — only
${VAR_NAME} references.
- Offer secrets manager (if available): Before telling the user to add
export to .zshrc, check for a secrets manager:python3 {baseDir}/scripts/secrets_helper.py --action detect
If managers are found, offer the option: "I detected [manager name] on your system. Want to store this token there instead of in your shell profile? It's more secure."
If yes, generate the store command:python3 {baseDir}/scripts/secrets_helper.py --action store-command --manager "<manager>" --service "<server-name>" --env-var "<VAR_NAME>"
Present the storeCommand for the user to run, then show the shellIntegration line to add to ~/.zshrc.
OAuth Servers
When authGuidance.authType is "oauth":
- Present the setup steps from
authGuidance.oauthSetupSteps as a numbered list.
- Mention the provider: "This server uses [provider] OAuth for authentication."
- Link to reference doc: "For detailed OAuth setup instructions, see the OAuth patterns guide."
- Guide through env vars: After OAuth setup, the user still needs to set the required env vars (e.g.,
GOOGLE_APPLICATION_CREDENTIALS).
- Do NOT ask the user to paste credentials in the chat — guide them to set env vars in their shell.
Error Recovery
- Install fails with missing prerequisites: Read
{baseDir}/references/troubleshooting.md for the specific error and guide the user.
- Server not found in catalog: The search falls back to npm and Smithery registries automatically. If still not found, suggest checking https://github.com/modelcontextprotocol/servers for the official list or https://smithery.ai for community servers.
- Config generation fails: Show a manual config example from
{baseDir}/references/transport-patterns.md and walk through it.
- Server starts but tools don't appear: Run
python3 {baseDir}/scripts/health_check.py --server-id "<id>" to diagnose. Consult {baseDir}/references/troubleshooting.md.
- Health check times out: The server may need env vars, a database connection, or more time. Try increasing the timeout with
--timeout 30.
- Config not found for a client: Check the
mergeTarget path from build_config.py. See {baseDir}/references/troubleshooting.md for client-specific config paths.
Categories
Available category filters for discovery: developer-tools, database, communication, productivity, cloud-infra, ai-ml, data, cms-content, finance, observability, search, auth, storage, version-control, browser.
1---2name: mcp-marketplace3description: Install, configure, and manage MCP servers. Search 50+ verified servers plus npm and Smithery registries. Auto-generate configs for OpenClaw, Claude Desktop, Claude Code, and Cursor. Health check servers, troubleshoot issues. Use for: "install GitHub MCP", "add Postgres MCP server", "find database servers", "show my MCP servers", "remove Slack MCP", "set up Notion MCP", "what MCP servers are available", "is my server working", "test the GitHub MCP". Covers: MCP install, setup, configure, discover, search, remove, uninstall, list, status, update, add server, connect server, health check, troubleshoot.4---56# MCP Server Marketplace78Help users discover, install, configure, and manage MCP servers. Supports OpenClaw, Claude Desktop, Claude Code, and Cursor.910## Core Principles11121. **ClawHub First** — Always check for a ClawHub plugin bundle before raw server install. Bundles include skills and workflows on top of the MCP connection.132. **Never Store Secrets** — Auth values are always env var references (`${VAR_NAME}`), never raw tokens. Never ask the user to paste their actual token in chat.143. **Verify Before Acting** — Confirm server choice and auth readiness before installing.154. **Guide Completely** — Don't just install. Walk through auth setup and verification.1617## Intent Routing1819Classify the user's request into one of these intents, then follow the corresponding workflow.2021### DISCOVER — "What MCP servers are available for X?"22231. Run search:24 ```25 python3 {baseDir}/scripts/search_registries.py --query "<user's topic>" [--category "<category>"]26 ```272. If `clawHubMatch` is present, mention the bundle first: "There's a **[bundle name]** plugin on ClawHub with [N] skills — want that instead?"283. Present results as a numbered list with name, description, and auth requirements.294. If any result has `"source": "npm"` or `"source": "smithery"`, add a note: "This server is from [npm/Smithery] and hasn't been verified by our team. It should work but proceed with caution."305. Offer to install any result.316. If user asks "what else should I install?" or "recommend more servers":32 ```33 python3 {baseDir}/scripts/smart_recommend.py [--max-results 5]34 ```35 Present recommendations with their reasons (which installed servers they complement). Offer to install any.3637### INSTALL — "Install the X MCP server"3839This is the most complex flow. Follow all steps in order.4041**Step 1 — Search:**42```43python3 {baseDir}/scripts/search_registries.py --query "<server name>"44```4546**Step 2 — ClawHub bundle offer:**47If `clawHubMatch` is present, offer the bundle:4849> I found a **[bundle displayName]** plugin on ClawHub that includes the MCP connection plus [skillCount] additional skills. Would you like the full bundle, or just the raw MCP connection?5051If user wants the bundle, guide them to install via ClawHub (`clawhub install <bundleId>`). Then record the install and stop.5253**Step 3 — Confirm server:**54If multiple results, present a numbered list and ask user to pick. If one result, confirm: "I'll set up **[displayName]** — sound good?"5556**Step 3.5 — Compatibility check (if non-default client):**57If the user specified a client or you detected a non-OpenClaw client, check compatibility:58```59python3 {baseDir}/scripts/check_compatibility.py --server-id "<id>" --client "<client>"60```61If `compatible` is `false`, warn the user and suggest alternatives. If there are `warnings`, mention them but proceed.6263**Step 4 — Build config:**64```65python3 {baseDir}/scripts/build_config.py --server-id "<id>" [--client "<client>"]66```67The `--client` flag is optional. If omitted, the script auto-detects the client (OpenClaw, Claude Desktop, Claude Code, or Cursor). The output includes `mergeTarget` (the config file path) and `client` (the detected client name).6869**Step 5 — Auth guidance (if server has requiredEnv):**70Follow the Auth Guidance Pattern below. Wait for user to confirm they have their token ready before proceeding.7172**Step 6 — Check prerequisites and install:**73```74python3 {baseDir}/scripts/install_server.py --server-id "<id>"75```76This script checks prerequisites and returns the install command — it does NOT run it.7778- If `prerequisitesMet` is `false`, show the `prerequisites.suggestion` and help the user install the prerequisite first.79- If `prerequisitesMet` is `true`, run the `installCommand.command` directly using the Bash tool. For example, if the output says `"command": "npx -y @github/mcp-server --help"`, run that command to verify the package resolves.80- If `installCommand.command` is `null` (HTTP servers), skip — no install needed.81- If the install command fails, try the `installCommand.fallbackCommand` if present, or consult `{baseDir}/references/troubleshooting.md`.8283**Step 7 — Write config:**84Present the `configEntry` from step 4 and explain it needs to be added to the config file at `mergeTarget` (the path returned by build_config.py). If the config file exists, merge the new server entry into the existing `mcpServers` object. If it doesn't exist, create it:85```json86{87 "mcpServers": {88 <configEntry content here>89 }90}91```9293**Step 8 — Record state:**94```95python3 {baseDir}/scripts/manage_servers.py --action record --server-id "<id>" --package "<package>" --transport "<transport>" --install-method "<method>" --source "<source>"96```97Use `--source curated`, `--source npm`, or `--source smithery` based on where the server was found.9899**Step 8.5 — Health check (optional):**100```101python3 {baseDir}/scripts/health_check.py --server-id "<id>"102```103If `status` is `"healthy"`, include the tool count in the summary. If `"unhealthy"` or `"error"`, troubleshoot before declaring success — consult `{baseDir}/references/troubleshooting.md`.104105**Step 9 — Summary:**106Tell the user what was installed, what tools are now available (from health check if run), and remind them to restart their client to pick up the new server.107108### BULK INSTALL — "Install the dev toolkit" / "Set up servers for data work"1091101. If user mentions a specific bundle, resolve it. If they describe a use case, match to the closest bundle:111 ```112 python3 {baseDir}/scripts/bulk_install.py --bundle "<bundle-name>"113 ```114 Available bundles: `standard-dev`, `data-engineering`, `web-frontend`, `devops`, `productivity`, `ai-ml`.1151162. If unsure which bundle, list them all:117 ```118 python3 {baseDir}/scripts/bulk_install.py --bundle __list__119 ```120 Present the options and let the user choose.1211223. Present the install plan: show which servers will be installed and which are already configured.1231244. For each server in `toInstall`, follow the INSTALL workflow (Steps 3-9). Process them one at a time, confirming auth requirements for each.1251265. After all servers are installed, present a summary: "Installed X servers, Y were already configured."127128### DETECT — "Scan for MCP servers" / "What MCP servers do I already have installed?"1291301. Run detection:131 ```132 python3 {baseDir}/scripts/detect_servers.py --verbose133 ```1342. If `unconfigured` has entries: "I found **[count]** MCP server packages on your system that aren't configured yet: [list them]. Want me to set up any of them?"1353. If `alreadyConfigured` has entries: mention them as already active.1364. If nothing detected: "No known MCP server packages found. Want me to search for servers to install?"1375. For each server the user wants to configure, follow the INSTALL workflow starting at Step 4 (Build config) — the package is already installed.138139### RECOMMEND — "Set up MCP for this project" / "What servers should I use?"1401411. Scan the project:142 ```143 python3 {baseDir}/scripts/recommend_servers.py [--project-dir "<path>"]144 ```145 If the user specifies a project type: `python3 {baseDir}/scripts/recommend_servers.py --template "<type>"`146 Available templates: `python-web`, `node-fullstack`, `data-science`, `mobile`, `devops`, `static-site`.1471482. If `detected` is `true`:149 - Present the detected template: "This looks like a **[displayName]** project (matched [files/patterns])."150 - List **recommended** servers first, then **optional** servers.151 - Mark any that are already configured.152 - Offer to install the recommended set (routes to BULK INSTALL logic).1531543. If `detected` is `false`:155 - List available templates and ask the user to pick one.156 - Or suggest running DISCOVER for a broader search.157158### CONFIGURE — "Set the API key for X" / "Connect X to my database"1591601. Identify the server from the user's request.1612. Run `build_config.py --server-id "<id>"` with any custom env/args the user provides:162 ```163 python3 {baseDir}/scripts/build_config.py --server-id "<id>" --custom-env '{"KEY": "${KEY}"}'164 ```1653. Follow the Auth Guidance Pattern for any new env vars.1664. Update the `.mcp.json` config entry.167168### STATUS — "Show my installed MCP servers"1691701. Run:171 ```172 python3 {baseDir}/scripts/manage_servers.py --action list173 ```1742. Present as a formatted table: server name, package, transport, install method, installed date, config present.1753. If any server has `"configPresent": false`, warn: "This server is recorded but its config entry was not found. It may need to be re-configured."1764. If the user asks about a specific server:177 ```178 python3 {baseDir}/scripts/manage_servers.py --action status --server-id "<id>"179 ```1805. If no servers installed, suggest running a discovery search.181182### REMOVE — "Remove the X server"1831841. Confirm: "Remove **[displayName]**? This will remove the state record. You should also remove its entry from `.mcp.json`."1852. Run:186 ```187 python3 {baseDir}/scripts/manage_servers.py --action remove --server-id "<id>"188 ```1893. Remind user to remove the corresponding entry from `.mcp.json` and restart OpenClaw.190191### UPDATE — "Update my MCP servers"1921931. Run version check:194 ```195 python3 {baseDir}/scripts/version_check.py196 ```197 For a specific server: `python3 {baseDir}/scripts/version_check.py --server-id "<id>"`1981992. Present results:200 - Servers with `updateAvailable: true`: show current vs latest version and the `updateCommand`.201 - Servers with `note` (npx/uvx/http): explain they auto-resolve or are managed remotely.202 - Docker servers: suggest `docker pull` to refresh the image.2032043. If the user wants to update, run the `updateCommand` for each server via the Bash tool.2052064. After updating, optionally run a health check to verify the updated server works.207208### HEALTH CHECK — "Is my X server working?" / "Test the GitHub MCP"2092101. Identify the server from the user's request.2112. Run:212 ```213 python3 {baseDir}/scripts/health_check.py --server-id "<id>"214 ```2153. If `status` is `"healthy"`:216 - Present the tool count and list a few tool names.217 - "Your **[displayName]** server is healthy with [toolCount] tools available."2184. If `status` is `"unhealthy"` or `"error"`:219 - Show the error message.220 - Consult `{baseDir}/references/troubleshooting.md` for the specific error.221 - Update server status: `python3 {baseDir}/scripts/manage_servers.py --action update-status --server-id "<id>" --status error`222 - Guide the user through the fix, then re-run the health check to confirm.223224### TROUBLESHOOT — "X server isn't working" / "Why can't I use the GitHub tools?"2252261. Identify the server.2272. Run health check:228 ```229 python3 {baseDir}/scripts/health_check.py --server-id "<id>"230 ```2313. Based on the error, consult `{baseDir}/references/troubleshooting.md`.2324. Guide the user through the fix step by step.2335. Re-run health check to confirm resolution.2346. If resolved, update status: `python3 {baseDir}/scripts/manage_servers.py --action update-status --server-id "<id>" --status active`235236### CONTRIBUTE — "Add my server to the marketplace" / "Contribute a server config"2372381. Gather server details from the user:239 - **ID**: lowercase, hyphenated (e.g., `my-server`)240 - **Display Name**: human-readable name241 - **Description**: what the server does242 - **Package**: npm/pip package name or Docker image243 - **Transport**: `stdio` or `http`244 - **Install Method**: `npx`, `npm`, `uvx`, `pip`, `http`, or `docker`245 - **Categories**: from the Categories list below246 - **Required Env Vars**: any tokens/keys needed247 - **Tags**: search keywords2482492. Generate and validate the entry:250 ```251 python3 {baseDir}/scripts/contribute_server.py --id "<id>" --display-name "<name>" --description "<desc>" --package "<pkg>" --transport "<transport>" --install-method "<method>" --categories "<cat1,cat2>" --tags "<tag1,tag2>" --required-env "<VAR1,VAR2>"252 ```2532543. If `valid` is `true`: present the `serverEntry` JSON and the `prBody` template. Guide the user to submit a PR to the marketplace repository.2552564. If `valid` is `false`: show the `validationErrors` and help the user fix them, then re-run.257258## Auth Guidance Pattern259260When a server requires environment variables:2612621. **List each required variable** with its purpose (from `authGuidance.instructions`).2632. **Provide the generation URL** if available: "You can create one at [URL]".2643. **Show the export command**: `export VAR_NAME=<your-value-here>`2654. **Remind about persistence**: "Add this to `~/.zshrc` (or `~/.bashrc`) so it persists across sessions."2665. **NEVER ask the user to paste their actual token** in the chat. Guide them to set it in their shell.2676. **NEVER store raw token values** in config — only `${VAR_NAME}` references.2687. **Offer secrets manager (if available)**: Before telling the user to add `export` to `.zshrc`, check for a secrets manager:269 ```270 python3 {baseDir}/scripts/secrets_helper.py --action detect271 ```272 If managers are found, offer the option: "I detected **[manager name]** on your system. Want to store this token there instead of in your shell profile? It's more secure."273 If yes, generate the store command:274 ```275 python3 {baseDir}/scripts/secrets_helper.py --action store-command --manager "<manager>" --service "<server-name>" --env-var "<VAR_NAME>"276 ```277 Present the `storeCommand` for the user to run, then show the `shellIntegration` line to add to `~/.zshrc`.278279### OAuth Servers280281When `authGuidance.authType` is `"oauth"`:2822831. **Present the setup steps** from `authGuidance.oauthSetupSteps` as a numbered list.2842. **Mention the provider**: "This server uses **[provider]** OAuth for authentication."2853. **Link to reference doc**: "For detailed OAuth setup instructions, see the [OAuth patterns guide]({baseDir}/references/oauth-patterns.md)."2864. **Guide through env vars**: After OAuth setup, the user still needs to set the required env vars (e.g., `GOOGLE_APPLICATION_CREDENTIALS`).2875. **Do NOT ask the user to paste credentials** in the chat — guide them to set env vars in their shell.288289## Error Recovery290291- **Install fails with missing prerequisites**: Read `{baseDir}/references/troubleshooting.md` for the specific error and guide the user.292- **Server not found in catalog**: The search falls back to npm and Smithery registries automatically. If still not found, suggest checking https://github.com/modelcontextprotocol/servers for the official list or https://smithery.ai for community servers.293- **Config generation fails**: Show a manual config example from `{baseDir}/references/transport-patterns.md` and walk through it.294- **Server starts but tools don't appear**: Run `python3 {baseDir}/scripts/health_check.py --server-id "<id>"` to diagnose. Consult `{baseDir}/references/troubleshooting.md`.295- **Health check times out**: The server may need env vars, a database connection, or more time. Try increasing the timeout with `--timeout 30`.296- **Config not found for a client**: Check the `mergeTarget` path from build_config.py. See `{baseDir}/references/troubleshooting.md` for client-specific config paths.297298## Categories299300Available category filters for discovery: `developer-tools`, `database`, `communication`, `productivity`, `cloud-infra`, `ai-ml`, `data`, `cms-content`, `finance`, `observability`, `search`, `auth`, `storage`, `version-control`, `browser`.