-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Description
Users with a Claude Max or Pro subscription should be able to use Claude models in Magec without needing a separate API key. This can be achieved by integrating CLIProxyAPI, a local proxy that translates the subscription's OAuth credentials into a standard Anthropic-compatible API.
Motivation
Currently, using Claude in Magec requires an Anthropic API key, which means paying separately for API access on top of an existing subscription. Many users already pay for Claude Max/Pro and would prefer to reuse that subscription directly.
Proposed solution
- Fix the Anthropic backend to honor the
urlfield — currently it ignores it and always sends requests tohttps://api.anthropic.com, making it impossible to use any proxy or custom endpoint. - Add CLIProxyAPI as an optional service in Docker Compose, with its config and auth volume.
- Integrate into the installer (
install.sh) so users are prompted to enable the Claude subscription proxy during setup. - Document the setup in the backends and Docker Compose docs: backend configuration, OAuth login flow, and verification steps.
Acceptance criteria
- Anthropic backend respects the
urlfield when configured - CLIProxyAPI service available in Docker Compose deployments
- Interactive installer offers CLIProxyAPI as an option and preconfigures the backend
- Documentation covers end-to-end setup (login, backend config, verification)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers