搜索

PythonReactSEOPDF
GitHub Skill

mcp-server-manager

Discover, register, and verify MCP servers. Use when a user asks to connect/add/install/remove an MCP server, or when you need to manage project MCP configuration.

xiaolai☆ 136 仓库 Stars15 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

MCP Server Manager

Workflow

  1. Discover candidate servers

    • Check project .mcp.json for existing server configs.
    • Check ~/.claude.json for global MCP servers (Claude Code).
    • Scan for MCP-related packages in package.json or Cargo.toml.
  2. Choose a registration target

    • Project-local: edit .mcp.json directly.
    • Global (Claude Code): use claude mcp add / claude mcp remove.
  3. Register the server

    • stdio server:
      claude mcp add <name> -- <command> <args...>
      
    • stdio with env:
      claude mcp add <name> -e KEY=VALUE -- <command> <args...>
      
    • Or edit .mcp.json directly for project-local config.
  4. Verify registration

    • For .mcp.json: read the file and confirm the entry exists.
    • For global: run claude mcp list to verify.
  5. Explain reload requirement

    • MCP servers are loaded at session start; ask the user to restart the session.

Notes

  • Infer type from config: url key = HTTP, command/args keys = stdio.
  • When multiple sources define the same name, confirm which to use.
  • For stdio servers using npx, the package downloads when the server first runs.

VMark Example

// .mcp.json
{
  "mcpServers": {
    "tauri": {
      "command": "npx",
      "args": ["-y", "@hypothesi/tauri-mcp-server"]
    }
  }
}

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-03-11
索引更新时间
2026-03-11
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!