Claude Desktop has two relevant paths:

Code Tab

Add ModRouter’s Anthropic-compatible endpoint to the Claude Code settings used by Claude Desktop:
If your Claude Code runtime expects ANTHROPIC_API_KEY, use that variable instead of ANTHROPIC_AUTH_TOKEN.

Model Routing

Use ModRouter routing rules to map Claude model names to the provider/model you want, or pin model variables if your Claude Code version supports them:
Non-Anthropic models can work through ModRouter when they support Anthropic-style tool-calling behavior well enough for Claude Code’s workflow.

Chat Tab MCP

Connect Claude Desktop’s MCP config to ModRouter:
The Chat tab still sends normal chat traffic to Claude. The MCP entry only exposes ModRouter-managed tools to Claude Desktop.