MCP Server Manager
Agent Buildingmcp-server-managerMCP 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.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- 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
-
Discover candidate servers
- Check project
.mcp.jsonfor existing server configs. - Check
~/.claude.jsonfor global MCP servers (Claude Code). - Scan for MCP-related packages in
package.jsonorCargo.toml.
- Check project
-
Choose a registration target
- Project-local: edit
.mcp.jsondirectly. - Global (Claude Code): use
claude mcp add/claude mcp remove.
- Project-local: edit
-
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.jsondirectly for project-local config.
- stdio server:
-
Verify registration
- For
.mcp.json: read the file and confirm the entry exists. - For global: run
claude mcp listto verify.
- For
-
Explain reload requirement
- MCP servers are loaded at session start; ask the user to restart the session.
Notes
- Infer type from config:
urlkey = HTTP,command/argskeys = 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"]
}
}
}