qwen-expert
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@qwen-expertAsk Qwen for a second opinion on this approach before I proceed."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Qwen Studio Browser Gateway
An unofficial localhost-only gateway that gives Claude Code one additional untrusted expert opinion from Qwen 3.8 Max via a manually authorized web session at chat.qwen.ai.
This is not the official Qwen API, not a primary agent, and not a source of guaranteed-correct answers. The user logs in manually on each host; the project does not transfer cookies/tokens, does not bypass CAPTCHA/MFA, and does not give Qwen access to the shell, filesystem, or local tools.
Flow
Claude Code
└─ MCP ask_qwen_expert
└─ http://127.0.0.1:8798/v1/expert
└─ FIFO, active = 1
└─ CDP http://127.0.0.1:9333
└─ одна видимая вкладка https://chat.qwen.ai
└─ точная Qwen3.8-MaxBefore each Send, the gateway selects and confirms qwen3.8-max / Qwen3.8-Max. A model mismatch, unknown DOM, challenge, missing login, or remote endpoint results in an error. After Send, browser generation is not repeated automatically.
Related MCP server: cc-in-codex
Requirements
Node.js 22+;
Chrome/Chromium with a graphical window;
Linux for the ready-made systemd user templates (the Node.js gateway itself is portable);
your own Qwen account and the right to use the web service.
Installation
npm ci
npm run check
npm run build
npm testCreate a private configuration:
install -d -m 700 ~/.config/qwen-studio-browser-gateway
cp .env.example ~/.config/qwen-studio-browser-gateway/server.env
chmod 600 ~/.config/qwen-studio-browser-gateway/server.envEdit server.env:
set the local
QWEN_BROWSER_EXECUTABLE_PATH;generate a new random
QWEN_LOCAL_API_KEYfor this host;do not change loopback endpoints;
before use, confirm the current ID/label of the strongest model in the live UI.
Do not commit server.env and the browser profile.
Manual Login
Launch a separate browser:
set -a
source ~/.config/qwen-studio-browser-gateway/server.env
set +a
./start-qwen-browser.shIn the opened window, log in to https://chat.qwen.ai yourself. CAPTCHA and MFA can only be handled by the user. Leave a single Qwen tab open.
In another terminal, run the gateway:
set -a
source ~/.config/qwen-studio-browser-gateway/server.env
set +a
node dist/cli.js serveFor a persistent Linux user service, use the templates in systemd/ and the instructions in docs/setup.md.
Safe Smoke Tests
These requests do not trigger generation:
node dist/cli.js browser doctor
curl -fsS -H "Authorization: Bearer $QWEN_LOCAL_API_KEY" \
http://127.0.0.1:8798/health
curl -fsS -H "Authorization: Bearer $QWEN_LOCAL_API_KEY" \
http://127.0.0.1:8798/v1/models
node dist/cli.js mcp install-configPOST /v1/expert and POST /v1/chat/completions launch real web generation and may consume quota.
Claude Code MCP
After npm run build, run:
node dist/cli.js mcp install-configThe command prints portable JSON with the current paths for Node.js and dist/cli.js. Add the qwen-expert object to the Claude Code MCP configuration on this host. MCP only exposes ask_qwen_expert; the response is always marked as advisory and must be verified independently.
Security Boundaries
HTTP and CDP accept only loopback endpoints.
QWEN_WEB_URLaccepts only the originhttps://chat.qwen.ai.The local API key is required.
Prompts are not logged; screenshots are disabled by default.
One tab and one FIFO queue prevent responses from being mixed.
Qwen does not receive executable tools or local files.
The project is not intended to bypass site restrictions or mass automation.
More details: AGENTS.md, docs/architecture.md, docs/security.md, docs/troubleshooting.md.
This server cannot be deployed
Maintenance
Related MCP Connectors
No-data MCP handoff for local Claude Code to Codex harness moves. $49 lifetime.
Share context and questions between Claude instances — VS Code, claude.ai web, and mobile.
Browser-backed QA with evidence and fix-ready reports for coding agents.
- QuallaaOAuthcom.quallaa
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Related MCP Servers
AlicenseNot gradedqualityDmaintenanceEnables Claude Code to consult external LLMs (GPT, Gemini) through multi-turn sessions for second opinions, parallel consultations, and web-grounded research.MIT- AlicenseBqualityDmaintenanceEnables Codex to manage a local Claude Code companion through MCP, implementing a dual-agent workflow where Codex handles reasoning and review while Claude Code performs engineering tasks.181MIT
- AlicenseAqualityBmaintenanceEnables OpenAI Codex to consult Claude Code for co-analysis, adversarial second opinions, and read-only file review over the Model Context Protocol, with Claude remaining advisory and unable to modify files.924 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables Codex to delegate tasks to interactive Claude Code sessions as role-controlled subagents for exploration, code review, and implementation, using the existing Claude Code installation on macOS.MIT