# mcp MCP server

The official MCP Server for the Mux API

## Links
- Registry page: https://www.getdrio.com/mcp/com-mux-mcp
- Repository: https://github.com/muxinc/mux-node-sdk

## Install
- Command: `npx -y @mux/mcp`
- Endpoint: https://mcp.mux.com
- Auth: Auth required by registry metadata

## Setup notes
- Remote header: Authorization (secret)
- Package: Npm @mux/mcp v12.8.0
- Environment variable: MUX_TOKEN_ID (required; secret)
- Environment variable: MUX_TOKEN_SECRET (required; secret)
- Environment variable: MUX_SIGNING_KEY (secret)
- Environment variable: MUX_PRIVATE_KEY (secret)
- The upstream registry signals required auth or secrets.
- Remote endpoint: https://mcp.mux.com
- Header: Authorization

## Tools
- execute - Runs JavaScript code to interact with the Mux API.

You are a skilled TypeScript programmer writing code to interface with the service.
Define an async function named "run" that takes a single parameter of an initialized SDK client and it will be run.
For example:

```
async function run(client) {
  const asset = await client.video.assets.create({ inputs: [{ url: 'https://storage.googleapis.com/muxdemofiles/mux-video-intro.mp4' }], playback_policies: ['public'] });

  console.log(asset.id);
}
```

You will be returned anything that your function returns, plus the results of any console.log statements.
Do not add try-catch blocks for single API calls. The tool will handle errors for you.
Do not add comments unless necessary for generating better code.
Code will run in a container, and cannot interact with the network outside of the given SDK client.
Variables will not persist between calls, so make sure to return or log any data you might need later.
Remember that you are writing TypeScript code, so you need to be careful with your types.
Always type dynamic key-value stores explicitly as Record<string, YourValueType> instead of {}. Endpoint: https://mcp.mux.com
- search_docs - Search SDK documentation to find methods, parameters, and usage examples for interacting with the API. Use this before writing code when you need to discover the right approach. Endpoint: https://mcp.mux.com

## Resources
Not captured

## Prompts
Not captured

## Metadata
- Owner: com.mux
- Version: 12.8.0
- Runtime: Npm
- Transports: STDIO, HTTP
- License: Not captured
- Language: Not captured
- Stars: Not captured
- Updated: Sep 18, 2025
- Source: https://registry.modelcontextprotocol.io
