MCP Media Player

by danielsims

Not rated
GitHub

About

Control a media player via Home Assistant.

Details

Author
danielsims
Categories
Other, Media

Setup

Install MCP Media Player in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/danielsims/mcp-media-player

Follow the installation instructions in the repository README, then restart your MCP client.

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.

Dopamine-driven development, minus the binge-watching.

- 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

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

Copymcp.json.exampleto your MCP config location (e.g.,~/.cursor/mcp.json) and fill in your real values:

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

To automate the play/pause while the agent is working, copy the rules incursor-rules.exampleinto your Cursor rules configuration. This configures a system prompt rule that ensures the play/pause tools are called at the appropriate times.

Or, let your MCP client launch it automatically.

MCP server for Google Cast — discover devices, play media, control volume, launch apps, and manage queues over stdio

A free, private, and secure remote MCP server for Home Assistant.

A 3D Printing MCP server that allows for querying for live state, webcam snapshots, and 3D printer control.

A safe-by-default MCP server that exposes your Control4 home automation (lights, scenes, locks, thermostats, and media) as structured tools over HTTP and Claude Desktop STDIO for reliable AI-powered control on your local network.

Control and query the status of Ecovacs cleaning robots using the MCP protocol.

Control AVM FRITZ!Box routers - manage devices, WiFi, network settings, parental controls, and schedule time-delayed actions

Allows an LLM agent to control your Gaggimate espresso machine

An MCP server for the Gaggiuino open-source espresso machine, providing real-time local network access to machine status and shot data.

A Model Context Protocol (MCP) server that provides AI assistants with access to Home Assistant, enabling smart home control and automation management.

Read-only MCP (Model Context Protocol) server for Home Assistant. Gives AI assistants (Claude Desktop, LibreChat, Cline) full observability into your smart home — entity states, automations, scripts, devices, logs, diagnostics — without any write access. Also generates static AI context snapshots for RAG systems, ChatGPT Projects, Qwen, and other tools that accept custom knowledge files. Built in Python, runs anywhere — locally, in Docker, or as an MCP integration.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.