
duclm1x1/muse-chat-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
MCP サーバー + OpenAI 互換のシムを使用して、 メタミューズ (muse.ai, ハッチ) 実際のロギングイン クロームを駆動します.
概要
Muse は公開 API はありません。チャットは (ws://hatch.metaaivm.com/v1/noise, X25519 + HKDF + AES-GCM + Ed25519 騒音輸送)。 そのため、プロトコルを再実装する代わりに、このプロジェクトはPlaywrightで実行します。このアプリはすべての暗号自体を実行し、コンポーラに入力し、レンダリングされた応答を読みます。 スクリプトから1ショット生成する小さな (muse-cli.mjs) です。 ブラウザとマウスのアカウントをドライブします。 認証情報、Chrome プロファイル、キャプチャされたトラフィックは使用できません。最初の実行時に自分のメタアカウントにサインインします。 免責事項をご覧ください。 - stdio上 — Claude デスクトップ/オープンコード/任意の MCP ホストのドロップイン。 - (SSE)、正しい Finish reason、および /v1 エラーオブジェクト。 - — OpenAI ツールをミューズしてツール calls を取り戻す。 - — プロンプト(MCPファイル、OpenAI image url部品、CLI -f)で画像/ビデオを送信します。 - — 任意のミューズチャットでリスト/オープン/読み込み/送信し、画像/ビデオミューズ生成(リンク+ダウンロード)を引き出します.
概要(AI 翻訳)
メタミューズを使用する — Muse.ai “ハッチ” エージェント — MCP クライアントまたは OpenAI 互換クライアントから、独自のアカウントとクォータを使ってください。
Muse には公開 API はありません。そのチャットは、X25519 + HKDF + AES-GCM + Ed25519 Noise トランスポートです。 そのため、プロトコルを再実装する代わりに、このプロジェクトは、Playwrightで、Chromeで、実際のロギングインを駆動します。このアプリは、すべての暗号自体を実行し、コンポーザに入力し、レンダリングされた応答を読み取ります。
それはあなたに2つのフロントドアを与えます:
| フロントドア | お問い合わせ | お問い合わせ |
| お問い合わせ |
| MCP サーバー**(stdio) | 7 ツール: [muse_status, [[muse_login]], [[muse_chat]], [muse_read_last], [muse_dump_dom, [[muse_close]]] デスクトップ、オープンコード、カーソル、MCP ホスト
|OpenAI対応シム(HTTP) | [GET /v1/models, [[POST /v1/chat/completions](ストリーム+非ストリーム, ツールコール) | OpenAI SDK / [[[T10] 提供者 |
また、スクリプトから1ショット生成する小さなCLI([muse-cli.mjs)。
【重要】 このドライブはyourブラウザとyour ミューズアカウント.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Muse-Chat-MCP
Use Meta Muse — the muse.ai “Hatch” agent — from any MCP client or any OpenAI-compatible client, with your own account and quota.
Muse has no public API: its chat is an encrypted WebSocket (wss://hatch.metaaivm.com/v1/noise, an X25519 + HKDF + AES‑GCM + Ed25519 Noise transport). So instead of re‑implementing the protocol, this project drives your real, logged‑in Chrome with Playwright: the app performs all the crypto itself, and we type into the composer and read the rendered reply.
That gives you two front doors:
| Front door | What it is | Use it from |
|---|---|---|
| MCP server (stdio) | 7 tools: muse_status, muse_login, muse_new_chat, muse_chat, muse_read_last, muse_dump_dom, muse_close |
Claude Desktop, opencode, Cursor, any MCP host |
| OpenAI-compatible shim (HTTP) | GET /v1/models, POST /v1/chat/completions (stream + non-stream, tool calling) |
any OpenAI SDK / @ai-sdk/openai-compatible provider |
Plus a tiny CLI (muse-cli.mjs) for one-shot generation from scripts.
[!IMPORTANT] This drives your browser and your Muse account. It ships with no credentials, no Chrome profile, and no captured traffic — you sign in to your own Meta account on first run. See Disclaimer.
Features
- MCP tools over stdio — drop-in for Claude Desktop / opencode / any MCP host.
- OpenAI-compatible HTTP shim with real streaming (SSE), correct
finish_reason, and/v1error objects. - Prompt-injected tool calling — expose OpenAI
toolsto Muse and gettool_callsback. - Attachments — send images/video with a prompt (MCP
files, OpenAIimage_urlparts, CLI-f). - Sessions & media — list/open/read/send in any Muse chat, and pull out the images/videos Muse generates (links + download).
- Muse Manual — a living guide to Muse’s video/image/content capabilities at
manual/MUSE_MANUAL.md, regenerated withnode manual/interview.mjs. - Reuses your existing login via a dedicated Chrome profile, or attaches to a Chrome you already run with
--remote-debugging-port=9222. - Never kills your browser: when attached over CDP it only disconnects on close.
- Resilient: if the profile is locked by a running Chrome, it auto-attaches over CDP instead of failing.
- Correct streaming: only stable, monotonic text is emitted, so a rewrite mid-answer never duplicates.
- No browser download — it uses your installed Chrome via
playwright-core.
Requirements
- Node.js ≥ 18 (tested on v24).
- Google Chrome (or Edge) installed.
- A Meta account with access to Muse.
- Windows / macOS / Linux (paths in the examples are Windows; adjust for your OS).
Install
git clone https://github.com/duclm1x1/Muse-Chat-MCP.git
cd Muse-Chat-MCP
npm install
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"muse": {
"command": "node",
"args": ["/absolute/path/to/Muse-Chat-MCP/muse-server.mjs"],
"env": { "MUSE_PROFILE_DIR": "/absolute/path/to/Muse-Chat-MCP/.muse-profile" }
}
}
}