MCP Catalogs
首页

Claude-Code-MCP-Manager

by qdhenry·24·综合分 40

用于管理Claude Code的MCP配置的bash脚本工具,支持添加、删除和自动加载功能。

developer-toolsproductivityother
1
Forks
0
活跃 Issue
11 个月前
最近提交
2 天前
收录于

概述

MCP Manager是一个功能全面的bash脚本,简化了为Claude Code管理模型上下文协议(MCP)配置的过程。它提供命令行界面来列出、添加、删除和管理MCP服务器,以及导入/导出功能用于配置共享。该脚本支持npx和环境变量两种类型的MCP服务器,并可以在启动Claude Code时自动加载配置。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:管理Claude Code项目中的多个MCP服务器
:为开发团队自动化MCP配置设置
:在不同环境中创建可移植的MCP配置
:如何初始化示例MCPs?
:如何设置MCP的自动加载?

什么时候选它

当您需要为 Claude Code 管理多个 MCP 服务器,并希望有一种简单的方法在配置之间切换而不需要每次手动设置时,选择此工具。

什么时候不要选它

如果您使用的是不支持 Claude Code MCP 实现的其他 AI 助手,或者您更喜欢基于 GUI 的配置工具,请不要选择此工具。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • init

    Initialize MCP configuration with sample MCPs

  • list

    List all configured MCPs

  • add

    Add a new MCP configuration interactively

  • add-all

    Add all MCPs to Claude configuration without prompts

  • remove

    Remove an MCP configuration

  • show

    Show details of a specific MCP configuration

  • export

    Export MCP configurations to a file

  • import

    Import MCP configurations from a file

  • setup-auto

    Set up automatic loading of MCPs when starting Claude Code

  • help

    Show help information for MCP Manager commands

  • rm

    Remove an MCP configuration (alias for remove)

  • ls

    List all configured MCPs (alias for list)

说明:These are CLI commands for the MCP Manager tool itself, not MCP server tools. The server appears to be a management utility for MCP configurations rather than an MCP server that exposes tools.

可对比工具

mcp-server-managerclaude-config-climcp-clinpx-mcp-wrapper

安装

安装

  1. 下载脚本:
curl -O https://raw.githubusercontent.com/qdhenry/Claude-Code-MCP-Manager/main/mcp-manager.sh
  1. 使其可执行:
chmod +x mcp-manager.sh
  1. 移动到PATH中的位置(可选):
sudo mv mcp-manager.sh /usr/local/bin/mcp-manager

对于Claude Desktop配置,请确保在您的claude_desktop_config.json中正确配置MCP服务器:

{
  "mcpServers": {
    "supabase": {
      "command": "npx",
      "args": ["supabase/mcp-server-supabase@latest", "--access-token", "YOUR_TOKEN_HERE"]
    },
    "digitalocean": {
      "command": "npx",
      "args": ["-y", "@digitalocean/mcp"]
    }
  }
}

FAQ

如何初始化示例MCPs?
运行`./mcp-manager.sh init`可以使用常见的MCP设置初始化,包括Supabase、DigitalOcean等。
如何设置MCP的自动加载?
运行`./mcp-manager.sh setup-auto`来配置自动加载。这将创建一个shell函数,在启动Claude Code时加载MCP。

Claude-Code-MCP-Manager 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。