Repository navigation
v1.4.1 — say when the MCP server name collides
The bug
Both documented install methods register an MCP server named bifrost:
- Method 1 — the plugin's bundled
.mcp.json, using${BIFROST_URL} - Method 2 —
claude mcp add … bifrost
Claude Code keys MCP servers by name within a scope. Run both and they collide: the project entry cannot expand its placeholder, and mcp__bifrost__* tools disappear in any directory carrying that .mcp.json.
Nothing reported it. claude mcp list still shows a connected bifrost at a real URL, so the symptom reads as a gateway outage — when the gateway is fine.
The asymmetry made it worse: the hooks are unaffected. They read the credential from ~/.claude.json directly rather than through MCP, so skills, memory and the tool roster all render normally while the tools are missing.
The fix
SessionStart detects it and names both remedies — export the variables the project entry expects, or claude mcp remove bifrost -s user and let the project entry own the name.
Detection is deliberately narrow: it fires only when the project entry holds a placeholder the environment does not supply and a user-scope entry claims the same name. A project whose entry resolves, or one with no .mcp.json, reports nothing.
INSTALL.md now states the two methods are mutually exclusive rather than leaving it implied, and bifrost-debug gains a section keyed to the symptom — because the symptom is what you arrive with.
133 tests, mutation-verified in both directions.