qwen-expert
Qwen Studio Browser Gateway
Claude Code に対して、手動で承認された chat.qwen.ai の Web セッションを介して、Qwen 3.8 Max の信頼できない専門家の意見を 1 つ提供する、非公式の localhost 限定ゲートウェイです。
これは Qwen の公式 API ではなく、主要なエージェントでも、正しい回答を保証するものではありません。ユーザーは各ホストで手動的にサイトにログインします。プロジェクトは cookies/tokens を転送せず、CAPTCHA/MFA を回避せず、Qwen にシェル、ファイルシステム、またはローカルツールへのアクセスを与えることもありません。
フロー
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-MaxSend の前に、ゲートウェイは qwen3.8-max / Qwen3.8-Max を選択して確認します。モデルの不一致、不明な DOM、チャレンジ、ログインの欠落、リモートエンドポイントは、すべてエラーになります。Send 後、ブラウザの生成は自動的に繰り返されません。
Related MCP server: claude-consult-mcp
要件
Node.js 22+;
グラフィカルウィンドウ付きの Chrome / Chromium;
既製の systemd user テンプレート用 Linux(Node.js ゲートウェイ自体は移植可能です);
自分自身の Qwen アカウントと Web サービスを利用する権利。
インストール
npm ci
npm run check
npm run build
npm testプライベートな設定を作成します:
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.envserver.env を編集します:
ローカルの
QWEN_BROWSER_EXECUTABLE_PATHを設定してください;このホスト用に新しいランダムな
QWEN_LOCAL_API_KEYを生成してください;loopback エンドポイントを変更しないでください;
使用前に、実際の UI で最強のモデルの最新の ID/label を確認してください。
server.env とブラウザプロファイルをコミットしないでください。
手動ログイン
別のブラウザを起動します:
set -a
source ~/.config/qwen-studio-browser-gateway/server.env
set +a
./start-qwen-browser.sh開いたウィンドウで https://chat.qwen.ai に自分でログインします。CAPTCHA と MFA はユーザーだけが通過できます。Qwen のタブを 1 つ開いたままにしてください。
別のターミナルでゲートウェイを起動します:
set -a
source ~/.config/qwen-studio-browser-gateway/server.env
set +a
node dist/cli.js serveLinux の永続的なユーザーサービスには、systemd/ のテンプレートと docs/setup.md の説明を使用してください。
安全なスモークテスト
これらのリクエストは生成を開始しません:
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 と POST /v1/chat/completions は実際の Web 生成を実行し、クォータを消費する可能性があります。
Claude Code MCP
npm run build の後に次を実行します:
node dist/cli.js mcp install-configこのコマンドは、現在の Node.js と dist/cli.js のパスを含む移植可能な JSON を出力します。qwen-expert オブジェクトを、このホストの Claude Code の MCP 設定に追加してください。MCP は ask_qwen_expert のみを公開します。応答は常に advisory としてマークされ、独立して検証する必要があります。
セキュリティの境界
HTTP と CDP は loopback エンドポイントのみ受け付けます。
QWEN_WEB_URLはオリジンhttps://chat.qwen.aiのみを受け取ります。ローカル API キーが必須です。
プロンプトはログに記録されません。スクリーンショットはデフォルトでオフです。
1 つのタブと 1 つの FIFO キューが応答の混在を防ぎます。
Qwen は実行可能なツールやローカルファイルを受け取りません。
このプロジェクトは、サイトの制限の回避や大量自動化を目的としていません。
詳細: AGENTS.md、docs/architecture.md、docs/security.md、docs/troubleshooting.md。
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
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.
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
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- AlicenseAqualityDmaintenanceEnables 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.930 npmMIT
- AlicenseAqualityCmaintenanceBridges 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.3MIT
- AlicenseAqualityBmaintenanceEnables 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.11MIT