Basic information
About Mux Video and Data Platform MCP Server
Integrate seamlessly with the Mux Video and Data Platform for easy video uploads, live stream control, analytics, and performance insights.
Mux Video and Data Platform is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by muxinc. It exposes 2 tools, including search_docs, execute. Supported transport: stdio. Runtime: TypeScript. License: Apache-2.0. The repository has 182 GitHub stars. Source code is hosted on github.com. Related topics: developer-tools, live streaming, media, mux, mux-data.
Connection details
https://mcp.mux.com
Setup
claude mcp add mux-mcp --transport http https://mcp.mux.com
[mcp_servers.mux-mcp] url = "https://mcp.mux.com"
{
"mcpServers": {
"mux-mcp": {
"url": "https://mcp.mux.com"
}
}
}
{
"servers": {
"mux-mcp": {
"type": "http",
"url": "https://mcp.mux.com"
}
}
}
Mux Video and Data Platform MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mux-mcp": {
"command": "npx",
"args": [
"-y",
"@mux/mux-node"
]
}
}
}
Mux Video and Data Platform MCP Server tools
- search_docs — Query documentation about Mux's API and SDKs.
- execute — Run TypeScript written by the agent against the full Mux SDK (@mux/ts) in an isolated sandbox; anything the code returns or prints is returned as the tool result.
Overview
What is Mux Video and Data Platform?
The Mux MCP server is Mux's official way to connect AI tools to the Mux Video and Data platform, so an agent can upload videos, manage live streams and query viewer analytics through natural-language prompts.
Mux offers it two ways: a hosted remote server at https://mcp.mux.com with OAuth login, and the npm package @mux/mcp for running locally with an access token. The package is open source under Apache-2.0 in the muxinc/mux-ts repository (packages/mcp-server). Instead of one tool per endpoint, it uses a "Code Mode" design with just two tools.
How to use Mux Video and Data Platform?
You need a Mux account. What the server can do is limited by the Mux environment and access token you authorize.
Hosted server (recommended)
Add an MCP server (called a "connector" in Claude and ChatGPT) with the URL https://mcp.mux.com. Clients that support OAuth prompt you to log in to dashboard.mux.com and choose an environment; no token copying is needed. In Claude Code, for example:
claude mcp add --transport http mux https://mcp.mux.com
If your client cannot do OAuth, create an access token under Settings → Access Tokens in the Mux Dashboard and send it as Basic credentials (base64 of TOKEN_ID:TOKEN_SECRET):
{
"mcpServers": {
"mux": {
"url": "https://mcp.mux.com",
"headers": {
"Authorization": "Basic <base64 of TOKEN_ID:TOKEN_SECRET>"
}
}
}
}
Clients without remote MCP support can use the local install below or mcp-remote.
Local install
Prerequisites: Node.js, a Mux access token ID and secret, and Deno 2.9 or newer (@mux/mcp installs Deno itself through an optional dependency; otherwise set DENO_PATH). Required environment variables are MUX_TOKEN_ID and MUX_TOKEN_SECRET. Optional ones are MUX_WEBHOOK_SECRET, MUX_SIGNING_KEY, MUX_PRIVATE_KEY (signed playback) and MUX_AUTHORIZATION_TOKEN.
Claude Code
claude mcp add mux --env MUX_TOKEN_ID="your_access_token_id" MUX_TOKEN_SECRET="your_secret_key" -- npx -y @mux/mcp@latest
Claude Desktop
Download mux.mcpb from the latest mux-ts release and open it in Claude Desktop (install Deno first and set the bundle's DENO_PATH). Or add this to claude_desktop_config.json and restart:
{
"mcpServers": {
"mux": {
"command": "npx",
"args": ["-y", "@mux/mcp@latest"],
"env": {
"MUX_TOKEN_ID": "your_access_token_id",
"MUX_TOKEN_SECRET": "your_secret_key"
}
}
}
}
Cursor
Add the same mcpServers block to ~/.cursor/mcp.json (create the file if needed).
VS Code
Open MCP: Open User Configuration (or use .vscode/mcp.json per workspace), add the server under "servers" with the same command, args and env, then click Start.
Test it with: "Give me the details for the most recently created Mux Video asset (using the Mux tool)".
Key features of Mux Video and Data Platform
- Full Mux SDK coverage: Mux Video (assets, direct uploads, playback IDs, tracks, live streams), Mux Data (metrics, dimensions, real-time data, views, exports), Mux Robots, signing keys and webhooks.
- Code Mode: the agent writes TypeScript against the
@mux/tsSDK, which handles multi-step tasks in one call and keeps the context window small. - Sandboxed execution: hosted calls run in a fresh, isolated Mux-owned sandbox; local calls run in a Deno sandbox limited to Mux API hosts.
- OAuth on the hosted server: log in and pick an environment, with no secrets in config files.
- Method allow/block lists: local flags make the server read-only or limit it to specific SDK methods.
- Official and open source: published by Mux under Apache-2.0.
Mux Video and Data Platform tools
The server exposes two tools:
search_docsqueries documentation for Mux's API and SDKs.executeruns TypeScript written by the agent against the full Mux SDK and returns whatever the code returns or prints.
Locally, you can narrow this with flags after @mux/mcp@latest: --no-tools=code (docs only) or --no-tools=docs, --code-allow-http-gets (read-only), --code-allowed-methods=<regex> and --code-blocked-methods=<regex> (for example --code-blocked-methods=delete to block every delete method).
Use cases of Mux Video and Data Platform
- Manage video: "List all my video assets and their current status."
- Get playback links: "Give me the playback URL for the most recently uploaded video to my Mux account."
- Add accessibility: "Generate a subtitles track for asset ID ASSET_ID."
- Use Mux Robots: "Run a Robots job to generate chapters for this asset," or summarize a video and suggest tags.
- Analyze performance: "Which country had the best video streaming performance last month?" or "What are the most common video errors in my account?"
- Build features: "Create a webpage where I can upload a video to Mux."
Frequently asked questions
1 Is the Mux MCP server official?
Yes. Mux documents and runs it at https://mcp.mux.com and publishes the @mux/mcp package from its muxinc/mux-ts repository.
2 Is Mux MCP free?
The server and package are free and open source under Apache-2.0. Anything the agent does, such as uploads, encoding or streaming, runs on your Mux account and is billed like any other API usage.
3 Which credentials do I need?
For the hosted server, just your Mux login via OAuth. For local use or non-OAuth clients, a Mux access token ID and secret (MUX_TOKEN_ID and MUX_TOKEN_SECRET).
4 Does it work with Claude Code, Cursor and VS Code?
Yes. Mux documents setup for Claude Desktop, Claude Code, Cursor and VS Code, and the hosted URL works in any client that supports remote MCP servers.
5 Can I make it read-only?
Yes. The only guaranteed way is an access token with Read permissions only. Locally, --code-allow-http-gets also limits it to read methods, but method flags keep an agent on task and are not a security boundary.
6 Does it ask before deleting things?
No. The server does not treat destructive operations specially, so scope the token, or block delete methods with --code-blocked-methods=delete when running locally.
7 Why does it only have two tools?
Code Mode exposes search_docs and execute instead of hundreds of endpoint tools. The agent writes SDK code, so the whole Mux API stays reachable without filling the model's context.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In