Logo Cursor MCP Installer

Cursor MCP Installer

Cộng đồng
matthewdcage

Installs MCPs in cursor for you, give it a git URL and let it rip

Nhà phát hànhmatthewdcage
Kho mãcursor-mcp-installer
Ngôn ngữTypeScript
Bản fork
9
Sao
77
Công cụ có sẵn
3
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Cursor MCP Installer cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 3 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    77 sao và 9 bản fork từ kho mã được liên kết.

             _   _ _   _ _____     _______ ____  ____    _    _     
            | | | | \ | |_ _\ \   / / ____|  _ \/ ___|  / \  | |    
            | | | |  \| || | \ \ / /|  _| | |_) \___ \ / _ \ | |    
            | |_| | |\  || |  \ V / | |___|  _ < ___) / ___ \| |___ 
             \___/|_| \_|___|  \_/  |_____|_| \_\____/_/   \_\_____|
                                                          
      __  __  ____ ____    ___ _   _ ____ _____  _    _     _     _____ ____  
     |  \/  |/ ___|  _ \  |_ _| \ | / ___|_   _|/ \  | |   | |   | ____|  _ \ 
     | |\/| | |   | |_) |  | ||  \| \___ \ | | / _ \ | |   | |   |  _| | |_) |
     | |  | | |___|  __/   | || |\  |___) || |/ ___ \| |___| |___| |___|  _ < 
     |_|  |_|\____|_|     |___|_| \_|____/ |_/_/   \_\_____|_____|_____|_| \_\

License: MIT npm version MCP Compatible npm downloads

🚀 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 --ui to manage everything from a visual interface. See Using the Dashboard below.

Quick Start Guide

Step 1: Install an MCP Server (One Command)

bash
npx universal-mcp-installer install @modelcontextprotocol/server-memory

That'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)

json
{
  "mcpServers": {
    "MCP Installer": {
      "command": "npx",
      "type": "stdio",
      "args": ["-y", "universal-mcp-installer"]
    }
  }
}

Claude Desktop (claude_desktop_config.json)

json
{
  "mcpServers": {
    "MCP Installer": {
      "command": "npx",
      "args": ["-y", "universal-mcp-installer"]
    }
  }
}

VS Code (.vscode/mcp.json)

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 server

or

Install the web search MCP server

The installer exposes three tools your AI can call:

ToolDescription
detect_systemReturns OS, architecture, available runtimes, and detected AI clients
install_mcp_serverInstalls a server by package name, git URL, or local path to selected clients
validate_mcp_serverValidates a server via MCP handshake and returns the result

Using the Dashboard

Launch the visual interface:

bash
npx universal-mcp-installer --ui

This 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

ClientConfig KeyPlatforms
Claude DesktopmcpServersmacOS, Windows, Linux
CursormcpServersmacOS, Windows, Linux
VS Code (Copilot)serversAll (workspace-level)
OpenClaw / NemoClawmcp.serversmacOS, Linux
Claude CodemcpServersmacOS, Windows, Linux
ChatGPT DesktopHTTP BridgeAll (via local HTTP proxy)

Where Are the Config Files?

ClientmacOSWindowsLinux
Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json
Cursor~/.cursor/mcp.json%USERPROFILE%\.cursor\mcp.json~/.cursor/mcp.json
VS Code.vscode/mcp.json (workspace).vscode/mcp.json (workspace).vscode/mcp.json (workspace)
OpenClaw~/.openclaw/openclaw.json-~/.openclaw/openclaw.json
Claude Code.mcp.json (project root).mcp.json (project root).mcp.json (project root)

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, calls tools/list
  • Health 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 npx wrapping, Linux XDG paths, macOS launchd support
  • Service 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:

  • uv/uvx for Python MCP servers
  • git for installing from repositories

CLI Reference

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

CLI Options

OptionDescription
--clients <ids>Comma-separated client IDs: cursor, claude-desktop, vscode, openclaw, claude-code, chatgpt
--method <method>Install method: auto, npm, uvx, git, local
--env KEY=valueEnvironment variable (repeatable)
--args <arg>Server argument (repeatable)
--no-validateSkip MCP handshake validation after install
--port <number>Dashboard port (default: 3939)

API Endpoints (Dashboard Mode)

When running with --ui, a local API is available:

EndpointMethodDescription
/api/systemGETSystem info, runtimes, detected clients
/api/clientsGETClient detection details
/api/installPOSTTrigger installation
/api/validatePOSTTrigger MCP handshake validation
/wsWebSocketReal-time progress events

Development

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

Project 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 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
  • Added CLI with detect, install, validate commands
  • Added 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-rx with Node built-ins
  • Fixed: require.resolve in ESM context
  • Fixed: console.error/console.warn corrupting stdio JSON-RPC stream
  • Full TypeScript source (was compiled JS-only artifact)

License

MIT

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "MCP Installer": {
      "command": "npx",
      "args": [
        "cursor-mcp-installer-free@0.1.3",
        "index.mjs"
      ]
    }
  }
}

Công cụ có sẵn

  • install_repo_mcp_server

    Install an MCP server via npx or uvx

  • install_local_mcp_server

    Install an MCP server whose code is cloned locally on your computer

  • add_to_cursor_config

    Add any MCP server to Cursor's configuration

Dùng MCP Cursor MCP Installer với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Cursor MCP Installer, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Cursor MCP Installer làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Cursor MCP Installer.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "cursor-mcp-installer": {
      "command": "npx",
      "args": [
        "-y",
        "cursor-mcp-installer"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Cursor MCP Installer, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Cursor MCP Installer.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Cursor MCP Installer giúp tôi làm việc này không?
Cursor MCP Installer
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Cursor MCP Installer.

Câu hỏi thường gặp

Máy chủ MCP Cursor MCP Installer dùng để làm gì?

Cursor MCP Installer là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Cursor MCP Installer với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Cursor MCP Installer với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Cursor MCP Installer với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Cursor MCP Installer, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Cursor MCP Installer với TypingMind?

Cursor MCP Installer hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Cursor MCP Installer cung cấp những công cụ nào trong TypingMind?

Cursor MCP Installer cung cấp 3 công cụ MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Cursor MCP Installer không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Cursor MCP Installer yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇