muse-bridge-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
muse-bridge
Talk to your Muse AI VM from the terminal, from an AI agent, or from your own Node code.
muse-bridge speaks the VM's native protocol (a Noise XX handshake carrying Protobuf RPC over WebSocket) and gives you:
A CLI (
muse-bridge) for sessions, chat, file transfer with SHA-256 checks, and a product-video job runner.An MCP server (
muse-bridge-mcp) that exposes the same operations as tools to Claude Code, Claude Desktop, Cursor and other MCP clients.A Node library with the Noise, Protobuf, RPC and job-pipeline pieces as separate modules.
A VM skill (
product-video) that turns a product photo into a verified 720x1280 video on the VM.
It has no runtime dependencies and needs Node.js 22 or newer.
Install
npm install -g muse-bridgeOr run it without installing: npx muse-bridge help.
Related MCP server: TaoDock MCP Server
Credentials
muse-bridge needs your VM id and a gateway token from your muse.ai account. It looks for them in this order:
Environment variables:
MUSE_VM_IDandMUSE_AUTH_TOKEN, plusMUSE_NOTARY_TOKENif your account issues one.A credentials command:
MUSE_CREDENTIALS_COMMAND, a shell command that prints one JSON object. It runs again on every reconnect, so it can refresh expired tokens.Library callers only: credentials or a
mintFnpassed toresolveCredentials.
Getting a token from your browser
Print a snippet for your browser's DevTools console:
muse-bridge credentials-scriptOpen https://muse.ai while signed in, open DevTools (Console tab), paste the snippet and press Enter. It prints export MUSE_VM_ID=… and export MUSE_AUTH_TOKEN=… lines. Paste them into your shell. The snippet runs only in your browser and sends requests only to muse.ai.
Tokens expire. When a command fails with an auth error, run the snippet again.
Automating it with a credentials command
MUSE_CREDENTIALS_COMMAND can be anything that prints JSON in this shape:
{ "vmId": "…", "token": "…", "notaryToken": "…" }snake_case keys (vm_id, auth_token, notary_token) work too. Some examples:
# A file you keep outside the repo
export MUSE_CREDENTIALS_COMMAND='cat ~/.config/muse-bridge/credentials.json'
# A password manager
export MUSE_CREDENTIALS_COMMAND='op read op://Private/muse-bridge/credentials'
# Your own browser automation
export MUSE_CREDENTIALS_COMMAND='node ~/bin/muse-credentials.mjs'For browser automation, browserCredentialExpression() returns the same script as a JavaScript expression you can pass to Playwright's or Puppeteer's page.evaluate on a signed-in muse.ai page:
import { chromium } from 'playwright';
import { browserCredentialExpression } from 'muse-bridge';
const context = await chromium.launchPersistentContext('/path/to/profile', { headless: true });
const page = await context.newPage();
await page.goto('https://muse.ai/');
const creds = await page.evaluate(browserCredentialExpression());
process.stdout.write(JSON.stringify(creds));
await context.close();muse-bridge never prints tokens. Errors, logs, CLI output and MCP results all go through a redactor first, and credential objects keep tokens in non-enumerable properties.
CLI
Check the connection first:
muse-bridge doctordoctor resolves credentials, completes the handshake, lists sessions, and writes, reads back and deletes a probe file.
muse-bridge <command> [options]
doctor Credentials, handshake, sessions.list and fs probe roundtrip
credentials-script Print a browser console snippet that reads Muse credentials
install-skill Upload and SHA-256 verify the product-video skill
sessions list|start|archive|delete
fs list|stat|upload|download|delete
chat send --session <id> (--text <prompt> | --file <path>)
chat history <sessionId>
job run --image <png> --product <name> [--title <t>] [--duration <sec>] [--dry-run]
help
--json Machine-readable outputRun muse-bridge help for every option.
Product-video job
muse-bridge install-skill
muse-bridge job run --image ./bottle.png --product "Amber Oil" --title "Amber Oil" --out-dir ./outThe job uploads the image, has Muse generate a still and a clip, assembles a 720x1280 H.264 video on the VM with ffmpeg, and downloads it with SHA-256 checks. Use --dry-run to see the steps without running them.
MCP server
Add it to your MCP client. For Claude Code:
claude mcp add muse-bridge -e MUSE_CREDENTIALS_COMMAND='cat ~/.config/muse-bridge/credentials.json' -- npx -y muse-bridge-mcpFor clients configured with JSON (Claude Desktop, Cursor and others):
{
"mcpServers": {
"muse-bridge": {
"command": "npx",
"args": ["-y", "muse-bridge-mcp"],
"env": { "MUSE_CREDENTIALS_COMMAND": "cat ~/.config/muse-bridge/credentials.json" }
}
}
}Tools:
Tool | What it does |
| Check credentials, handshake, sessions and a file round trip |
| List chat sessions |
| Start an isolated side-chat session |
| Browse the VM filesystem |
| Transfer files with SHA-256 verification |
| Send a prompt and wait for the matching reply |
| Read a session's history |
| Install the product-video skill on the VM |
| Run the product-video job end to end |
Library
import { ConnectionManager, runDoctor } from 'muse-bridge';
const connectionManager = new ConnectionManager();
try {
console.log(await runDoctor({ connectionManager }));
} finally {
connectionManager.close();
}Each layer is also exported on its own: muse-bridge/noise, /protobuf, /auth, /rpc, /reply-matcher, /pipeline, /operations, /cli and /mcp. ARCHITECTURE.md documents every module and its signatures.
Contributing
See CONTRIBUTING.md. To report a security problem, see SECURITY.md.
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Plan, compare, price, generate, and recover AI video from compatible MCP clients.
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
Chat, image, video, and audio models from many vendors behind one remote MCP server and one key.
Connect MCP clients to 2,000+ AI models without managing provider API keys.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables AI clients like Claude and ChatGPT to generate images and videos, animate images, create lip-synced videos, list TTS voices, and manage media via remote MCP tools.-

TaoDock MCP Serverofficial
AlicenseAqualityBmaintenanceEnables MCP clients to list available models, generate or edit images, and create, monitor, and download asynchronous video generation tasks using configured API credentials.562 npmMIT- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to create and manage video-generation jobs from prompts over the Deepege Open API, including polling status, confirming or revising plans, answering questions, and canceling jobs.MIT

crowllm-mcpofficial
AlicenseAqualityBmaintenanceEnables MCP clients to search a live model catalog, retrieve per-token pricing, and send chat prompts through an OpenAI-compatible gateway.3MIT