SSyncDev

MCP Media Player MCP Server

MCP server for controlling a media player via Home Assistant.

Local serverstdio

What is the MCP Media Player MCP Server?

MCP server for controlling a media player via Home Assistant.

What the server does

You could just watch one episode. Or you could automate the pause button and pretend you have self-control. MCP Media Player connects any Home Assistant media player (TV, projector, speaker, etc.) to the Cursor coding environment. Play media while your agent works; when it's done, so is your break.

  • Exposes play and pause controls for a media player as MCP tools
  • Integrates with Home Assistant's media player API
  • Provides Cursor rules for automating playback while the agent is working

Credentials and setup notes

  • Node.js 18 or higher (for native fetch and ES modules) - A running Home Assistant instance - A valid Home Assistant long-lived access token

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the MCP Media Player MCP Server

{
  "mcpServers": {
    "MediaPlayer": {
      "command": "node",
      "args": [
        "/absolute/path/to/your/media-player-mcp.js"
      ],
      "env": {
        "HA_URL": "http://your-ha-url:8123",
        "HA_TOKEN": "YOUR_HA_TOKEN",
        "ENTITY_ID": "media_player.your_media_player_entity"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Node.js 18 or higher (for native fetch and ES modules) - A running Home Assistant instance - A valid Home Assistant long-lived access token
VariableDescriptionRequired
HA_URLDeclared in the maintainer’s client configuration.Check documentation
HA_TOKENDeclared in the maintainer’s client configuration.Check documentation
ENTITY_IDDeclared in the maintainer’s client configuration.Check documentation

Frequently asked questions

MCP server for controlling a media player via Home Assistant. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.