routerlisted
Install: claude install-skill V-Songbird/claude-plugins
# jetbrains-routing
## When this applies
A `mcp__webstorm__*`, `mcp__rider__*`, or `mcp__idea__*` tool is listed in the session's available tools. Check once per session — if none are present, the JetBrains MCP server isn't connected and this skill's guidance doesn't apply (use native tools; the hook will fail open).
## Prefix configuration
JetBrains IDEs register their MCP tools under the key name from `mcpServers` in `.claude.json`. The auto-configure button produces canonical defaults:
| IDE | Default prefix |
|-----|---------------|
| WebStorm | `mcp__webstorm__*` |
| Rider | `mcp__rider__*` |
| IntelliJ IDEA | `mcp__idea__*` |
If you renamed your `mcpServers` entry, set `JETBRAINS_MCP_PREFIX=<your-name>` in your shell before launching Claude Code so the hook redirects to the right prefix.
Only one IDE is active per session. If multiple IDEs are running, `JETBRAINS_MCP_PREFIX` determines which one receives routed calls.
## Tool mapping
**Always use the JetBrains replacement whenever a `mcp__<ide>__*` tool is registered.** The `PreToolUse` hook exits 2 on a native call with a stderr redirect naming the IDE tool and the pre-translated project-relative path — going native first incurs the round-trip for nothing.
For the full native-to-IDE mapping (required parameters, usage notes, when to pick `search_symbol` over `search_text`, when `get_file_problems` replaces a build run), see [references/tool-map.md](references/tool-map.md). Load it before the first routed call