opusmax-gateway
v1.0.2
Published
Official OpusMax Gateway CLI for configuring Anthropic-compatible API access.
Maintainers
Readme
OpusMax Gateway CLI
Official CLI for setting up OpusMax API keys with Claude Code, Claude Desktop, and Anthropic-compatible tools.
npm package:
opusmax-gateway(command:opusmax). The unscoped nameopusmaxon npm is owned by another publisher.
Install
npx opusmax-gateway setupOr install globally:
npm install -g opusmax-gateway
opusmax setupQuick Start
npx opusmax-gateway setup
npx opusmax-gateway status --verify
npx opusmax-gateway test
npx opusmax-gateway modelsCommands
| Command | Description |
|---------|-------------|
| opusmax | Interactive setup (same as setup) |
| opusmax setup | Paste API key → pick IDEs (VS Code, Cursor, Claude Code, …) |
| opusmax status | Show local config |
| opusmax test | Send a test message |
| opusmax models | List gateway models |
| opusmax doctor | Run diagnostics |
| opusmax logout | Remove saved API key |
Setup flow
- Paste your
sk-ant-ox-…key (verified against the gateway). - Choose tools: Claude Code, Claude Desktop, VS Code, Cursor, Windsurf, Cline, Roo Code, or terminal
.env. - Optional quick test message.
Default gateway base URL:
https://opusxmax.vercel.app/apiCheck usage in the browser:
https://opusxmax.vercel.app/api/key-status?key=YOUR_API_KEYClaude Code
Default production base URL:
export ANTHROPIC_BASE_URL=https://opusxmax.vercel.app/api
export ANTHROPIC_API_KEY=sk-ant-ox-your-keyAdd to ~/.claude/settings.json under env (see opusmax setup).
Publish (maintainers)
From repo root (logged in as npm user with access):
cd packages/cli
pnpm build
npm publish --access publicDevelopment (monorepo)
pnpm install
pnpm cli:build
pnpm cli:dev setup