mcp-installer
Installation
SKILL.md
MCP Installer
Overview
Install MCP server configurations across multiple clients and OSes with a CLI-first workflow and a safe manual fallback.
Workflow
1) Collect inputs
- Identify the target client ID and OS; use
references/clients.mdfor the supported list and known paths. - Gather MCP server definitions (name -> config object) and decide whether to override existing entries.
- If any provided MCP config includes secrets (for example fields like
key,token,apiKey,accessToken,secret,password, orAuthorization, or env vars like*_KEY,*_TOKEN), pause the install and ask the user to obtain/provide those values first. Only proceed once the user confirms they have the required credentials (or requests installing a placeholder and will fill it in later).
2) Prefer @smithery/cli (when supported)
- Run
npx @smithery/cli --helpandnpx @smithery/cli install --helpto confirm the exact syntax. - Use the CLI install flow for the client ID; if the CLI rejects the client or fails, fall back to manual edits.
3) Manual install (JSON config fallback)
- Locate the config file path (see
references/clients.md). If unknown, search standard config dirs for files likemcp.json,mcp_config.json,claude_desktop_config.json, orcline_mcp_settings.json. - Read existing JSON and ensure a top-level
mcpServersobject exists. - Merge servers: add new names; replace existing when override is true; preserve all other keys.
- Write JSON with 2-space indentation.
Example shape:
{
"mcpServers": {
"example-server": {
"command": "npx",
"args": ["-y", "example-mcp@latest"],
"env": {}
}
}
}
4) Verify and troubleshoot
- Restart the client and confirm the MCP servers appear.
- If writes fail on macOS, prompt for Full Disk Access and ensure the client app is closed before writing.
- For CLI-only clients (for example
claude-code), use the client CLI help to locate its MCP install/config command. - If Trae/Trae-CN installs fail due to permissions or other errors, generate a deep link and return it as a fallback.
5) Trae deep-link fallback
If trae or trae-cn cannot write to disk, generate a schema link for the user to open in Trae:
trae:trae://trae.ai-ide/mcp-import?type=${TYPE}&name=${NAME}&config=${BASE64_ENCODED_CONFIG}trae-cn:trae-cn://trae.ai-ide/mcp-import?type=${TYPE}&name=${NAME}&config=${BASE64_ENCODED_CONFIG}
Rules:
TYPEis the MCP transport type (for examplestreamable-http).NAMEis the server name shown in Trae.configis the base64-encoded JSON config object for that server (no whitespace, UTF-8 bytes).
References
- Use
references/clients.mdfor client IDs, aliases, and known config paths.
Related skills
More from lintendo/axhub-make
axure-prototype-workflow
使用 skills/ 中的 extract-axure-data 等技能提取 Axure 原型资产、生成主题/数据/文档、还原页面与生成业务文档的流程规范;当用户提供 Axure 原型链接或提出资产提取、原型还原、主题/数据模型/文档生成、交互引导需求时使用。
31local-axure-workflow
处理本地导出的 Axure 原型资源并生成主题、数据模型与页面还原的流程规范;在需要基于 sitemap.json 与本地页面资源进行分析与还原时使用。
20axure-export-workflow
在“导出到 Axure”前的代码检查失败场景下,按固定流程修复规范问题并完成 Axure 模式注释标识;当用户要求修复导出检测错误、补齐 @mode axure、补充 Skill 参考路径时使用。
5default-resource-recommendations
默认图表/图标/字体/动画资源推荐,按需查阅 references 中对应文档。
4project-memory
项目整理 — 整理项目文档、主题、数据等后置资源,保持项目资产清晰可追溯
4web-page-workflow
使用本项目MCP 与 Firecrawl MCP 处理普通网页资产提取与原型还原的流程规范;在执行网页页面地图发现、主题/数据/文档提取与还原时使用。
4