Windsurf MCP Config Manager
A command-line utility to manage Windsurf/Codeium MCP server configurations. This tool helps you easily add, update, delete, and list MCP server configurations used by Windsurf/Codeium.
Installation
pip install windsurf-mcp-config-manager
Quick Start
The utility provides a command-line interface with the shortcut wmcp and several subcommands:
# Add a new MCP server
wmcp add my-server --command python --args "server.py,--port=8080" --env DEBUG=true
# List all configured servers
wmcp list
# Update an existing server
wmcp update my-server --command node --args "app.js,--env=production"
# Delete a server
wmcp delete my-server
Configuration File
By default, the configuration is stored in ~/.codeium/windsurf/mcp_config.json. The file is automatically created if it doesn't exist. A backup is always created before making any changes to the configuration file.
Detailed Usage
Global Options
--config TEXT Path to the config file (default: ~/.codeium/windsurf/mcp_config.json)
--help Show this message and exit
Add Command
Add a new MCP server configuration.
wmcp add NAME --command COMMAND [--args ARGS] [--env KEY=VALUE]
Options:
NAME: Name of the MCP server (required)--command TEXT: Command to run the MCP server (required)--args TEXT: Arguments for the command (comma-separated)--env TEXT: Environment variables in KEY=VALUE format (can be specified multiple times)
Example:
wmcp add my-server --command python --args "server.py,--port=8080,--debug" --env DEBUG=true --env LOG_LEVEL=info
Delete Command
Delete an MCP server configuration.
wmcp delete NAME
Options:
NAME: Name of the MCP server to delete (required)
Example:
wmcp delete my-server
Update Command
Update an existing MCP server configuration.
wmcp update NAME [--command COMMAND] [--args ARGS] [--env KEY=VALUE]
Options:
NAME: Name of the MCP server to update (required)--command TEXT: New command to run the MCP server--args TEXT: New arguments for the command (comma-separated)--env TEXT: Environment variables to add/update (can be specified multiple times)
Example:
wmcp update my-server --command node --args "app.js,--production" --env NODE_ENV=production
List Command
List all configured MCP servers.
wmcp list
Example output:
Configured MCP servers:
my-server:
Command: python
Args: server.py, --port=8080
Environment variables:
DEBUG=true
Safety Features
- Automatic backups: The tool automatically creates a backup of your configuration file before making any changes
- Directory handling: Properly handles configuration files in any directory
- Error handling: Provides clear error messages when something goes wrong
Development
Setup
git clone https://github.com/trilogy-group/trilogy-group-windsurf-mcp-config-manager.git
cd trilogy-group-windsurf-mcp-config-manager
pip install -e .
Publishing to PyPI
The package is automatically published to PyPI when a new release is created on GitHub. To create a new release:
-
Update the version number in:
windsurf_mcp_config_manager/__init__.pysetup.py
-
Commit and push these changes to GitHub
-
Create a new release on GitHub with a tag matching the version number (e.g., "v0.1.0")
License
MIT
Metadata
Release files for windsurf-mcp-config-manager 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| windsurf_mcp_config_manager-0.2.1.tar.gz | 7.4 kB | Without provenance | Details for windsurf_mcp_config_manager-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| windsurf_mcp_config_manager-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for windsurf_mcp_config_manager-0.2.1-py3-none-any.whl |
Total release size: 13.8 kB
Release files / windsurf_mcp_config_manager-0.2.1.tar.gz
| Download URL | windsurf_mcp_config_manager-0.2.1.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e9f59f63328c6c054f0802b654b26d3f67323c9246c51310b0be658aadecbca6
|
|
BLAKE2b-256 checksum How to use checksums |
af3b364a88870e7db99672fa91aaceac34790a3a232642c40b8e697b447648c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.15
|
Release files / windsurf_mcp_config_manager-0.2.1-py3-none-any.whl
| Download URL | windsurf_mcp_config_manager-0.2.1-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f79440abc1cb0edd50a43d5bea711da7b4302d3f1a7c217d97932b703c3e88ff
|
|
BLAKE2b-256 checksum How to use checksums |
5a226ea0e6b1b6d59c9c64145da0064b34707949fd4e2eb02885a913dcdf1b8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.15
|
Security for windsurf-mcp-config-manager 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.