emby-mcp
Provides an MCP interface to an Emby server, letting an assistant search and browse films, series, libraries, and users; inspect tags, genres, studios, recent items, and continue watching; manage tags, metadata, collections, and playlists; update watched state; and query server activity and scheduled tasks through Emby's REST API.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
emby-mcp
Your film library, finally in order.
An open-source Model Context Protocol server for Emby, the personal media server. It lets Claude and other AI assistants search your films and series, see what's new, unwatched or playing now, and, if you allow it, tag films in bulk, build collections and playlists, fix metadata and mark things watched, all from one small Docker container.
Quick start · Documentation · Tool reference · Contributing
emby-mcp is an independent community project. It isn't made, endorsed or supported by Emby LLC. It uses Emby's documented REST API with an API key you create on your own server.
"Tag every Christmas film in the library Christmas." I found 23 films that fit, from Elf to The Holiday. Four already have the tag. Here's the list: shall I tag the other 19? "Yes, and lock the tags so a refresh doesn't undo them." Done: 19 films are tagged Christmas, with the Tags field locked on each. Do you want a Christmas collection as well?
Ask about your library in plain English. The assistant picks from 34 tools to look things up and, if you allow it, make changes. Some examples:
🎬 "What's unwatched and under two hours?"
🏷️ "Tag every heist film Heist."
📚 "Make a collection of every Christopher Nolan film."
📝 "Which films have no plot summary?"
📺 "What's playing in the living room?"
🍿 "We've got the kids tonight. Pick something for a nine-year-old."
Highlights
🐳 Docker-first and tiny. One image (
ghcr.io/mattoddie/emby-mcp) forlinux/amd64andlinux/arm64, about 21 MB. It's a single static Go binary on a distroless base, with no shell or package manager, running as a non-root user. It keeps no state, so it needs no volume. It serves Streamable HTTP for a long-running service, or stdio fordocker run -i. For Claude Desktop there's also a one-click extension bundle (.mcpb) that needs no Docker, and each release has plain binaries for macOS, Linux and Windows onamd64andarm64.🛡️ Safe by default. The server is read-only unless you turn on writes, and deleting collections and playlists is a second switch on top. The delete tools never touch media files. Tools that aren't allowed aren't registered at all, a "replace all" metadata refresh needs an explicit confirmation, and every tool that changes something can show you the change first with a dry run.
🏷️ Made for curation. Tag hundreds of films in one call, find what's still untagged, rename or merge tags, build collections and playlists, and lock fields so a metadata refresh doesn't undo your work.
🏠 Private. It talks only to your own Emby server, with an API key you create in the Emby dashboard. No cloud service or extra account is involved.
🎛️ Tunable. Expose only the toolsets you need, or deny single tools, which keeps the model's context small and focused.
🧪 Tested. The test suite runs every tool against an in-memory mock Emby, and the server has been tried against a real Emby Server 4.10.
Related MCP server: Plex-MCP
Quick start
Using Claude Desktop? Skip Docker: download the extension bundle (.mcpb) for your computer from the latest release, open it to install, and fill in your Emby server's address and an API key. See Claude Desktop.
emby-mcp is listed in the MCP Registry as io.github.mattoddie/emby-mcp, so clients that browse the registry can install it (the Docker image in stdio mode, or the bundle). See From the MCP Registry.
Otherwise, you need Docker, an Emby server you're an administrator of, and an MCP client such as Claude Code.
1. Create an API key. In the Emby dashboard, open Advanced → API Keys (Settings → API Keys in newer versions) and press New API Key.
2. Set up and start the server.
mkdir emby-mcp && cd emby-mcp
curl -fsSLO https://raw.githubusercontent.com/mattoddie/emby-mcp/main/compose.yaml
curl -fsSL https://raw.githubusercontent.com/mattoddie/emby-mcp/main/example.env -o .env
# Edit .env: set EMBY_URL (such as http://emby.lan:8096), EMBY_API_KEY,
# and a random MCP_AUTH_TOKEN (e.g. `openssl rand -hex 32`)
docker compose run --rm emby-mcp check # tests the address and the key
docker compose up -d3. Connect your assistant.
claude mcp add --transport http emby http://<docker-host>:8080/mcp \
--header "Authorization: Bearer <MCP_AUTH_TOKEN>"Now ask "What's in my Emby library?" in Claude Code.
Using Claude Desktop, VS Code, Cursor or Codex? See Connecting MCP clients. Prefer not to run a service? Use stdio mode with docker run -i, or a release binary without Docker. On macOS or Linux: brew install mattoddie/tap/emby-mcp.
Turning on changes
Out of the box the assistant can look but not touch. To let it tag, edit metadata, build collections and playlists and mark things watched, add this to .env and restart:
EMBY_ALLOW_WRITES=true
EMBY_TOOLSETS=library,metadata,collections # optional: expose fewer toolsdocker compose up -dThe API key acts with administrator rights, and everyone in the household sees the changes, so read Security before turning on writes. To keep a record of every change the assistant makes, set EMBY_AUDIT_LOG (see Audit log).
What it can do
Toolset | What's covered |
| The server and its libraries, search with rich filters (genre, tag or untagged, year, rating, person, studio, watched, missing metadata), item details, the tags, genres and studios in use, similar items, recently added and continue watching |
| Add and remove tags on up to 500 items at once, rename or merge tags, edit metadata fields and their locks, and refresh metadata from the internet |
| Collections (Emby box sets): list, view, create, add to, remove from and delete |
| Playlists: list, view, create, add to, remove from and delete |
| The users, and each user's watched state and favourites |
| What's playing now, the activity log, scheduled tasks and library scans |
| An escape hatch that calls any path of Emby's REST API. Off unless you list it ( |
See the tool reference for every tool and argument. Ready-made prompts like library_report, tag_library and movie_night chain the tools together for common jobs.
Documentation
The docs are also published at emby-mcp.mattoddie.dev/docs, with search.
Step-by-step setup, from the API key to your first question | |
Claude Code, Claude Desktop, VS Code, Cursor, Codex, stdio mode | |
Every environment variable, https and certificates, Docker secrets, toolsets | |
Compose, image tags, upgrades, TLS reverse proxy, hardening, running without Docker | |
Example requests, curating with tags and collections, prompts, dry runs | |
Every tool and prompt, generated from the code | |
🛡️ Security | Threat model, what the API key can do, safe write setups |
Supported Emby versions, the API it uses, Jellyfin | |
Connection and API key problems, common errors and how to fix them | |
🛠️ Development | Architecture, the mock Emby, adding a tool, testing |
Contributing
Contributions are very welcome, whether that's bug reports, notes on how Emby's API behaves, docs or new tools. Read the contributing guide to get started, and please follow the code of conduct. To report a vulnerability, see the security policy. Please don't open a public issue for one.
License
MIT © Matt Oddie
emby-mcp is an independent community project. It is not affiliated with, endorsed by or sponsored by Emby LLC. "Emby" is a trademark of Emby LLC.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
The media memory layer for AI agents and their humans. Your AI client can search your collection, add and log what you've finished, update ratings and lists, and find patterns across everything you've read, watched, played, and listened to.
Lets Claude, ChatGPT, and Muse read and update your beckett tasks, notes, calendar, and lists.
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
- platform7nDeprecatedtech.p7n
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceConnects an Emby media server to AI clients like Claude Desktop, enabling natural language control of media playback, library browsing, playlist management, and search across your personal media collection.10GPL 3.0
- FlicenseNot gradedqualityDmaintenanceEnables full management of a Plex Media Server via Claude, including browsing libraries, fixing metadata, managing collections, and more.-
- AlicenseAqualityCmaintenanceEnables AI agents to interact with a Jellyfin media server, allowing them to search the library, fetch item details, list active playback sessions, and retrieve next-up episodes.5MIT
- AlicenseBqualityBmaintenanceEnables running Plex from Claude.ai and Claude Code by exposing all 405 operations as tools, covering both your media server and plex.tv cloud services with automatic routing to the appropriate host.28MIT