MCP Client Configuration Server

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Referenced as a potential integration via the android-adb-mcp-server in configuration examples.

  • Referenced in usage examples for copying the brave-search MCP server configuration between clients.

  • Detects and manages configuration files on macOS systems, using platform-specific paths for client configuration management.

MCP クライアント構成サーバー

このMCPサーバーは、さまざまなMCPクライアントの設定管理に役立ちます。クライアント設定ファイルからサーバー設定を取得、一覧表示、追加、削除するためのツールを提供します。サーバーは、オペレーティングシステム(WindowsまたはmacOS)と指定されたクライアントに基づいて、適切な設定ファイルのパスを自動的に検出します。

インストール

# Install from npm npm install -g @landicefu/mcp-client-configuration-server # Or use npx to run without installing npx @landicefu/mcp-client-configuration-server

構成

この MCP サーバーを AI アシスタントで使用するには、MCP 設定構成に追加します。

{ "mcpServers": { "mcp-client-configuration": { "command": "npx", "args": ["-y", "@landicefu/mcp-client-configuration-server"], "env": {}, "disabled": false, "alwaysAllow": [] } } }

サポートされているクライアント

  • Cline : Claude 搭載コーディングアシスタント
  • Roo Code : AI機能を備えたコードエディタ
  • WindSurf : AI搭載ブラウザ
  • Claude アプリ: Claude AI のデスクトップ アプリケーション

注: Cursor は MCP 設定に標準の設定ファイルを使用しないため、サポート対象外となりました。Cursor は MCP 設定を簡単に変更できない方法で保存しているため、この設定サーバーのファイルベースのアプローチと互換性がありません。

使用法

このサーバーは特に次の場合に役立ちます:

  1. 複数のクライアントにわたる MCP サーバの管理: サーバを一度構成して複数のクライアントに展開する
  2. 構成の自動化: スクリプトはこのサーバーを使用して、MCP 構成をプログラムで管理できます。
  3. トラブルシューティング: 構成されているサーバーとその設定を簡単に確認します

例: Roo Code から Claude アプリへのサーバー構成のコピー

以下は、AI アシスタントを使用して Roo Code から Claude デスクトップ アプリに MCP サーバー構成をコピーするための簡単なプロンプトです。

Please copy the "brave-search" MCP server configuration from Roo Code to my Claude desktop app.

AI アシスタントはバックグラウンドで次の手順を実行します。

  1. Roo Code からサーバー構成を取得します。
// First, get the server configuration from Roo Code { "client": "roo_code", "server_name": "brave-search" }
  1. 次に、同じ構成を Claude に追加します。
// Then add it to Claude with the same settings { "client": "claude", "server_name": "brave-search", "json_config": { // Configuration retrieved from previous step }, "allow_override": true }

これにより、さまざまな AI アシスタント間で MCP サーバー構成を簡単に同期できるようになります。

ツール

get_configuration_path

指定されたクライアントの構成ファイルへのパスを取得します。

パラメータ:

  • client (必須): クライアント名(cline、roo_code、windsurf、claude)

戻り値:

  • 設定ファイルへの絶対パス

設定の取得

指定されたクライアントの構成全体を取得します。

パラメータ:

  • client (必須): クライアント名(cline、roo_code、windsurf、claude)

戻り値:

  • クライアントの構成ファイルからの完全なJSON構成

サーバー一覧

指定されたクライアントの構成で構成されているすべてのサーバー名を一覧表示します。

パラメータ:

  • client (必須): クライアント名(cline、roo_code、windsurf、claude)

戻り値:

  • サーバー名の配列

get_server_configuration

クライアントの構成から特定のサーバーの構成を取得します。

パラメータ:

  • client (必須): クライアント名(cline、roo_code、windsurf、claude)
  • server_name (必須): 取得するサーバーの名前

戻り値:

  • 指定されたサーバーのJSON構成

サーバー構成の追加

クライアントの構成ファイル内のサーバー構成を追加または更新します。

パラメータ:

  • client (必須): クライアント名(cline、roo_code、windsurf、claude)
  • server_name (必須): 追加または更新するサーバーの名前
  • json_config (必須): JSON形式のサーバー構成

例:

{ "command": "npx", "args": ["-y", "@landicefu/android-adb-mcp-server"], "env": {}, "disabled": false, "alwaysAllow": [] }

戻り値:

  • 更新された構成の成功メッセージ

サーバー構成の削除

クライアントの構成ファイルからサーバー構成を削除します。

パラメータ:

  • client (必須): クライアント名(cline、roo_code、windsurf、claude)
  • server_name (必須): 削除するサーバーの名前

戻り値:

  • 削除された構成またはサーバーが見つからないというメッセージ

実装の詳細

  • サーバーは、オペレーティング システム (Windows または macOS) と指定されたクライアントに基づいて適切な構成ファイル パスを検出します。
  • すべての構成ファイルは、変更後に整えられた JSON 形式で維持されます。
  • 構成ファイルが存在しない、またはアクセスできない場合のために、エラー処理が提供されます。
  • 構成ファイルとディレクトリが存在しない場合は、サーバーによって自動的に作成されます。
  • 各クライアントの構成パス:
    • ウィンドウズ:
      • クライン: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
      • Roo コード: %APPDATA%\Code\User\globalStorage\rooveterinaryinc.roo-cline\settings\cline_mcp_settings.json
      • ウィンドサーフ: %APPDATA%\WindSurf\mcp_settings.json
      • クロード: %APPDATA%\Claude\claude_desktop_config.json
    • macOS :
      • Cline: ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
      • Roo コード: ~/Library/Application Support/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json
      • WindSurf: ~/.codeium/windsurf/mcp_config.json
      • クロード: ~/Library/Application Support/Claude/claude_desktop_config.json

トラブルシューティング

よくある問題

  1. 設定ファイルが見つかりません
    • 新しいサーバーを追加するときに、構成ファイルが存在しない場合は自動的に作成されます。
    • その他の操作では、構成ファイルが存在しない場合はエラー メッセージが表示されます。
  2. サーバーは既に存在します
    • すでに存在するサーバーを追加する場合は、更新するためにallow_override``trueに設定する必要があります。
    • 例:
      { "client": "cline", "server_name": "existing-server", "json_config": { /* new config */ }, "allow_override": true }
  3. サポートされていないプラットフォーム
    • 現在、Windows と macOS のみがサポートされています。
    • 将来のバージョンでは Linux サポートが追加される可能性があります。

ベストプラクティス

  • サーバーを更新または削除する前に、必ずサーバーが存在するかどうかを確認してください。
  • 管理を容易にするために、クライアント間で一貫したサーバー名を使用します。
  • サーバー構成の機密情報には環境変数を使用することを検討してください。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

さまざまな AI アシスタント クライアント (Cline、Roo Code、WindSurf、Claude) 間で MCP サーバー構成を管理および同期し、クライアント構成ファイルからサーバー構成を取得、一覧表示、追加、削除するプロセスを自動化するツールです。

  1. Installation
    1. Configuration
      1. Supported Clients
        1. Usage
          1. Example: Copying a server configuration from Roo Code to Claude app
        2. Tools
          1. get_configuration_path
          2. get_configuration
          3. list_servers
          4. get_server_configuration
          5. add_server_configuration
          6. remove_server_configuration
        3. Implementation Details
          1. Troubleshooting
            1. Common Issues
            2. Best Practices
          ID: aa10ltj5b6