Skip to main content
Glama

MCP Client Configuration Server

by landicefu

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

local-only server

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

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

  1. インストール
    1. 構成
      1. サポートされているクライアント
        1. 使用法
          1. 例: Roo Code から Claude アプリへのサーバー構成のコピー
        2. ツール
          1. get\_configuration\_path
          2. 設定の取得
          3. サーバー一覧
          4. get\_server\_configuration
          5. サーバー構成の追加
          6. サーバー構成の削除
        3. 実装の詳細
          1. トラブルシューティング
            1. よくある問題
            2. ベストプラクティス

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            A tool that dynamically generates and configures MCP servers by automatically creating necessary directories and files according to user specifications.
            Last updated -
            1
            9
            9
            JavaScript
            MIT License
          • -
            security
            A
            license
            -
            quality
            An MCP server implementation that standardizes how AI applications access tools and context, providing a central hub that manages tool discovery, execution, and context management with a simplified configuration system.
            Last updated -
            9
            Python
            MIT License
          • -
            security
            A
            license
            -
            quality
            An MCP server that implements Claude Code-like functionality, allowing the AI to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions.
            Last updated -
            172
            Python
            MIT License
            • Apple
            • Linux
          • -
            security
            F
            license
            -
            quality
            An MCP server that allows AI assistants to programmatically manage Unleash feature flags through natural language, enabling operations like creating, updating, and retrieving feature flags across projects.
            Last updated -
            5
            2
            TypeScript

          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/landicefu/mcp-client-configuration-server'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server