qwen-expert
Qwen Studio Browser Gateway
Unofficial localhost-only gateway that gives Claude Code one additional untrusted expert opinion from Qwen 3.8 Max through 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 signs in manually on each host; the project does not transfer cookies/tokens, bypass CAPTCHA/MFA, or 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 result 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 prebuilt 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 or the browser profile.
Manual login
Run a separate browser:
set -a
source ~/.config/qwen-studio-browser-gateway/server.env
set +a
./start-qwen-browser.shIn the opened window, sign in to https://chat.qwen.ai manually. Only the user can complete CAPTCHA and MFA. Leave one Qwen tab open.
In another terminal, start 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 start 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 to Node.js and dist/cli.js. Add the qwen-expert object to the Claude Code MCP configuration on this host. MCP publishes only ask_qwen_expert; the response is always marked as advisory and must be checked independently.
Security boundaries
HTTP and CDP accept only loopback endpoints.
QWEN_WEB_URLaccepts only the originhttps://chat.qwen.ai.A local API key is required.
Prompts are not logged; screenshots are disabled by default.
One tab and one FIFO queue prevent responses from mixing.
Qwen does not receive executable tools or local files.
The project is not intended to bypass site restrictions or to enable mass automation.
More: AGENTS.md, docs/architecture.md, docs/security.md, docs/troubleshooting.md.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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- AlicenseBqualityCmaintenanceEnables 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.954MIT
- AlicenseNot gradedqualityAmaintenanceEnables Codex chat to use the Claude Code harness for repository consultation and editing, routing through GPT models via a local proxy.10MIT
Related MCP Connectors
Browser-backed QA with evidence and fix-ready reports for coding agents.
Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).
Paid remote MCP for Claude Code skill update gate MCP, structured receipts, audit logs, and reviewer
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/satyasai-collab/qwen-studio-browser-gateway'
If you have feedback or need assistance with the MCP directory API, please join our Discord server