Skip to main content
Glama

Qwen Studio Browser Gateway

English

Un gateway no oficial, y in solo localhost, que ofrece a Claude Code una opinón experta adicional no confiable de Qwen 3.8 Max a través de una sesión web de chat.qwen.ai autorizada manualmente.

No es una API oficial de Qwen, ni in agente principal, ni una fonte de respuestas correctas garantizadas. Eel "user"/user owns, in each host is the manually "login"; the proyecto no transferires "cookies/tokens", no evite CAPTCHA/MFA y no "otorga" a Qwen access to a shell, "filesystem" ni a "tools" localinal.

Flujo

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-Max

Antes de cada Send, el gateway selecciona y confirma el modelo qwen3.8-max / Qwen3.8-Max. Una discordancia de modelo, un DOM desconocido, un challenge, la ausencia de "login" or "endpoint" remote "termine" in error. Después de Send, la generación del navegador not se repite automatadamente.

Related MCP server: claude-consult-mcp

Requisites

  • Node.js 22+;

  • Chrome/Chromium con ventana gráfica;

  • Linux para las plantilas de usuario "systemd" incluidas (el "gateway" en Node.js es portatil);

  • una cuenta propia de Qwen y in derecho a us ar el el servicio web.

"Instacción"

npm ci
npm run check
npm run build
npm test

Cree una configurción privada:

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.env

Edite server.env:

  • defina la variable local QWEN_BROWSER_EXECUTABLE_PAHTH;

  • genere una nueva QWEN_LOCAL_API_KEY aleatoria para este host;

  • no cambie los endpoints de "loopback";

  • antes de usarlo, confirme el ID/etiqueta actual del modelo más fuerte en la lA envol viva.

No haga commit de server.env no del perfil de navegar.

Io "manual"

Yance un navegador separado:

set -a
source ~/.config/qwen-studio-browser-gateway/server.env
set +a
./start-qwen-browser.sh

En la ventana abeita, inice sesión por usted mismo en https://chat.qwen.ai. Solo el us supere CAPTCHA/MFA. Deje una sola petaña de Qwen abierta.

En otro terminal, ejecute el gateway:

set -a
source ~/.config/qwen-studio-browser-gateway/server.env
set +a
node dist/cli.js serve

Para a servicio de "Linux user" persistente, use the templates in systemd/ and with them, the instructions in docs/setup.md.

"Smoke tests" seguros

These solicitudes no lanan la generación:

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-config

POST /v1/ exper y POST /v1/chat/completinos incian la generación web real and pueden consumir "quota".

Claude Code MCP

Después de npm run build, e"ecute":

node dist/cli.js mcp install-config

El comando unrelated to "imprime" a JSON "portabel" with the actual rutas de Node.js and dist/cli.js. To include the "objete" qwen-expert in the configuration MCP de Claude Code in each host. MCP publishes only ask_qwen_expert; the respuest is always marked as "advisory" and "debe" comprobarse de forma independiente.

Líites de seguridad

  • ccHTTP and CDP accept only "loopback".

  • QWEN_WEB_URL only accepta el origin https://chat.qwen.ai.

  • La clave de API local es obligatoria.

  • not se logran los prompts; the screen shots are out by "default".

  • There are also one "pestaña" and with only FIFO "queen" evitan las respuestas.

  • Qwen no recibe "tools" ejecutables no "files" local.

  • The project's not designed to "evitar" the limitaciones of the site or the "massive" automation.

Más detailed: AGENTS.md, docs/architecture.md, docs/security.md, docs/troubleshooting.md.

English

English

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Bridges Codex to a local Claude Opus 5 collaborator via Claude Code, enabling controlled read-only consultation or write-capable tasks on allowed workspaces with independent verification.
    3
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables Codex to consult Claude Code for a second opinion through a local stdio MCP server, exposing the ask_claude tool for text-only reviews and recommendations using existing Claude Code authentication. Codex can request findings and tradeoff analysis without allowing Claude to edit files or run commands.
    1
    1
    MIT