Qwen Code
Alibaba's open source terminal agent for Qwen models.
Connect with the GigaRAG CLI
One command connects Qwen Code and every other AI tool on this machine. Signing in happens in your browser, so no key is written into any config file.
npm install -g gigarag gigarag login gigarag connect
Restart Qwen Code afterwards. Nothing here expires, and gigarag connect --remove takes GigaRAG back out of everything it touched.
Sign in with GigaRAG
Connect without a key: Qwen Code opens your browser, you sign in to GigaRAG and pick this workspace.
- 1.
Add GigaRAG without a key
Qwen Code finds the GigaRAG sign-in page on its own and opens your browser.
qwen mcp add --transport http --scope user gigarag https://mcp.gigarag.com/mcp
- 2.
Sign in with your GigaRAG account
Your browser opens GigaRAG. Pick the workspace to share and approve. No key is stored in the app, and the connection does not expire.
Or paste a prompt
Paste this into Qwen Code. It carries your agent key and tells the agent exactly what to change, so it sets the connection up itself.
Run this to add GigaRAG: qwen mcp add --transport http --scope user gigarag https://mcp.gigarag.com/mcp -H "Authorization: Bearer <api-key>" Remove any existing gigarag first. Then tell me to restart Qwen Code. Don't repeat the key.
Or set it up by hand
- 1.
Run this in a terminal
qwen mcp add --transport http --scope user gigarag https://mcp.gigarag.com/mcp -H "Authorization: Bearer <api-key>"
- 2.
Or add it to your settings by hand
The key must be httpUrl. Qwen Code reads url as the older SSE transport.
~/.qwen/settings.json{ "mcpServers": { "gigarag": { "httpUrl": "https://mcp.gigarag.com/mcp", "headers": { "Authorization": "Bearer <api-key>" } } } }
Check it worked
Send this once it is connected. An answer drawn from your workspace means the connection is live.
List my GigaRAG buckets.
Written from the official docs: Qwen Code MCP