Skip to main content
Glama

Cursor MCP Installer

カーソルMCPインストーラー

**📢 NPM で今すぐ利用可能!**シンプルなnpm install -g cursor-mcp-installer-freeコマンドでインストールするか、 npx cursor-mcp-installer-freeまたはuvx cursor-mcp-installer-freeで直接使用してください。

**🔄 最新アップデート (v0.1.3):**すべてのMCPサーバーインストールにおけるパス処理の改善、OpenAPIスキーマ検出の改善、ローカルディレクトリにおけるサーバー検出の堅牢性向上。インストールパス処理に関する初期問題を報告してくださった@ItzAmirreza氏に感謝します。詳細はCHANGELOG.mdをご覧ください。

クイックスタートガイド

ステップ1: カーソル設定に追加する

カーソル構成に MCP インストーラーを追加するには、次のいずれかの方法を選択します。

npx の使用 (最も簡単 - インストール不要)

これを~/.cursor/mcp.jsonファイルに追加します (存在しない場合は作成します)。

{ "mcpServers": { "MCP Installer": { "command": "npx", "type": "stdio", "args": [ "cursor-mcp-installer-free@0.1.3", "index.mjs" ] } } }
npm の使用 (グローバルインストール)
npm install -g cursor-mcp-installer-free@0.1.3

次に、 ~/.cursor/mcp.jsonに以下を追加します。

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

ステップ2: カーソルを再起動する

構成の変更を適用するには、Cursor を閉じて再度開きます。

ステップ3: Claudeを使用してサーバーをインストールする

Claude に MCP サーバーのインストールを依頼してください。

Install the web search MCP server

または

Install the MCP server for OpenAPI schema exploration with my-schema.yaml

ステップ4: インストール後に表示されるもの

適切にインストールされ、Cursor が再起動されると、Claude を使用するときにサイドバーに MCP インストーラーが表示されます。

MCP インストーラーは、次の 3 つの主なツールを提供します。

  • install_repo_mcp_server : npm パッケージまたはリポジトリから MCP サーバーをインストールする
  • install_local_mcp_server : ローカルディレクトリから MCP サーバーをインストールする
  • add_to_cursor_config : カスタム MCP サーバー構成を追加する

特徴

  • npm パッケージから MCP サーバーをインストールする
  • ローカルディレクトリからMCPサーバーをインストールする
  • カーソル用のMCPサーバーを構成する
  • カスタムMCPサーバー構成を追加する

前提条件

このツールを使用する前に、以下をインストールする必要があります。

インストール

Cursor MCP インストーラーをインストールして使用するには、いくつかの方法があります。

1. npm を使用する(推奨)

npm install -g cursor-mcp-installer-free@0.1.3

インストール後、カーソル MCP 構成ファイルに追加します。

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

2. npx を使用する(インストール不要)

npx を使用すると、パッケージをグローバルにインストールせずに実行できます。

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

3. GitHubから直接

リポジトリをクローンしてローカルでビルドします。

# Clone the repository git clone https://github.com/matthewdcage/cursor-mcp-installer.git cd cursor-mcp-installer # Install dependencies and build npm install npm run build

次に、ローカルインストールを使用するように Cursor を構成します。

{ "mcpServers": { "MCP Installer": { "command": "node", "type": "stdio", "args": [ "/path/to/cursor-mcp-installer/lib/index.mjs" ] } } }

/path/to/cursor-mcp-installerリポジトリのクローンを作成した実際のパスに置き換えます。

カーソル MCP 構成ファイルはどこにありますか?

カーソル MCP 構成ファイルは次の場所にあります。

  • macOS/Linux : ~/.cursor/mcp.json
  • Windows : %USERPROFILE%\.cursor\mcp.json

ファイルが存在しない場合は、上記のいずれかのインストール方法の内容を使用してファイルを作成できます。

v0.1.3 でのパス処理の改善

バージョン 0.1.3 では、MCP サーバー インストールのパスの処理に大幅な改善が導入されました。

強化されたパス解決

  • 相対パスと絶対パスの両方を適切に正規化します
  • スペースや特殊文字を含むパスを処理
  • 異なるオペレーティング システム間で一貫したパス フォーマットを保証します

より優れたスキーマ検出

  • 最初の引数だけでなく、スキーマ ファイルのすべての引数をスキャンするようになりました。
  • より多くのスキーマ ファイル拡張子 (.yaml、.yml、.json、.openapi) をサポートします
  • サーバーに渡す前にスキーマファイルのパスを適切に正規化します

改善されたサーバー検出

  • ローカルディレクトリ内の共通サーバーエントリポイントの検出を追加しました
  • PythonベースのMCPサーバーのサポート強化
  • パス関連の問題に関するエラーレポートの改善

これらの改善により、MCP インストーラーは、特にカスタム ファイル パス、OpenAPI スキーマ、およびローカル ディレクトリのインストールを処理する際に、あらゆる種類のサーバー インストールに対してより堅牢になります。

使用法

インストールが完了したら、Claude または Cursor を使用して MCP インストーラーを操作できます。プロンプトの例を以下に示します。

MCPサーバーとしてnpmパッケージをインストールする

Install the MCP server named mcp-server-fetch

引数付きでインストール

Install the @modelcontextprotocol/server-filesystem package as an MCP server. Use ['/home/user/documents'] for the arguments

ローカルMCPサーバーをインストールする

Install the MCP server at /home/user/projects/my-mcp-server

環境変数を使用してインストールする

Related MCP Servers

  • A
    security
    A
    license
    A
    quality
    A template for creating custom tools for Cursor IDE using Model Context Protocol that allows users to deploy their own MCP server to Heroku and connect it to Cursor IDE.
    Last updated -
    2
    1
    Python
    MIT License
    • Linux
    • Apple
  • A
    security
    A
    license
    A
    quality
    A template for creating custom tools for Cursor IDE using Model Context Protocol (MCP), allowing developers to extend Cursor's functionality with their own server-based tools.
    Last updated -
    11
    2
    Python
    MIT License
    • Apple
    • Linux
  • -
    security
    F
    license
    -
    quality
    A server implementing the Model Context Protocol (MCP) for Cursor that allows using a PostgreSQL database as storage for model contexts, enabling secure database exploration and querying.
    Last updated -
    JavaScript
    • Linux
    • Apple
  • -
    security
    F
    license
    -
    quality
    An MCP server that provides detailed information about your development environment to the Cursor code editor, enabling more context-aware assistance.
    Last updated -
    1
    Python
    • Linux
    • Apple

View all related MCP servers

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