landicefu_mcp-client-configuration-server

landicefu_mcp-client-configuration-server

3.3

The MCP Client Configuration Server manages configurations for different MCP clients, providing tools to retrieve, list, add, and remove server configurations from client configuration files.

The MCP Client Configuration Server is designed to streamline the management of configurations for various MCP clients. It automatically detects the appropriate configuration file path based on the operating system (Windows or macOS) and the specified client. This server is particularly useful for managing MCP servers across multiple clients, automating configuration processes, and troubleshooting configuration issues. It supports clients like Cline, Roo Code, WindSurf, and the Claude app, although it does not support Cursor due to its non-standard configuration file approach. The server provides a set of tools to retrieve, list, add, and remove server configurations, making it a versatile solution for developers and AI assistants looking to manage their MCP settings efficiently.

Features

  • Automatic detection of configuration file paths based on OS and client.
  • Support for multiple clients including Cline, Roo Code, WindSurf, and Claude app.
  • Tools for retrieving, listing, adding, and removing server configurations.
  • Error handling for non-existent or inaccessible configuration files.
  • Automatic creation of configuration files and directories if they don't exist.

MCP Tools

  • {'get_configuration_path': 'Retrieves the path to the configuration file for a specified client.'}
  • {'get_configuration': 'Retrieves the entire configuration for a specified client.'}
  • {'list_servers': "Lists all server names configured in a specified client's configuration."}
  • {'get_server_configuration': "Retrieves the configuration for a specific server from a client's configuration."}
  • {'add_server_configuration': "Adds or updates a server configuration in a client's configuration file."}
  • {'remove_server_configuration': "Removes a server configuration from a client's configuration file."}

Usage with Different Platforms

installation

bash
# Install from npm
npm install -g @landicefu/mcp-client-configuration-server

# Or use npx to run without installing
npx @landicefu/mcp-client-configuration-server

configuration


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

example_usage


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


javascript
// First, get the server configuration from Roo Code
{
  "client": "roo_code",
  "server_name": "brave-search"
}

// 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
}

Frequently Asked Questions

What happens if the configuration file does not exist?

The server will automatically create the configuration file and directories if they don't exist when adding a new server.

Can I update an existing server configuration?

Yes, you can update an existing server configuration by setting allow_override to true.

Is Linux supported?

Currently, only Windows and macOS are supported. Linux support may be added in future versions.