
benhaotang/mcp-serverman
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
a cli/mcp server tool for managing mcp server json config file with version control, profiles and multi-client support
概要
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. 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. or from GitHub for the latest debug version: Should be available on Windows, Linux(tested) and MacOS. If the path for a certain platform is wrong, open an issue. After installation, you can use the mcp-serverman command directly in terminal: For detailed usage instructions, see the manual. Example: - What mcp servers do I have? - Disable xxx, xxx server for me. To install the package in development mode, clone the repository and run:
README
以下は原文 README の抜粋です。原文を見る。
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
mcp-serverman disable
mcp-serverman remove
# Version control
mcp-serverman save --comment
mcp-serverman change --version
# Preset/Profile management
mcp-serverman preset save
mcp-serverman preset load
mcp-serverman preset delete
# Multiple client support(since 0.1.9)
mcp-serverman client list
mcp-serverman client add --name "Display Name" --path "/path/to/config.json" --key "mcpServers" [--default]
mcp-serverman client remove
mcp-serverman client modify --default
mcp-serverman client copy --from --to --merge
# Register companion mcp server to let Claude/LLM manage for you(since 0.2.1)
mcp-serverman companion [--client ]
For detailed usage instructions, see the manual.
:robot: Install as a mcp server
# Install companion (since 0.2.1)
mcp-serverman companion [--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
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
# 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>]