
Cursor MCP Installer

2025.03.30
36
JavaScriptMCP 服务器管理Cursor IDE 插件开发效率
Cursor MCP Installer 是一个用于在 Cursor IDE 中安装和配置其他 MCP 服务器的工具。它提供了一种简单的方式来管理和安装各种 MCP 服务器,支持从 npm 包、本地目录等多种来源进行安装。
View on GitHub
Overview
基本能力
产品定位
Cursor MCP Installer 是一个用于在 Cursor IDE 中安装和配置其他 MCP 服务器的工具。
核心功能
- 从 npm 包安装 MCP 服务器
- 从本地目录安装 MCP 服务器
- 配置 MCP 服务器以用于 Cursor
- 添加自定义 MCP 服务器配置
适用场景
- 在 Cursor IDE 中快速安装和管理 MCP 服务器
- 为开发项目配置自定义的 MCP 服务器
- 从多种来源(npm、本地目录等)安装 MCP 服务器
工具列表
install_repo_mcp_server
: 从 npm 包或仓库安装 MCP 服务器install_local_mcp_server
: 从本地目录安装 MCP 服务器add_to_cursor_config
: 添加自定义 MCP 服务器配置
常见问题解答
- 如何找到 Cursor MCP 配置文件?
- macOS/Linux:
~/.cursor/mcp.json
- Windows:
%USERPROFILE%\.cursor\mcp.json
- 如果文件不存在,可以按照安装方法中的内容创建。
使用教程
使用依赖
在安装此工具之前,需要安装以下依赖:
- Node.js (用于 npm 包)
- Cursor IDE
安装教程
1. 使用 npm (推荐)
npm install -g [email protected]
安装后,将其添加到 Cursor MCP 配置文件中:
{
"mcpServers": {
"MCP Installer": {
"command": "cursor-mcp-installer-free",
"type": "stdio",
"args": [
"index.mjs"
]
}
}
}
2. 使用 npx (无需安装)
{
"mcpServers": {
"MCP Installer": {
"command": "npx",
"type": "stdio",
"args": [
"[email protected]",
"index.mjs"
]
}
}
}
3. 从 GitHub 直接安装
git clone https://github.com/matthewdcage/cursor-mcp-installer.git
cd cursor-mcp-installer
npm install
npm run build
然后配置 Cursor 使用本地安装:
{
"mcpServers": {
"MCP Installer": {
"command": "node",
"type": "stdio",
"args": [
"/path/to/cursor-mcp-installer/lib/index.mjs"
]
}
}
}
调试方式
安装完成后,重启 Cursor IDE 以应用配置更改。然后可以通过 Claude 或 Cursor 与 MCP Installer 交互。
示例命令:
Install the MCP server named mcp-server-fetch
Install the MCP server at /home/user/projects/my-mcp-server