mcp
v12.8.0The official MCP Server for the Mux API
Values you need
| Variable | What it is | |
|---|---|---|
MUX_TOKEN_ID | required secret | Your Mux access token ID |
MUX_TOKEN_SECRET | required secret | Your Mux access token secret |
MUX_SIGNING_KEY | optional secret | Your JWT signing key ID, for use with signed playback IDs |
MUX_PRIVATE_KEY | optional secret | Your JWT private key, for use with signed playback IDs |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mcp -e 'MUX_TOKEN_ID=<MUX_TOKEN_ID>' -e 'MUX_TOKEN_SECRET=<MUX_TOKEN_SECRET>' -- npx -y --package=@mux/mcp@12.8.0 mcp-serverAdd to
claude_desktop_config.json{
"mcpServers": {
"mcp": {
"args": [
"-y",
"--package=@mux/mcp@12.8.0",
"mcp-server"
],
"command": "npx",
"env": {
"MUX_TOKEN_ID": "<MUX_TOKEN_ID>",
"MUX_TOKEN_SECRET": "<MUX_TOKEN_SECRET>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp": {
"args": [
"-y",
"--package=@mux/mcp@12.8.0",
"mcp-server"
],
"command": "npx",
"env": {
"MUX_TOKEN_ID": "<MUX_TOKEN_ID>",
"MUX_TOKEN_SECRET": "<MUX_TOKEN_SECRET>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "MUX_TOKEN_ID",
"id": "mux-token-id",
"password": true,
"type": "promptString"
},
{
"description": "MUX_TOKEN_SECRET",
"id": "mux-token-secret",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp": {
"args": [
"-y",
"--package=@mux/mcp@12.8.0",
"mcp-server"
],
"command": "npx",
"env": {
"MUX_TOKEN_ID": "${input:mux-token-id}",
"MUX_TOKEN_SECRET": "${input:mux-token-secret}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp]
command = "npx"
args = ["-y", "--package=@mux/mcp@12.8.0", "mcp-server"]
env = { "MUX_TOKEN_ID" = "<MUX_TOKEN_ID>", "MUX_TOKEN_SECRET" = "<MUX_TOKEN_SECRET>" }Remote (hosted)
Run in a terminal
claude mcp add --transport http mcp https://mcp.mux.com --header 'Authorization: <Authorization>'Add to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"mcp": {
"args": [
"-y",
"mcp-remote",
"https://mcp.mux.com",
"--header",
"Authorization: <Authorization>"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp": {
"headers": {
"Authorization": "<Authorization>"
},
"url": "https://mcp.mux.com"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mcp": {
"headers": {
"Authorization": "<Authorization>"
},
"type": "http",
"url": "https://mcp.mux.com"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.mux.com", "--header", "Authorization: <Authorization>"]For AI agents
- Ask the user for: MUX_TOKEN_ID, MUX_TOKEN_SECRET. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: create_video_assets, retrieve_video_assets, update_video_assets, list_video_assets, create_playback_id_video_assets, create_static_rendition_video_assets, create_track_video_assets, delete_playback_id_video_assets, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json