
duclm1x1/muse-chat-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
MCP 서버 + OpenAI-compatible shim를 사용하여 Meta Muse (muse.ai, Hatch)를 사용하여 실제 로그인 크롬을 구동합니다.
개요
Muse에는 공개 API가 없습니다. 채팅은 (wss://hatch.metaaivm.com/v1/noise, X25519 + HKDF + AES‐GCM + Ed25519 소음 수송). 그래서 프로토콜을 다시 단순화, Playwright와이 프로젝트 : 응용 프로그램은 모든 암호화 자체를 수행, 우리는 작곡가에 입력하고 렌더링 된 대답을 읽습니다. 스크립트에서 원샷 생성을 위한 작은 (muse-cli.mjs) 이 드라이브 브라우저 및 Muse 계정. 그것은 credentials, 아니 크롬 프로필, 그리고 캡처 트래픽을 배송 - 당신은 첫 번째 실행에 자신의 메타 계정에 로그인. 자주 묻는 질문 - stdio 이상 - Claude Desktop / opencode / MCP 호스트에 대한 드롭 인. - (SSE), 올바른 Finish reason 및 /v1 오류 객체. - — OpenAI 도구를 Muse에 노출하고 tool calls를 돌려줍니다. - - 이미지/비디오를 프롬프트(MCP 파일, OpenAI image url 부품, CLI -f)로 보냅니다. - — 목록/open/read/send in any Muse chat, image/videos Muse 생성 (링크 + 다운로드).
개요(AI 번역)
**Use Meta Muse - muse.ai “Hatch” 대리인 - 어떤 MCP 클라이언트 또는 당신의 자신의 계정과 할당량과 함께 OpenAI 호환 클라이언트에서. **
Muse에는 공개 API가 없습니다. 채팅은 ** 암호화 된 WebSocket** ([T0]]], X25519 + HKDF + AES‐GCM + Ed25519 Noise 수송)입니다. 그래서 프로토콜을 다시 단순화, 이 프로젝트 **는 실제 드라이브, 로깅 크롬 ** Playwright: 응용 프로그램은 모든 암호화 자체를 수행, 우리는 작곡가에 입력하고 렌더링 된 대답을 읽습니다.
그것은 당신에게 2개의 정면 문을 줍니다:
| 프론트 도어 | | 사용 중 |
인포메이션
|MCP 서버 (스트디오) | 7 도구: muse_status, muse_login], muse_new_chat, muse_chat], muse_read_last, muse_dump_dom, muse_close] | 매드 데스크탑, 오픈코드, 커서, MCP 호스트 |
|OpenAI-compatible shim (HTTP) | GET /v1/models], POST /v1/chat/completions] (스트림 + 비스트림, 도구 호출) | OpenAI SDK / [T10] 제공업체 |
스크립트에서 원샷 생성을 위한 CLI (muse-cli.mjs]).
[! 중요] 이 드라이브 ** 브라우저 및 ** ** Muse 계정.
이 페이지는 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" }
}
}
}