SM

spences10/mcpick

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

96 stars 15 forks 质量 89 趋势 35MIT

spences10/mcpick 是从 https://github.com/spences10/mcpick. 导入的 MCP 服务器候选

概览

spences10/mcpick 是从 https://github.com/spences10/mcpick. 导入的 MCP 服务器候选

概述(AI 翻译)

配备一流Claude代码的供应商中立MCP配置管理器 支持。

MCPick 帮助人类和大型语言模型代理检查、切换并备份 MCP 跨多个 AI 客户端进行服务器配置。Claude Code 专用 插件、钩子、市场和缓存命令依然可用,但 它们不再是核心产品模式。

安装

要求:

  • Node.js 22+
  • Claude 代码仅适用于 Claude Code 特定的命令
  • GitHub CLI(gh,认证)是可移植技能的必需 命令;检定技能 安装前验证技能(如有能力)

代理优先CLI

在非TTY环境中,MCPick 显示帮助而不是启动 互动TUI。这让以下提示更安全:

“用 mcpick 来确定如何启用这个 MCP 服务器。”

开头:

MCPick 在打印输出前会涂黑已知的秘密模式。MCP 配置通常包含 env var 和授权头,例如 env 和 headers 的值在 JSON 输出中显示为 ***。

MCP 服务器模式

npx mcpick serve 在 stdio 上运行 MCPick 作为 MCP 服务器,所以 代理可以通过工具调用来管理MCP配置,而不是 费用由CLI承担。工具:

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

MCPick

Vendor-neutral MCP configuration manager with first-class Claude Code support.

MCPick helps humans and LLM agents inspect, toggle, and back up MCP server configuration across multiple AI clients. Claude Code-specific plugins, hooks, marketplaces, and cache commands remain available, but they are no longer the core product model.

Install

npm install -g mcpick
# or run without installing
npx mcpick --help

Requirements:

  • Node.js 22+
  • Claude Code is required only for Claude Code-specific commands
  • The GitHub CLI (gh, authenticated) is required for portable skills commands; check-skills validates skills before install when available

Agent-first CLI

In non-TTY environments, MCPick shows help instead of launching the interactive TUI. This makes it safer for prompts like:

“Use mcpick to work out how to enable this MCP server.”

Start with:

npx mcpick --help
npx mcpick clients
npx mcpick list --json

MCPick redacts known secret patterns before printing output. MCP configs often contain env vars and authorization headers, so env and headers values are shown as *** in JSON output.

MCP server mode

npx mcpick serve runs MCPick itself as an MCP server over stdio, so agents can manage MCP configuration through tool calls instead of shelling out to the CLI. Tools:

  • Read: mcpick_list, mcpick_clients, mcpick_get, mcpick_doctor
  • Mutate: mcpick_enable, mcpick_disable, mcpick_remove, mcpick_add, mcpick_add_json

Read-only/destructive annotations are set so clients can make safe decisions; secret warnings and from_env resolution behave the same as the CLI. Client config example:

{
	"mcpServers": {
		"mcpick": {
			"command": "npx",
			"args": ["-y", "mcpick", "serve"]
		}
	}
}

MCP clients

Supported client adapters:

Client Scopes Command examples
Claude Code local, project, user mcpick list, mcpick enable
Claude Desktop user mcpick list --client claude-desktop
Codex CLI user mcpick list --client codex
Gemini CLI project, user mcpick list --client gemini-cli --scope project
VS Code / Copilot project mcpick list --client vscode --scope project
Cursor project, user mcpick list --client cursor --scope user
在 GitHub 查看完整 README

安装

npx -y mcpick serve
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "mcpick": { "command": "npx", "args": ["-y", "mcpick", "serve"] } } }