Skip to main content
Glama
             _   _ _   _ _____     _______ ____  ____    _    _     
            | | | | \ | |_ _\ \   / / ____|  _ \/ ___|  / \  | |    
            | | | |  \| || | \ \ / /|  _| | |_) \___ \ / _ \ | |    
            | |_| | |\  || |  \ V / | |___|  _ < ___) / ___ \| |___ 
             \___/|_| \_|___|  \_/  |_____|_| \_\____/_/   \_\_____|
                                                          
      __  __  ____ ____    ___ _   _ ____ _____  _    _     _     _____ ____  
     |  \/  |/ ___|  _ \  |_ _| \ | / ___|_   _|/ \  | |   | |   | ____|  _ \ 
     | |\/| | |   | |_) |  | ||  \| \___ \ | | / _ \ | |   | |   |  _| | |_) |
     | |  | | |___|  __/   | || |\  |___) || |/ ___ \| |___| |___| |___|  _ < 
     |_|  |_|\____|_|     |___|_| \_|____/ |_/_/   \_\_____|_____|_____|_| \_\

License: MIT npm version MCP Compatible npm downloads

🚀 新機能: Universal MCP Installer v1.0.0 — cursor-mcp-installer を完全に書き直しました。6 つの AI クライアント (Claude Desktop, Cursor, VS Code, OpenClaw, Claude Code, ChatGPT) に対応し、クロスプラットフォーム (macOS, Windows, Linux) で動作します。本物の MCP ハンドシェイク検証 と ブランド化された Web ダッシュボード を備えています。MCP SDK 1.29.0 にアップグレードされました。

🖥️ Web ダッシュボードが利用可能に! npx universal-mcp-installer --ui で起動し、視覚的なインターフェースからすべてを管理できます。以下の ダッシュボードの使用方法 を参照してください。

クイックスタートガイド

ステップ 1: MCP サーバーをインストールする (1 コマンド)

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

以上です。インストーラーはインストールされている AI クライアントを検出し、それぞれに対して正しい設定を書き込みます。

ステップ 2: または MCP ツールとして追加する (AI に他の MCP サーバーをインストールさせる)

AI クライアントの MCP 設定に以下を追加します:

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"]
    }
  }
}

ステップ 3: AI クライアントを再起動する

AI クライアントを閉じて再度開き、設定の変更を適用します。

ステップ 4: AI にサーバーのインストールを依頼する

Install the filesystem MCP server

または

Install the web search MCP server

インストーラーは、AI が呼び出せる 3 つのツールを提供します:

ツール

説明

detect_system

OS、アーキテクチャ、利用可能なランタイム、検出された AI クライアントを返します

install_mcp_server

パッケージ名、Git URL、またはローカルパスから選択したクライアントにサーバーをインストールします

validate_mcp_server

MCP ハンドシェイクを介してサーバーを検証し、結果を返します

Related MCP server: hyper-mcp

ダッシュボードの使用方法

視覚的なインターフェースを起動します:

npx universal-mcp-installer --ui

これにより、ブラウザの http://localhost:3939 で Web インターフェースが開きます:

1. システムパネル — 上部のセクションでは、OS と利用可能なすべてのランタイム (Node, npm, uvx, Python, git) を自動的に検出し、マシン上で何が利用可能かを一目で確認できます。

2. AI クライアント — 検出された各クライアントには、名前、設定ファイルのパス、すでに設定されている MCP サーバーの数が表示されたカードが表示されます。各カードのトグルスイッチを使用して、次回のインストール対象に含めるか除外するかを選択します。インストールされていないクライアントはグレーアウトして表示されます。

3. インストール — パッケージ名 (npm パッケージ、Git URL、またはローカルパス) を入力し、ドロップダウンからメソッド (Auto / npm / uvx / git / local) を選択して、緑色の Install ボタンを押します。インストーラーはパッケージを解決し、トグルされたすべてのクライアントに設定を書き込み、MCP ハンドシェイクを介して検証を行います。

4. 進捗と結果 — リアルタイムのタイムラインで各ステップ (解決、設定の書き込み、検証) が表示され、WebSocket を介してライブステータスが更新されます。完了すると、ヘルスレポートグリッドにクライアントごとの成功/失敗、ツール数、レイテンシ、および失敗時の復旧ヒントが表示されます。

対応クライアント

クライアント

設定キー

プラットフォーム

Claude Desktop

mcpServers

macOS, Windows, Linux

Cursor

mcpServers

macOS, Windows, Linux

VS Code (Copilot)

servers

すべて (ワークスペースレベル)

OpenClaw / NemoClaw

mcp.servers

macOS, Linux

Claude Code

mcpServers

macOS, Windows, Linux

ChatGPT Desktop

HTTP Bridge

すべて (ローカル HTTP プロキシ経由)

設定ファイルはどこにありますか?

クライアント

macOS

Windows

Linux

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 (ワークスペース)

.vscode/mcp.json (ワークスペース)

.vscode/mcp.json (ワークスペース)

OpenClaw

~/.openclaw/openclaw.json

-

~/.openclaw/openclaw.json

Claude Code

.mcp.json (プロジェクトルート)

.mcp.json (プロジェクトルート)

.mcp.json (プロジェクトルート)

機能

  • インストールされている AI クライアントとその設定パスの 自動検出

  • Node.js, npm, npx, uvx, Python, git の ランタイム検出

  • 複数のインストール方法: npm, uvx, git clone, ローカルパス

  • 設定の安全性: 既存の設定をバックアップし、アトミックに書き込み、関連のないキーを破壊しません

  • 本物の MCP ハンドシェイク検証: サーバーを起動し、initialize/initialized を送信し、tools/list を呼び出します

  • ヘルスレポート: クライアントごとの構造化された成功/失敗、ツール数、レイテンシ、復旧ヒント

  • 既知の問題の復旧: 13 以上のエラーコードと実行可能な修正案

  • クロスプラットフォーム: Windows の cmd /c npx ラッピング、Linux の XDG パス、macOS の launchd サポート

  • サービステンプレート: launchd (macOS)、systemd (Linux)、またはタスクスケジューラ (Windows) の設定を生成

  • Web ダッシュボード: リアルタイムの WebSocket 進捗更新を備えた React UI

前提条件

  • Node.js v18 以降

  • 対応する AI クライアントが少なくとも 1 つインストールされていること

オプション:

  • Python MCP サーバー用の uv/uvx

  • リポジトリからインストールするための git

CLI リファレンス

# 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 オプション

オプション

説明

--clients <ids>

カンマ区切りのクライアント ID: cursor, claude-desktop, vscode, openclaw, claude-code, chatgpt

--method <method>

インストール方法: auto, npm, uvx, git, local

--env KEY=value

環境変数 (繰り返し可能)

--args <arg>

サーバー引数 (繰り返し可能)

--no-validate

インストール後の MCP ハンドシェイク検証をスキップ

--port <number>

ダッシュボードのポート (デフォルト: 3939)

API エンドポイント (ダッシュボードモード)

--ui で実行する場合、ローカル API が利用可能です:

エンドポイント

メソッド

説明

/api/system

GET

システム情報、ランタイム、検出されたクライアント

/api/clients

GET

クライアント検出の詳細

/api/install

POST

インストールのトリガー

/api/validate

POST

MCP ハンドシェイク検証のトリガー

/ws

WebSocket

リアルタイムの進捗イベント

開発

# 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

変更履歴

v1.0.0 (Universal Rewrite)

  • cursor-mcp-installer (v0.1.3) から universal-mcp-installer への完全な書き直し

  • MCP SDK を ^1.0.1 から ^1.29.0 にアップグレード (28 マイナーバージョン)

  • 6 つの AI クライアントのサポートを追加 (以前は Cursor のみ)

  • 本物の MCP ハンドシェイク検証を追加 (以前はなし)

  • プラットフォーム固有の設定パスによるクロスプラットフォームサポートを追加

  • detect, install, validate コマンドを備えた CLI を追加

  • React + Tailwind + WebSocket を備えた Web ダッシュボードを追加

  • 50 以上の実際のテストを追加 (以前は echo "No tests specified")

  • 既知の問題のエラー復旧データベースを追加

  • サービステンプレート生成を追加 (launchd, systemd, タスクスケジューラ)

  • rimraf/spawn-rx を Node の組み込み機能に置き換え

  • 修正: ESM コンテキストでの require.resolve

  • 修正: console.error/console.warn が stdio JSON-RPC ストリームを破損させる問題

  • 完全な TypeScript ソース (以前はコンパイルされた JS のみのアーティファクト)

ライセンス

MIT

Available Tools

3 tools
add_to_cursor_configC

Add any MCP server to Cursor's configuration

ParametersJSON Schema
NameRequiredDescriptionDefault
argsNoArguments to pass to the command
commandNoCommand to execute (e.g., node, npx, python)
envNoEnvironment variables to set, delimited by =
nameYesDisplay name for the MCP server in Cursor
pathNoPath to the MCP server on disk (optional, used instead of command+args)

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. It states the action ('Add') but doesn't explain what this entails—whether it modifies configuration files, requires specific permissions, has side effects, or what happens on success/failure. For a configuration mutation tool, this is a significant gap in transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, clear sentence that efficiently conveys the core purpose without unnecessary words. It's front-loaded and wastes no space, making it easy for an agent to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool that mutates configuration (implied by 'Add') with 5 parameters, no annotations, and no output schema, the description is insufficient. It doesn't address behavioral aspects like permissions, side effects, or error handling, nor does it help differentiate from sibling tools, leaving the agent with incomplete context for safe and effective use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all 5 parameters thoroughly. The description adds no additional parameter semantics beyond what's in the schema, such as explaining relationships between parameters (e.g., 'path' vs 'command+args') or usage examples. Baseline 3 is appropriate when schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Add') and resource ('any MCP server to Cursor's configuration'), making the purpose immediately understandable. However, it doesn't explicitly differentiate from sibling tools like 'install_local_mcp_server' or 'install_repo_mcp_server', which likely handle more specific installation scenarios.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus its siblings ('install_local_mcp_server', 'install_repo_mcp_server'), nor does it mention any prerequisites, alternatives, or exclusion criteria. This leaves the agent without context for tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

install_local_mcp_serverC

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

ParametersJSON Schema
NameRequiredDescriptionDefault
argsNoThe arguments to pass along
envNoThe environment variables to set, delimited by =
pathYesThe path to the MCP server code cloned on your computer

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the action is 'Install', implying a write operation, but doesn't cover permissions needed, side effects (e.g., system changes), error handling, or output format. This leaves significant gaps for a tool that likely modifies the local environment.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It is front-loaded and appropriately sized, making it easy to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of an installation tool with no annotations and no output schema, the description is insufficient. It lacks details on behavioral traits (e.g., what 'Install' entails operationally), prerequisites, or expected outcomes, leaving the agent with incomplete context for safe and effective use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all three parameters (path, args, env) with clear descriptions. The description adds no additional parameter semantics beyond what's in the schema, such as examples or constraints, resulting in the baseline score for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Install') and the resource ('an MCP server whose code is cloned locally on your computer'), making the purpose understandable. However, it doesn't explicitly differentiate from sibling tools like 'install_repo_mcp_server' beyond the 'cloned locally' detail, which is implied but not contrasted.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'install_repo_mcp_server' or 'add_to_cursor_config'. It mentions the resource is 'cloned locally', which hints at a prerequisite, but lacks explicit when/when-not instructions or named alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

install_repo_mcp_serverC

Install an MCP server via npx or uvx

ParametersJSON Schema
NameRequiredDescriptionDefault
argsNoThe arguments to pass along
envNoThe environment variables to set, delimited by =
nameYesThe package name of the MCP server

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden but lacks behavioral details. It states the installation action but doesn't disclose critical traits like required permissions, side effects (e.g., system changes), error handling, or output format. This leaves significant gaps for an agent to understand the tool's behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with zero waste. It's front-loaded with the core action and methods, making it easy to parse quickly without unnecessary elaboration.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of installing software (a mutation operation with potential side effects), no annotations, and no output schema, the description is incomplete. It lacks details on prerequisites, success/failure outcomes, and behavioral context, making it insufficient for safe and effective tool invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all parameters (name, args, env). The description adds no additional meaning beyond what the schema provides, such as examples or usage context for parameters. Baseline 3 is appropriate as the schema handles parameter documentation adequately.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Install') and resource ('MCP server'), specifying the installation methods ('via npx or uvx'). However, it doesn't differentiate from sibling tools like 'install_local_mcp_server', which likely handles local installations versus this tool's package-based approach.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this tool versus alternatives is provided. The description mentions installation methods but doesn't clarify scenarios where 'install_repo_mcp_server' is preferred over 'install_local_mcp_server' or other siblings, leaving usage context ambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 3 tool updatesv1.0.0
    • First observedadd_to_cursor_config
    • First observedinstall_local_mcp_server
    • First observedinstall_repo_mcp_server

TDQS

A3.5/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: adding servers to config, installing from local code, and installing from remote repositories. There is no overlap or ambiguity between these three installation-related operations.

Naming Consistency4/5

The tools follow a consistent verb_object pattern (add_to..., install_..., install_...), though 'add_to_cursor_config' uses a prepositional phrase while the others use adjective-noun modifiers. This minor deviation doesn't significantly impact readability.

Tool Count5/5

Three tools is perfectly appropriate for an MCP installer server. Each tool covers a distinct installation scenario (config addition, local install, remote install), and there are no missing or redundant tools for this focused purpose.

Completeness5/5

The toolset provides complete coverage for MCP server installation workflows: adding to configuration, installing from local sources, and installing from remote repositories. There are no obvious gaps in the installation lifecycle for this domain.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that provides detailed information about your development environment to the Cursor code editor, enabling more context-aware assistance.
    7
    MIT
  • A
    license
    Not graded
    quality
    F
    maintenance
    A configurable MCP server wrapper for Cursor that eliminates tool count limits when using the Model Context Protocol.
    16 npm
    10
    GPL 3.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    A production-ready development scaffold for MCP servers, optimized for Cursor IDE with built-in tools, resources, and prompts that enables quick development of Model Context Protocol servers with 5-minute startup and 10-minute development capabilities.
    26
    MIT