Skip to main content

Add the server

See authentication for where to get a key.

Or edit settings.json

Add an mcpServers block to ~/.qwen/settings.json, or to .qwen/settings.json in the project root:
Qwen Code uses httpUrl for a streamable HTTP server like Hive. It also accepts url, but that selects its SSE transport, which is not what you want here. This is the same split Gemini CLI has.
Qwen Code can do OAuth, but its configuration expects an explicit oauth.clientId and oauth.tokenUrl. Hive issues clients by dynamic registration rather than handing out a static id, so the bearer token above is the supported path today.

Verify

hive should appear. Then start a session and ask for a live price.