Mpv MCP Server
by arijit-gogoiio.github.arijit-gogoi/mpv-mcp-serverv1.2.0
Control mpv media player — playback, playlists, YouTube streaming, and downloads.
context tax
queued
security
queued
cold start
queued
freshness
Slowing6mo ago
Install Mpv MCP server
Install in Claude Code
claude mcp add mpv -- npx -y mpv-mcp-serverInstall in Cursor
{
"mcpServers": {
"mpv": {
"command": "npx",
"args": [
"-y",
"mpv-mcp-server"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"mpv": {
"command": "npx",
"args": [
"-y",
"mpv-mcp-server"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"mpv": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mpv-mcp-server"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"mpv": {
"command": "npx",
"args": [
"-y",
"mpv-mcp-server"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| MPV_PATH | — | — | Path to mpv executable (default: mpv from PATH) |
| MPV_IPC_PATH | — | — | IPC socket path (default: named pipe on Windows, Unix socket on macOS/Linux) |
| MPV_MEDIA_DIRS | — | — | Comma-separated media directories to scan (default: ~/Music,~/Videos) |
| MPV_DOWNLOAD_DIR | — | — | Download directory for YouTube downloads (default: ~/Downloads) |
Freshness
Slowing — last maintenance signal 6mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-04-12 · 6mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-04-12 · 6mo ago · official registry · v1.2.0
FAQ
›How do I install the Mpv MCP server in Claude Code?
Run: claude mcp add mpv -- npx -y mpv-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Mpv require an API key?
No required environment variables are declared in its published metadata.
›Can I use Mpv as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Mpv in the official MCP registry?
Yes, as io.github.arijit-gogoi/mpv-mcp-server.
Alternatives to Mpv
Other images, video & audio MCP servers.