If your Allowed Headers are already set to
*, you can skip this note. If not and you face issues integrating Bifrost with Claude Desktop, try switching to * or adding the specific headers required by your client. By default, Bifrost whitelists: Content-Type, Authorization, X-Requested-With, X-Stainless-Timeout, and X-Api-Key.How It Works
The Claude Desktop App has two tabs with different routing behavior:| Tab | Traffic | Bifrost Integration |
|---|---|---|
| Code tab | Uses the Anthropic Messages API (Claude Code under the hood) | Route inference through Bifrost’s /anthropic endpoint |
| Chat tab | Connects directly to claude.ai | Connect to Bifrost’s /mcp endpoint for MCP tools |
Setup
1. Configure settings.json
Open~/.claude/settings.json and add the Bifrost endpoint and API key under the env key:
2. Start a New Session
Close any active session in the Code tab and start a new one for the settings to take effect.Amazon Bedrock via Bifrost
Setup
Add the Bifrost endpoint and pin model versions in~/.claude/settings.json:

Google Vertex AI via Bifrost
Setup
Azure via Bifrost
Setup

Model Configuration
The Code tab uses three model tiers: Sonnet (default), Opus (complex tasks), and Haiku (fast, lightweight). With Bifrost, you can override these defaults to use any model from any provider. Override Default Models: Add to~/.claude/settings.json:
MCP Integration (Chat Tab)
The Chat tab supports MCP servers configured inclaude_desktop_config.json. Connect to Bifrost’s MCP endpoint to give the Chat tab access to all your aggregated MCP tools:
Config file locations:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
MCP servers in
claude_desktop_config.json are for the Chat tab only. For MCP in the Code tab, configure servers in ~/.claude.json or your project’s .mcp.json file. See MCP Gateway URL for full setup details.Enterprise Deployment
For organization-wide Bifrost routing, deploy amanaged-settings.json file via MDM (Jamf, Kandji, Intune):
- macOS:
/Library/Application Support/ClaudeCode/managed-settings.json - Windows:
C:\Program Files\ClaudeCode\managed-settings.json
Observability
All Claude Desktop Code tab requests through Bifrost are logged. Monitor them athttp://localhost:8080/logs — filter by provider, model, or search through conversation content to track usage patterns across your organization.
Next Steps
- Provider Configuration — Configure AI providers in Bifrost
- Virtual Keys — Set up usage limits and access control
- Built-in Observability — Monitor all AI traffic
- MCP Gateway URL — Full MCP server setup and tool filtering

