MCP server
Mpv MCP Server
Control mpv media player — playback, playlists, YouTube streaming, and downloads.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.2.0
- Listing updated
- 5 days ago
About Mpv MCP Server
Mpv MCP Server is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add mpv-mcp-server -- npx -y mpv-mcp-serverAdd to claude_desktop_config.json
{
"mcpServers": {
"mpv-mcp-server": {
"command": "npx",
"args": [
"-y",
"mpv-mcp-server"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mpv-mcp-server": {
"command": "npx",
"args": [
"-y",
"mpv-mcp-server"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"mpv-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mpv-mcp-server"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mpv-mcp-server": {
"command": "npx",
"args": [
"-y",
"mpv-mcp-server"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mpv-mcp-server": {
"command": "npx",
"args": [
"-y",
"mpv-mcp-server"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
MPV_PATHPath to mpv executable (default: mpv from PATH)MPV_IPC_PATHIPC socket path (default: named pipe on Windows, Unix socket on macOS/Linux)MPV_MEDIA_DIRSComma-separated media directories to scan (default: ~/Music,~/Videos)MPV_DOWNLOAD_DIRDownload directory for YouTube downloads (default: ~/Downloads)
Pricing
Open source
Mpv MCP Server FAQ
Is Mpv MCP Server free?
Yes. Mpv MCP Server is open source, so you can use and self-host it for free.
How do I add Mpv MCP Server to Claude Code?
Run this command in your terminal: claude mcp add mpv-mcp-server -- npx -y mpv-mcp-server
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.