OpenParable
Skip to content
← Back to skills

MCP Server Manager

Agent Building
mcp-server-manager

MCP Server Manager is an Agent Skill for agent building published in the xiaolai/vmark repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/xiaolai/vmark/blob/HEAD/.claude/skills/mcp-server-manager/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/mcp-server-manager, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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"]
    }
  }
}