Plex MCP Server
by vladimir-tutin
Plex MCP Server provides a standardized JSON-based interface for interacting with Plex Media Server, enabling automation, scripting, and integration with other tools. It acts as a unified API layer on top of the Plex Media Server API.
Last updated: N/A
What is Plex MCP Server?
Plex MCP Server is a Model-Controller-Protocol server that creates a unified API layer on top of the Plex Media Server API. It offers standardized JSON responses and multiple transport methods for flexible integration with automation tools, AI systems, and other integrations.
How to use Plex MCP Server?
To use Plex MCP Server, first clone the repository and install the required dependencies. Then, configure the server with your Plex server URL and token in the .env
file. Finally, run the server in either stdio or SSE transport mode, depending on your integration needs, using the provided command-line instructions.
Key features of Plex MCP Server
Standardized JSON responses
Multiple transport methods (stdio and SSE)
Rich command set for managing libraries, collections, playlists, media, users, and more
Error handling with consistent response formats
Use cases of Plex MCP Server
Automating Plex library management
Integrating Plex with home automation systems
Building custom Plex clients and interfaces
Using AI systems to interact with Plex
FAQ from Plex MCP Server
What are the requirements for running Plex MCP Server?
What are the requirements for running Plex MCP Server?
You need Python 3.8+, a Plex Media Server with a valid authentication token, and access to the Plex server (locally or remotely).
How do I install Plex MCP Server?
How do I install Plex MCP Server?
Clone the repository, install the dependencies using pip install -r requirements.txt
, and configure the .env
file with your Plex server URL and token.
What are the available transport modes?
What are the available transport modes?
The server supports stdio (Standard Input/Output) and SSE (Server-Sent Events) transport modes.
How do I run the server with stdio transport?
How do I run the server with stdio transport?
Use the command python3 -m plex_mcp
or python3 plex_mcp_server.py --transport stdio
.
How do I run the server with SSE transport?
How do I run the server with SSE transport?
Use the command python3 plex_mcp_server.py --transport sse --host 0.0.0.0 --port 3001
.