bash
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
npx universal-mcp-installer install @modelcontextprotocol/server-memory
json
{
"mcpServers": {
"MCP Installer": {
"command": "npx",
"type": "stdio",
"args": ["-y", "universal-mcp-installer"]
}
}
}
json
{
"mcpServers": {
"MCP Installer": {
"command": "npx",
"args": ["-y", "universal-mcp-installer"]
}
}
}
json
{
"servers": {
"mcpInstaller": {
"type": "stdio",
"command": "npx",
"args": ["-y", "universal-mcp-installer"]
}
}
}
Install the filesystem MCP server
Install the web search MCP server
bash
npx universal-mcp-installer --ui
bash
Detect your system, runtimes, and installed AI clients
npx universal-mcp-installer detect
Install an MCP server to all detected clients
npx universal-mcp-installer install @modelcontextprotocol/server-memory
Install to specific clients only
npx universal-mcp-installer install my-server --clients cursor,claude-desktop
Install with environment variables
npx universal-mcp-installer install my-server --env API_KEY=sk-123
Install from a git repository
npx universal-mcp-installer install https://github.com/user/mcp-server.git
Install from a local directory
npx universal-mcp-installer install ./my-local-server --method local
Validate an MCP server by running the handshake
npx universal-mcp-installer validate npx -y @modelcontextprotocol/server-memory
Launch the web dashboard
npx universal-mcp-installer --ui
bash
Clone and install
git clone https://github.com/matthewdcage/cursor-mcp-installer.git
cd cursor-mcp-installer
npm install
Build the server
npm run build
Build the dashboard
cd dashboard && npm install && npm run build && cd ..
Run tests (real MCP handshake, no mocks)
npm test
Watch mode
npm run dev
src/
index.ts MCP server entry (stdio)
cli.ts CLI entry (npx)
detect/ OS, runtime, client detection
clients/ Config writers per AI client
install/ Package resolution (npm, uvx, git, local)
validate/ MCP handshake + health reports
api/ HTTP/WebSocket API for dashboard
utils/ Config I/O, logging, errors, platform utils
dashboard/ React + Vite + Tailwind web UI
tests/ Unit, integration, E2E tests
docs/ Localized official MCP docs
Changelog
v1.0.0 (Universal Rewrite)
- Complete rewrite from cursor-mcp-installer (v0.1.3) to universal-mcp-installer
- Upgraded MCP SDK from ^1.0.1 to ^1.29.0 (28 minor versions)
- Added support for 6 AI clients (was Cursor-only)
- Added real MCP handshake validation (was none)
- Added cross-platform support with platform-specific config paths