Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
Install GonkaGate for Qwen Code with one npx command. Secure setup CLI for @qwen-code/qwen-code OpenAI-compatible provider config, live model discovery, and safe API key storage.
Jump to setup instructionsFetched from the repository for this visit.
Configure Qwen Code to use GonkaGate as an OpenAI-compatible provider with one
developer-friendly npx command.
npx @gonkagate/qwen-code-setup
@gonkagate/qwen-code-setup is a public CLI installer for developers who want
Qwen Code to route chat completions through the GonkaGate API without manually
editing Qwen settings JSON.
npx @gonkagate/qwen-code-setup
You need:
>=22.14.0qwenThe runtime is implemented. It writes managed Qwen Code settings after validating Qwen Code, collecting the key through safe inputs, checking the GonkaGate model catalog, verifying the local result, and keeping output redacted.
The happy path is:
qwen binary and records its version.GONKAGATE_API_KEY without printing the secret.GET https://api.gonkagate.com/v1/models.modelProviders.openai[].security.auth.selectedType = "openai" and model.name.settings.env.GONKAGATE_API_KEY.Use --dry-run to inspect planned writes before changing local Qwen Code
settings. Use --json for machine-readable, redacted output.
The installer has no checked-in user-facing model catalog. After collecting the
GonkaGate API key, it calls authenticated
GET https://api.gonkagate.com/v1/models and uses the returned model ids and
names as the source of truth for the picker, --model validation, default
selection, and Qwen Code provider writes.
The compatibility baseline is @qwen-code/qwen-code 0.18.0, audited
on June 12, 2026.
Newer Qwen Code versions are not blocked solely because they are newer; the setup and verification checks surface actual incompatibilities.
The current Qwen Code integration points are:
qwen@qwen-code/qwen-code>=22.0.0~/.qwen/settings.jsonQWEN_HOME user settings: <QWEN_HOME>/settings.jsonmodelProviders.openai[]security.auth.selectedType = "openai"model.nameenvKey, resolved from Qwen Code environment loadingGET https://api.gonkagate.com/v1/models
after API-key collectionThe audited 0.18.0 source marks modelProviders with replace merge
semantics. User-scope provider catalog writes are managed in user settings.
Project scope writes only activation settings and blocks if project
modelProviders would hide user-managed providers.
The installer is designed for local developer machines and keeps secrets out of plain command history.
Allowed secret inputs:
GONKAGATE_API_KEY--api-key-stdinNot allowed:
--api-keyThe v1 durable secret target is user-level
settings.env.GONKAGATE_API_KEY inside the active Qwen settings file. Unlike
OpenCode, the audited Qwen Code docs describe envKey and environment loading
rather than an OpenCode-style {file:...} provider secret binding.
Default setup success is based on bounded local verification, not a live model
call. --verify-live is available only as an explicit opt-in and may spend
quota or depend on provider/network availability.
Install and run the full contract suite:
npm ci
npm run ci
Useful focused checks:
npm run build
npm run typecheck
npm run test
npm run format:check
npm run package:check
npm pack --dry-run
Run the CLI from source:
npm run dev -- --dry-run
This repository uses Release Please and npm trusted publishing.
For changes that should create a release, use a releasable Conventional Commit:
feat: improve qwen code developer onboarding
After that commit lands on main, Release Please opens a release PR that bumps
package.json, .release-please-manifest.json, CHANGELOG.md, and
src/constants/contract.ts. When that release PR is merged, GitHub Actions
publishes to npm with provenance.
Use fix: for patch releases and feat: for minor releases. Non-releasable
commits such as docs: are useful for internal cleanup, but they should not be
used when the change is intentionally testing the release pipeline.
GitHub checked 207h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.