MCP Installer 提供以下工具:
你可以使用以下命令安装 MCP Installer:
npm install @bbangjo/mcp-installer
npx @bbangjo/mcp-installer --client <client-type> --key <your-smithery-api-key>
其中:
<client-type>:当前支持的客户端类型有 'cursor' 或 'claude'<your-smithery-api-key>:输入你的 Smithery API 密钥示例:
npx @bbangjo/mcp-installer --client cursor --key your_smithery_api_key_here
安装成功后,你会看到消息“✅ MCP 服务器已成功安装。”
注意:根据客户端类型的不同,配置文件将会创建在以下位置:
Cursor:
Claude:
npm install
.env 文件,并添加以下内容:SMITHERY_API_KEY=your_api_key_here
npm run build
node build/index.js
当服务器成功启动时,它会显示消息“MCP Finder Server 正在 stdio 上运行”。