Token导航 LogoToken导航TokenDH.com
前端设计操作浏览器github未标认证来源可访问clear审计异常

mcp-managerMCP manager 命令行

Agent Skill

mcp-manager 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,564

周安装

109

GitHub Stars

55

下载量

898
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mcp-manager(MCP manager 命令行)
来源仓库:https://github.com/rysweet/amplihack
仓库路径:skills/mcp-manager
安装命令:
npx skills add https://github.com/rysweet/amplihack --skill mcp-manager
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/rysweet/amplihack --skill mcp-manager

简介

mcp-manager 用于处理 GitHub 仓库、Issue 和 Pull Request 信息。

  • 它能协助整理代码变更、协作事项和仓库状态相关内容。
  • 使用 npx skills add 命令从指定仓库安装并调用该技能。
  • 安装前应确认权限范围和维护状态,避免触发不必要的网络请求。
  • 建议优先验证最小权限,防止误操作生产环境资源。

SKILL.md

MCP Manager Skill

Overview

Natural language interface to MCP Manager CLI tool for managing Model Context Protocol server configurations. Users interact conversationally: "enable the filesystem MCP", "add a database server", "show me all my MCPs".

Activation

Activates on MCP keywords within 3-message window or explicit invocation: /mcp-manager

Commands

1. List MCPs

Display all configured MCP servers with status.

  • "List all my MCPs" / "Show me my MCP servers"
  • CLI: python3 -m mcp-manager.cli list

2. Enable MCP

Activate a disabled MCP server.

  • "Enable the filesystem MCP" / "Turn on puppeteer"
  • CLI: python3 -m mcp-manager.cli enable <server-name>

3. Disable MCP

Deactivate an MCP server without removing it. Requires confirmation.

  • "Disable the puppeteer MCP" / "Turn off github"
  • CLI: python3 -m mcp-manager.cli disable <server-name>

4. Add MCP

Add new MCP server interactively (collects name, command, args, env vars).

  • "Add a new MCP server" / "Configure a database MCP"
  • CLI: python3 -m mcp-manager.cli add <name> <command> [args...] --env KEY=VALUE

5. Remove MCP

Delete MCP server configuration completely. Requires confirmation with warning.

  • "Remove the puppeteer MCP" / "Delete the old-server"
  • CLI: python3 -m mcp-manager.cli remove <server-name>

6. Show MCP

Display detailed information for specific MCP server.

  • "Show me the filesystem MCP" / "Details for github server"
  • CLI: python3 -m mcp-manager.cli show <server-name>

7. Validate MCPs

Check all MCP configurations for errors.

  • "Validate my MCP configuration" / "Check for MCP errors"
  • CLI: python3 -m mcp-manager.cli validate

8. Export MCPs

Export configurations to JSON file for backup.

  • "Export my MCP configuration" / "Back up my MCPs"
  • CLI: python3 -m mcp-manager.cli export [output-file]

9. Import MCPs

Import configurations from JSON file.

  • "Import MCPs from backup.json" / "Restore my MCPs"
  • CLI: python3 -m mcp-manager.cli import <input-file> [--merge]

Usage Examples

Example 1: List and Enable

User: "List all my MCPs"

[Executes: cd.claude/scenarios && python3 -m mcp-manager.cli list]

Response: "You have 3 MCP servers configured: ✓ filesystem (enabled) - Local filesystem access ✓ github (enabled) - GitHub API integration ✗ puppeteer (disabled) - Browser automation"

Follow-up: "Turn on puppeteer"

[Executes: python3 -m mcp-manager.cli enable puppeteer]

"✓ Successfully enabled 'puppeteer' MCP server."

Example 2: Add New Server

User: "Add a new MCP for database access"

Interactive Collection:

  1. Name: "postgres-local"
  2. Command: "node /opt/mcp-servers/postgres/index.js"
  3. Args: "--port 5432 --host localhost"
  4. Env: "DATABASE_URL=postgresql://localhost:5432/mydb"

[Executes: python3 -m mcp-manager.cli add postgres-local "node /opt/mcp-servers/postgres/index.js" --port 5432 --host localhost --env "DATABASE_URL=postgresql://localhost:5432/mydb"]

"✓ Successfully added 'postgres-local' MCP server. Server is currently disabled. Enable with: 'enable postgres-local'"

Example 3: Remove Server

User: "Remove the puppeteer MCP"

Confirmation: "⚠️ WARNING: You're about to remove 'puppeteer' MCP server. This will delete the configuration completely. This action cannot be undone. Are you sure? (yes/no)"

[User confirms: "yes"]

[Executes: python3 -m mcp-manager.cli remove puppeteer]

"✓ Successfully removed 'puppeteer' MCP server."

Tool Invocation

All commands execute from ~/.amplihack/.claude/scenarios/ directory:

cd .claude/scenarios && python3 -m mcp-manager.cli <command> [args]

Key Commands:

  • list - List all MCPs
  • enable <name> - Enable server
  • disable <name> - Disable server
  • add <name> <cmd> [args...] --env KEY=VAL - Add server
  • remove <name> - Remove server
  • show <name> - Show details
  • validate - Validate all configurations
  • export [file] - Export to JSON
  • import <file> [--merge] - Import from JSON

Output Handling:

  • Success: Exit code 0, stdout with ✓ prefix
  • Error: Non-zero exit code, stderr with ❌ prefix
  • Redact sensitive info (tokens, passwords) in responses

Error Handling

Common Errors:

  1. CLI Not Found: Offer installation instructions (see README)
  2. Server Not Found: List available servers, suggest alternatives
  3. Server Already Exists: Suggest show/remove/rename
  4. Permission Denied: Check file/directory permissions
  5. Malformed settings.json: Validate JSON, offer backup restore
  6. Invalid Command: Show common command patterns

For detailed error scenarios and troubleshooting, see ~/.amplihack/.claude/scenarios/mcp-manager/README.md

Best Practices

  • Always confirm destructive operations (disable, remove)
  • Validate server names before executing
  • Redact sensitive information in responses
  • Provide clear error messages with actionable next steps
  • Show current state before and after changes

See Also

  • Full documentation: ~/.amplihack/.claude/scenarios/mcp-manager/README.md
  • Tool creation guide: ~/.amplihack/.claude/scenarios/mcp-manager/HOW_TO_CREATE_YOUR_OWN.md
  • MCP Protocol: https://modelcontextprotocol.io/
  • Claude Code Settings: ~/.amplihack/.claude/settings.json

Version: 1.0.0 | Updated: 2025-11-24 | Maintainer: amplihack team

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

27.51%
按下载量换算247

Antigravity

22.56%
按下载量换算203

OpenCode

17.31%
按下载量换算155

Gemini CLI

13.98%
按下载量换算126

windsurf

7.77%
按下载量换算70

github-copilot

3.56%
按下载量换算32

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

未通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills