A tool to manage Claude MCP servers configuration
Project description
mcp-serverman: A MCP Server Configuration Manager
A command-line tool to manage Claude MCP servers configuration with version control and profiling. Now also has a companion mcp server to let llms config for you.
[!IMPORTANT]
I always recommend making a manual backup of the mcp configuration before making any changes. Although I tried to cover some error handling in the code, it is definitely not inclusive.
:floppy_disk:Installation
pip install mcp-serverman
or from GitHub for the latest debug version:
pip install git+https://github.com/benhaotang/mcp-serverman.git
Should be available on Windows, Linux(tested) and MacOS. If the path for a certain platform is wrong, open an issue.
:computer: Cli usage
After installation, you can use the mcp-serverman command directly in terminal:
# Display help message
mcp-serverman
# Initialize Client configuration(one time and must be done before using other commands, since 0.1.9)
mcp-serverman client init
# List servers
mcp-serverman list
mcp-serverman list --enabled
# Enable/disable/remove server/server version
mcp-serverman enable <server_name>
mcp-serverman disable <server_name>
mcp-serverman remove <server_name>
# Version control
mcp-serverman save <server_name> --comment <comment>
mcp-serverman change <server_name> --version <version>
# Preset/Profile management
mcp-serverman preset save <preset_name>
mcp-serverman preset load <preset_name>
mcp-serverman preset delete <preset_name>
# Multiple client support(since 0.1.9)
mcp-serverman client list
mcp-serverman client add <short_name> --name "Display Name" --path "/path/to/config.json" --key "mcpServers" [--default]
mcp-serverman client remove <short_name>
mcp-serverman client modify <short_name> --default
mcp-serverman client copy --from <short_name> --to <short_name> --merge
# Register companion mcp server to let Claude/LLM manage for you(since 0.2.1)
mcp-serverman companion [--client <client>]
For detailed usage instructions, see the manual.
:robot: Install as a mcp server
# Install companion (since 0.2.1)
mcp-serverman companion [--client <client>]
Example:
- What mcp servers do I have?
- Disable xxx, xxx server for me.
:wrench:Development
To install the package in development mode, clone the repository and run:
pip install -e .
:checkered_flag:Roadmap
- Add support for other MCP-Clients, e.g. Cline and MCP-Bridge (since 0.1.9)
- Update the code to be more modular and easier to maintain (since v0.2.0)
- Added our own mcp-server to let Claude/LLM manage for you (since 0.2.1)
- Better error handling tests
Integration with other MCP server install tools, e.g. Smithery, or with predefined installation templates (should iron out safety issues first)We have so many mcp marketplaces now, just use mcp-installer package and instruct the model to install it for you.Maybe a Web UI via Flask?
License
MIT License (LICENSE)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_serverman-0.2.2.tar.gz.
File metadata
- Download URL: mcp_serverman-0.2.2.tar.gz
- Upload date:
- Size: 17.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24965fabb4d94ec3247f1d39eefeb4f24b7ed371be6f9439670f73f4822ddd25
|
|
| MD5 |
71398b173a81a7daa1d26422b5949d56
|
|
| BLAKE2b-256 |
ae363dfa5ef236a98386e5bcfd414be590215df5c3af26f5d69fd869542a9f28
|
Provenance
The following attestation bundles were made for mcp_serverman-0.2.2.tar.gz:
Publisher:
python-publish.yml on benhaotang/mcp-serverman
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_serverman-0.2.2.tar.gz -
Subject digest:
24965fabb4d94ec3247f1d39eefeb4f24b7ed371be6f9439670f73f4822ddd25 - Sigstore transparency entry: 173648849
- Sigstore integration time:
-
Permalink:
benhaotang/mcp-serverman@cadff57a7266675fb4a89100089b6a019f673895 -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/benhaotang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@cadff57a7266675fb4a89100089b6a019f673895 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mcp_serverman-0.2.2-py3-none-any.whl.
File metadata
- Download URL: mcp_serverman-0.2.2-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ee14a1e4fb28a0abf19298d97a92c0863598a6fd4afcc3937dea4aecf6f0599
|
|
| MD5 |
02b724306dd12ee53bb94ecb1ddebb9e
|
|
| BLAKE2b-256 |
474b0a9339846b8bca41965c65977d932f67a82cf0de33dba264ad5c3a70326e
|
Provenance
The following attestation bundles were made for mcp_serverman-0.2.2-py3-none-any.whl:
Publisher:
python-publish.yml on benhaotang/mcp-serverman
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_serverman-0.2.2-py3-none-any.whl -
Subject digest:
8ee14a1e4fb28a0abf19298d97a92c0863598a6fd4afcc3937dea4aecf6f0599 - Sigstore transparency entry: 173648851
- Sigstore integration time:
-
Permalink:
benhaotang/mcp-serverman@cadff57a7266675fb4a89100089b6a019f673895 -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/benhaotang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@cadff57a7266675fb4a89100089b6a019f673895 -
Trigger Event:
release
-
Statement type: