/xan-mcp:xan-mcp-routingfrom xan-mcp
Use when an agent needs to decide which MCP server or MCP category to use for a task, when it should run the repo's generated MCP discovery command first, or when it needs to minimize context while using MCP tools. Trigger for requests involving MCP discovery, choosing between MCP servers, deciding backend vs research vs edit MCPs, routing tool usage by task type, or setting up repo-local MCP workflows with `mcporter` and `context-mode`.
Ships in xan-mcp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill when the task is not just "call an MCP," but "figure out the right MCP and the right discovery flow first."
<repo-mcp-command> at session start or after compaction to load the full server guide.<repo-mcp-command> <domain> to narrow to the right category before picking a server.<repo-mcp-command> <server> to inspect a server before its first use.<repo-mcp-command> <server> <tool> to inspect schema before any unfamiliar tool call.<repo-mcp-command> call <server> <tool> '{...}' only after confirming the schema.<repo-mcp-command> --doctor [server] when a server fails or behaves unexpectedly.The repo command surface is one of:
pnpm mcpnpm run mcpbun run mcpCheck the repo package.json scripts.mcp field if unsure which command to use.
Use the repo's generated catalog (visible via <repo-mcp-command>) as the authoritative source for which servers exist and what they do. The categories follow this decision logic:
<repo-mcp-command> <server> before use; do not treat as a primary route until purpose is confirmedALWAYS route discovery, schema lookup, and doctor commands through context-mode:
<repo-mcp-command>
<repo-mcp-command> <domain>
<repo-mcp-command> <server>
<repo-mcp-command> <server> <tool>
<repo-mcp-command> --doctor
NEVER use raw shell for these — output will flood context and waste tokens.
Use raw shell only for tiny output (e.g. a single tool call result you need inline).
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub internet-dot/xan-mcp --plugin xan-mcp