Use the Mux Model Context Protocol (MCP) Server to bring Mux's Video and Data platform capabilities directly to your AI tools.
The Mux MCP (Model Context Protocol) Server brings Mux's Video and Data platform capabilities directly to your AI tools. Once set up, you can upload videos, manage live streams, analyze video performance, and access practically all of Mux's video infrastructure through natural language prompts in supported AI clients.
This guide walks you through how the Mux MCP server works and how to connect it to various AI clients. The quickest way to get started is the remote server hosted at https://mcp.mux.com.
The Mux MCP server is built on the "Code Mode" tool scheme. Rather than exposing hundreds of individual endpoint tools, it exposes just two tools to your agent:
@mux/mux-node). The code runs in an isolated sandbox with no web or filesystem access, and anything it returns or prints is handed back to the agent as the result of the tool call.Because the agent writes and runs real SDK code, it can perform complex, multi-step tasks deterministically and repeatably while keeping the model's context window small. Practically the full surface of the Mux SDK is reachable this way, including:
whoami)What the server can actually do is governed by the Mux environment and access token you authorize it with. Code Mode does not special-case destructive operations, so if you want to prevent writes or deletions, authorize a read-only or scoped token, or run the server locally with method restrictions (see Local installation).
Video Management
ASSET_IDMux Data Analytics and Performance
Before utilizing the Mux MCP Server, make sure you meet the following prerequisites:
Mux's MCP server is hosted at https://mcp.mux.com. When using this remote server, authentication is handled automatically via OAuth, so there's no need to grab Access Token information from the Dashboard. To configure it in your client, add an MCP server — sometimes called a "connector" (Claude/Claude Code/ChatGPT), an "extension" (Goose), or simply an MCP Server (VS Code) — and enter the URL https://mcp.mux.com as the location.
Once configured, your client and the Mux MCP server negotiate authentication and authorization, prompting you automatically to:
When you're already logged in, your experience will look something like this:

And that's it, you're good to go!
These days, most LLM clients directly support remote MCP servers (rather than locally installed ones), so you shouldn't have much trouble getting set up. That said, there are still some clients (particularly older versions) that don't have built-in remote MCP support. For those situations, you have two options:
If you run into issues or have questions: