Setting up Claude Desktop¶
Add a separate Anthropic-compatible connection in Claude Desktop for Nexus.
Connection values¶
- Open the connection settings in Claude Desktop.
- Create a custom Anthropic endpoint named
Nexus. - Set Base URL to
https://api.nexus-hub.ru, without a/v1suffix. - Enter the Nexus API key in the protected API Key field.
- Set Anthropic API version to
2023-06-01if the client exposes this field. - Select a model returned by
GET /v1/models.
Claude Desktop should send requests to POST /v1/messages. If the client asks
for environment variables instead of UI fields, use:
export ANTHROPIC_BASE_URL="https://api.nexus-hub.ru"
export ANTHROPIC_AUTH_TOKEN="your_nexus_key"
Do not append /v1/messages to the Base URL; the client builds the route.
Do not store the key in shared project files.
Official reference: Claude Desktop help.