MCP.so
登录

Plex MCP Server

@vladimir-tutin

基本信息

分类

其他

传输方式

stdio

作者

vladimir-tutin

关于 Plex MCP Server

MCP Server for Plex to allow LLMs to converse with Plex.

Plex MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "plex-mcp-server": {
      "command": "uvx",
      "args": [
        "plex-mcp-server",
        "--transport",
        "stdio",
        "--plex-url",
        "http://your-server:32400",
        "--plex-token",
        "your-token"
      ]
    }
  }
}

Plex MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Plex MCP Server?

Plex MCP Server is a Model Context Protocol (MCP) server for interacting with Plex Media Server. It provides a standardized JSON-based interface for automation, AI agents (like Claude), and custom integrations.

How to use Plex MCP Server?

Install via uvx plex-mcp-server (recommended), pip install plex-mcp-server, or from source. Configure with --plex-url and --plex-token command-line arguments, environment variables (e.g., PLEX_URL, PLEX_TOKEN), or an MCP client config file. Then invoke any of the available tools from your MCP client (e.g., Claude Desktop) to manage libraries, media, collections, playlists, clients, users, sessions, and server administration.

Key features of Plex MCP Server

  • Standardized API with unified JSON responses for all operations.
  • Supports both stdio and SSE (Server‑Sent Events) transports.
  • Comprehensive control over libraries, media, collections, playlists, clients, and users.
  • Built‑in OAuth 2.1 support for remote integration with platforms like Claude.ai.
  • Admin tools: access logs, monitor bandwidth, run Butler tasks.

Use cases of Plex MCP Server

  • Search, edit metadata, and manage media items across all libraries.
  • Create, modify, and share playlists and collections.
  • Monitor active sessions and client playback in real time.
  • Automate server maintenance tasks (empty trash, optimize database, clean bundles).
  • Remotely control Plex clients and integrate with AI agents via MCP.

常见问题

1

What transports does Plex MCP Server support?

It supports both `stdio` (for local integration) and `SSE` (Server‑Sent Events, for remote access).

2

How do I enable OAuth for remote access?

Set `MCP_OAUTH_ENABLED=true` in your environment, configure `MCP_OAUTH_ISSUER` and `MCP_SERVER_URL`, then provide the OAuth Client ID and Secret to your client (e.g., Claude.ai).

3

What configuration is required to connect to my Plex server?

You must provide your Plex server URL and authentication token, either via the `--plex-url` and `--plex-token` command‑line arguments or the `PLEX_URL` and `PLEX_TOKEN` environment variables.

4

How are errors and multiple matches reported?

All tools return JSON. Success includes `"status": "success"` with `data`. Errors return `"status": "error"` with a `message`. When multiple items share a name, a list of specific identifiers is returned.

5

What should I do if I get a 401 Unauthorized error with OAuth?

Ensure your `MCP_OAUTH_ISSUER` exactly matches the issuer URL from your identity provider, including any trailing slash. Also verify that `MCP_SERVER_URL` is publicly reachable (HTTPS).

评论

其他 分类下的更多 MCP 服务器