Cursor MCP Installer
This server allows you to install and configure MCP (Model Context Protocol) servers for AI clients, with primary focus on Cursor.
Install remote MCP servers (
install_repo_mcp_server): Install an MCP server from a package registry vianpxoruvx, with support for custom arguments and environment variables.Install local MCP servers (
install_local_mcp_server): Install an MCP server from a local directory on your machine, with support for custom arguments and environment variables.Add any MCP server to Cursor's config (
add_to_cursor_config): Manually register any MCP server (by command, path, or package) into Cursor's MCP configuration, with a custom display name, arguments, and environment variables.
Additional capabilities include cross-platform support (macOS, Windows, Linux), automatic detection of installed AI clients (Claude Desktop, Cursor, VS Code, etc.), MCP protocol handshake validation, config backup and atomic writes for safety, and structured health reports with tool counts, latency, and recovery hints.
Provides access to GitHub repositories and data through the @modelcontextprotocol/server-github package, requiring a personal access token for authentication.
Enables installation and configuration of MCP servers from npm packages, with support for Node.js-based MCP servers.
Supports Python-based MCP servers, automatically configuring them to run as Python modules with proper environment variables.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Cursor MCP Installerinstall the web search MCP server"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
_ _ _ _ _____ _______ ____ ____ _ _
| | | | \ | |_ _\ \ / / ____| _ \/ ___| / \ | |
| | | | \| || | \ \ / /| _| | |_) \___ \ / _ \ | |
| |_| | |\ || | \ V / | |___| _ < ___) / ___ \| |___
\___/|_| \_|___| \_/ |_____|_| \_\____/_/ \_\_____|
__ __ ____ ____ ___ _ _ ____ _____ _ _ _ _____ ____
| \/ |/ ___| _ \ |_ _| \ | / ___|_ _|/ \ | | | | | ____| _ \
| |\/| | | | |_) | | || \| \___ \ | | / _ \ | | | | | _| | |_) |
| | | | |___| __/ | || |\ |___) || |/ ___ \| |___| |___| |___| _ <
|_| |_|\____|_| |___|_| \_|____/ |_/_/ \_\_____|_____|_____|_| \_\
🚀 NEW: Universal MCP Installer v1.0.0 — Complete rewrite of
cursor-mcp-installer. Now supports 6 AI clients (Claude Desktop, Cursor, VS Code, OpenClaw, Claude Code, ChatGPT), cross-platform (macOS, Windows, Linux), real MCP handshake validation, and a branded web dashboard. Upgraded to MCP SDK 1.29.0.
🖥️ Web Dashboard Available! Launch with
npx universal-mcp-installer --uito manage everything from a visual interface. See Using the Dashboard below.
Quick Start Guide
Step 1: Install an MCP Server (One Command)
npx universal-mcp-installer install @modelcontextprotocol/server-memoryThat's it. The installer detects which AI clients you have installed and writes the correct config for each one.
Step 2: Or Add as an MCP Tool (Let Your AI Install Other MCP Servers)
Add this to your AI client's MCP configuration:
Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"MCP Installer": {
"command": "npx",
"type": "stdio",
"args": ["-y", "universal-mcp-installer"]
}
}
}Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"MCP Installer": {
"command": "npx",
"args": ["-y", "universal-mcp-installer"]
}
}
}VS Code (.vscode/mcp.json)
{
"servers": {
"mcpInstaller": {
"type": "stdio",
"command": "npx",
"args": ["-y", "universal-mcp-installer"]
}
}
}Step 3: Restart Your AI Client
Close and reopen your AI client to apply the configuration changes.
Step 4: Ask Your AI to Install Servers
Install the filesystem MCP serveror
Install the web search MCP serverThe installer exposes three tools your AI can call:
Tool | Description |
| Returns OS, architecture, available runtimes, and detected AI clients |
| Installs a server by package name, git URL, or local path to selected clients |
| Validates a server via MCP handshake and returns the result |
Related MCP server: MCP Server Template for Cursor IDE
Using the Dashboard
Launch the visual interface:
npx universal-mcp-installer --uiThis opens web interface in your browser at http://localhost:3939:
1. System Panel — The top section automatically detects your OS and all available runtimes (Node, npm, uvx, Python, git) so you can see at a glance what's available on your machine.
2. AI Clients — Each detected client gets a card showing its name, config file path, and how many MCP servers are already configured. Use the toggle switch on each card to include or exclude it from the next installation. Uninstalled clients appear dimmed.
3. Install — Type a package name (npm package, git URL, or local path), pick a method from the dropdown (Auto / npm / uvx / git / local), and hit the green Install button. The installer resolves the package, writes config to every toggled client, and validates via MCP handshake.
4. Progress & Results — A real-time timeline shows each step (resolving, writing config, validating) with live status updates via WebSocket. Once complete, a health report grid shows pass/fail per client with tool counts, latency, and recovery hints for any failures.
Supported Clients
Client | Config Key | Platforms |
Claude Desktop |
| macOS, Windows, Linux |
Cursor |
| macOS, Windows, Linux |
VS Code (Copilot) |
| All (workspace-level) |
OpenClaw / NemoClaw |
| macOS, Linux |
Claude Code |
| macOS, Windows, Linux |
ChatGPT Desktop | HTTP Bridge | All (via local HTTP proxy) |
Where Are the Config Files?
Client | macOS | Windows | Linux |
Claude Desktop |
|
|
|
Cursor |
|
|
|
VS Code |
|
|
|
OpenClaw |
| - |
|
Claude Code |
|
|
|
Features
Auto-detection of installed AI clients and their config paths
Runtime detection for Node.js, npm, npx, uvx, Python, and git
Multiple install methods: npm, uvx, git clone, local path
Config safety: backs up existing configs, atomic writes, never clobbers unrelated keys
Real MCP handshake validation: spawns the server, sends
initialize/initialized, callstools/listHealth reports: structured pass/fail per client with tool count, latency, and recovery hints
Known-issue recovery: 13+ error codes with actionable fix suggestions
Cross-platform: Windows
cmd /c npxwrapping, Linux XDG paths, macOS launchd supportService templates: generate launchd (macOS), systemd (Linux), or Task Scheduler (Windows) configs
Web dashboard: branded React UI with real-time WebSocket progress updates
Prerequisites
Node.js v18 or later
At least one supported AI client installed
Optional:
CLI Reference
# 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 --uiCLI Options
Option | Description |
| Comma-separated client IDs: |
| Install method: |
| Environment variable (repeatable) |
| Server argument (repeatable) |
| Skip MCP handshake validation after install |
| Dashboard port (default: 3939) |
API Endpoints (Dashboard Mode)
When running with --ui, a local API is available:
Endpoint | Method | Description |
| GET | System info, runtimes, detected clients |
| GET | Client detection details |
| POST | Trigger installation |
| POST | Trigger MCP handshake validation |
| WebSocket | Real-time progress events |
Development
# 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 devProject Structure
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 docsChangelog
v1.0.0 (Universal Rewrite)
Complete rewrite from
cursor-mcp-installer(v0.1.3) touniversal-mcp-installerUpgraded MCP SDK from
^1.0.1to^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
Added CLI with
detect,install,validatecommandsAdded web dashboard with React + Tailwind + WebSocket
Added 50+ real tests (was
echo "No tests specified")Added known-issue error recovery database
Added service template generation (launchd, systemd, Task Scheduler)
Replaced
rimraf/spawn-rxwith Node built-insFixed:
require.resolvein ESM contextFixed:
console.error/console.warncorrupting stdio JSON-RPC streamFull TypeScript source (was compiled JS-only artifact)
License
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/matthewdcage/cursor-mcp-installer'
If you have feedback or need assistance with the MCP directory API, please join our Discord server