media
Mux MCP Gateway for AI Agents
Expose Mux tools to Claude Code, Cursor, Codex, and other MCP clients through the local KosmoKrator MCP gateway.
7 functions 5 read 2 write Bearer token auth
Mux MCP Gateway
Expose Mux to MCP clients with `kosmokrator mcp:serve --integration=mux`.
If the client has never used KosmoKrator before, install it first, then register this integration as a stdio MCP server. The gateway exposes only the selected integration in the example below.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash kosmokrator mcp:gateway:install --integration=mux --write=deny --json {
"mcpServers": {
"kosmokrator-mux": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=mux",
"--write=deny"
]
}
}
} Serve Manually
kosmokrator mcp:serve --integration=mux --write=deny MCP Tool Names
KosmoKrator exposes integration tools through the gateway with stable names:
| MCP tool | Source function | Type |
|---|---|---|
integration__mux__mux_list_assets | mux.mux_list_assets | Read read |
integration__mux__mux_get_asset | mux.mux_get_asset | Read read |
integration__mux__mux_create_asset | mux.mux_create_asset | Write write |
integration__mux__mux_list_live_streams | mux.mux_list_live_streams | Read read |
integration__mux__mux_get_live_stream | mux.mux_get_live_stream | Read read |
integration__mux__mux_create_live_stream | mux.mux_create_live_stream | Write write |
integration__mux__mux_get_current_user | mux.mux_get_current_user | Read read |
Write Access
Start with --write=deny for read-only MCP clients. Use --write=ask or
--write=allow only when the client and workspace are trusted.