Mcpick 标志

Mcpick

社区
spences10

Vendor-neutral MCP configuration manager — one CLI to add, toggle, and audit MCP servers and skills across every AI client, with safety built in

发布者spences10
代码仓库mcpick
语言TypeScript
复刻数
15
星标数
95
可用工具
0
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    Mcpick 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 95 个 Star 和 15 个 Fork。

MCPick

built with vite+ tested with vitest

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

bash
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:

bash
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:

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

MCP clients

Supported client adapters:

ClientScopesCommand examples
Claude Codelocal, project, usermcpick list, mcpick enable <server>
Claude Desktopusermcpick list --client claude-desktop
Codex CLIusermcpick list --client codex
Gemini CLIproject, usermcpick list --client gemini-cli --scope project
VS Code / Copilotprojectmcpick list --client vscode --scope project
Cursorproject, usermcpick list --client cursor --scope user
Windsurfusermcpick list --client windsurf --scope user
OpenCodeproject, usermcpick list --client opencode --scope project
Pi via pi-mcp-adapterproject, usermcpick list --client pi --scope user

Show known config locations:

bash
npx mcpick clients
npx mcpick clients --json

MCP server commands

bash
# List Claude Code registry/status
npx mcpick list
npx mcpick list --json

# List another client
npx mcpick list --client pi --scope user --json
npx mcpick list --client opencode --scope project

# Claude Code enable/disable
npx mcpick enable <server> --scope local
npx mcpick disable <server> --scope local

# Add/remove Claude Code server definitions
npx mcpick add --name <server> --command npx --args "-y,package-name"
npx mcpick add --from-registry io.github.user/server
npx mcpick add-json <name> '{"command":"npx","args":["-y","package-name"]}'
npx mcpick remove <server>

add --from-registry requires an exact official MCP Registry name and writes the package's exact published version. It currently supports npm packages using stdio; unsupported package types fail without writing a guessed configuration. Registry-declared required environment variables must be supplied with --from-env or --env. --dry-run works for adapter-backed clients.

MCPick warns when a value you write looks like a secret, redacts printed output, and npx mcpick doctor flags plaintext secrets already on disk. To keep secrets off the command line and out of LLM conversation context, resolve them from the process environment:

bash
pnpx nopeek run .env --only GITHUB_TOKEN -- npx mcpick add --name github --command npx --args "-y,@modelcontextprotocol/server-github" --from-env GITHUB_TOKEN --yes

MCP client config files may still store secrets in plain text because that is how many clients currently load MCP credentials; prefer ${VAR} references where your client supports them.

Validate your setup

npx mcpick doctor checks every known client config: JSON validity, per-client schema shape, missing commands on PATH, duplicate servers across scopes, plaintext secrets, and unpinned server packages. It exits non-zero when it finds errors, so it works in CI:

bash
npx mcpick doctor
npx mcpick doctor --client cursor --json

Portable skills

MCPick installs portable SKILL.md packs through the GitHub CLI's gh skill commands. Installs are staged in a temporary directory and validated with check-skills before anything is written to your agent directories, and each install records provenance (source repo, pinned ref, target agents) shown in skills list --json.

bash
# List installed skills for a client
npx mcpick skills list --agent pi --json

# Search GitHub, or see what a source offers without installing
npx mcpick skills search svelte
npx mcpick skills add spences10/skills --list
npx mcpick skills preview spences10/skills svelte-runes

# Install one skill, pinned for reproducibility
npx mcpick skills add spences10/skills --agent pi --skill svelte-runes --pin v1.2.0 --yes

# Install all skills from a repo at user scope
npx mcpick skills add spences10/skills --agent opencode --all --global --yes

# Check for updates, then apply them
npx mcpick skills update --dry-run --json
npx mcpick skills update

skills remove is not supported by the gh skill backend; it reports the manual deletion paths instead.

Claude Code-specific tools

These commands wrap Claude Code concepts and are intentionally client-specific:

bash
# Plugins
npx mcpick plugins list
npx mcpick plugins install <name>@<marketplace>
npx mcpick plugins enable <name>@<marketplace>
npx mcpick plugins disable <name>@<marketplace>

# Marketplaces
npx mcpick marketplace list
npx mcpick marketplace add <source>
npx mcpick marketplace update
npx mcpick marketplace remove <name>

# Hooks and plugin cache
npx mcpick hooks list
npx mcpick cache status
npx mcpick cache refresh

Profiles and backups

Profiles are portable MCP server snapshots. Claude Code plugin state is preserved as optional Claude-specific profile metadata.

bash
# Legacy Claude Code shortcuts still work
npx mcpick --profile database
npx mcpick --save-profile mysetup
npx mcpick --list-profiles

# Save/load profiles for a specific MCP client
npx mcpick profile save work --client vscode --scope project
npx mcpick profile load work --client opencode --scope project
npx mcpick profile load work --client pi --scope user

npx mcpick backup
npx mcpick restore [file]

# Safe-write rollback backups created before config mutations
npx mcpick rollback --list
npx mcpick rollback [file]

Interactive TUI

Running npx mcpick in a terminal launches the human-facing menu:

text
MCPick - MCP Configuration Manager

What would you like to do?
  Enable / Disable MCP servers
  Validate configs (doctor)
  Skills
  Client-specific tools
  Load profile
  Save profile
  Backup config
  Restore from backup
  Exit

The primary TUI flow is client-first: choose a client, then toggle its MCP servers. Claude Code plugins, hooks, marketplaces, and cache live under “Client-specific tools”. “Validate configs (doctor)” runs the same read-only health checks as mcpick doctor (config parse errors, schema-shape issues, missing commands, duplicate servers, plaintext secrets, unpinned servers) and prints the report grouped by client.

Config locations

MCPick reads the standard locations used by each client adapter. Common paths include:

PathPurpose
~/.claude.jsonClaude Code local/user MCP config
.mcp.jsonShared project MCP config
.gemini/settings.jsonGemini CLI project config
.vscode/mcp.jsonVS Code / Copilot project config
.cursor/mcp.jsonCursor project config
opencode.jsonOpenCode project config
~/.config/mcp/mcp.jsonShared global MCP config used by pi-mcp-adapter
.pi/mcp.jsonPi project override

MCPick-owned state lives under $XDG_CONFIG_HOME/mcpick/ (~/.config/mcpick/ by default; override with MCPICK_CONFIG_DIR). State previously kept in ~/.claude/mcpick/ is moved there automatically on first run.

Development

bash
pnpm install
pnpm test
pnpm run check
pnpm build

See docs/VENDOR_NEUTRAL_ARCHITECTURE.md for architecture notes.

安装

TypingMind
{
  "mcpServers": {
    "mcpick": {
      "command": "npx",
      "args": [
        "mcpick"
      ]
    }
  }
}

将 Mcpick MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Mcpick 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请保持终端窗口及其中的进程运行。
3

将 Mcpick 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Mcpick MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "mcpick": {
      "command": "npx",
      "args": [
        "-y",
        "mcpick"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Mcpick MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Mcpick MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Mcpick 帮我完成这项任务吗?
Mcpick
当然。我已阅读。
以下是我使用 Mcpick 得到的结果。

常见问题

Mcpick MCP 服务器有什么用途?

Mcpick 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Mcpick MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 Mcpick,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 Mcpick MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 Mcpick 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Mcpick MCP 连接到 TypingMind?

Mcpick 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Mcpick MCP 在 TypingMind 中提供哪些工具?

Mcpick 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Mcpick MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 Mcpick 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇