VT

vladimir-tutin/plex-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

159 stars 32 forks 품질 84 트렌드 15MIT

vladimir-tutin/plex-mcp-server는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요

vladimir-tutin/plex-mcp-server는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요(AI 번역)

Plex 라이브러리, 미디어, 그리고 Claude, ChatGPT 및 기타 MCP 클라이언트의 재생을 관리하는 MCP 서버입니다.

특징

  • JSON 응답: Plex 작업을 위한 구조화된 결과.
  • 다중 전송: stdio, SSE(서버 전송 이벤트), 스트리밍 가능한 HTTP를 지원합니다.
  • 종합 통제: 라이브러리, 미디어, 컬렉션, 플레이리스트, 클라이언트, 사용자 관리를 합니다.
  • Remote Ready: Claude.ai 와 같은 원격 AI 플랫폼과의 통합을 위한 내장 OAuth 2.1 지원.
  • 관리자 도구: 로그 접근, 대역폭 모니터링, 버틀러 작업 실행.

설치

옵션 1: UV 사용 (권장)

설치 없이 직접 실행:

옵션 2: pip 설치

옵션 3: 개발 / 출처

옵션 4: 도커

공개된 이미지는 리눅스용 ghcr.io/vladimir-tutin/plex-mcp-server:latest입니다 amd64와 arm64. 이 서버는 비루트 사용자로 실행되며 [[T2]에서 Streamable HTTP를 제공합니다. 그리고 /sse에 레거시 SSE를 사용합니다. 미디어 폴더를 마운트할 필요가 없습니다: Plex의 API를 사용합니다.

아래 Docker 설정을 따라 하시면 다음을 참고하세요 Claude.ai 나 ChatGPT와 같은 호스팅 클라이언트에 대한 공개 HTTPS 접근.

도커 컴포즈

시작하기 전에 .env를 수정하세요. 예를 들어, 신뢰할 수 있는 LAN 배포의 경우:

'192.168’을 교체하세요.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Plex MCP Server

An MCP server for managing Plex libraries, media, and playback from Claude, ChatGPT, and other MCP clients.

Features

  • JSON responses: Structured results for Plex operations.
  • Multiple Transports: Supports stdio, SSE (Server-Sent Events), and Streamable HTTP.
  • Comprehensive Control: Manage libraries, media, collections, playlists, clients, and users.
  • Remote Ready: Built-in OAuth 2.1 support for integration with remote AI platforms like Claude.ai.
  • Admin Tools: Access logs, monitor bandwidth, and run Butler tasks.

Installation

Run directly without installation:

uvx plex-mcp-server --transport stdio --plex-url http://your-server:32400 --plex-token your-token

Option 2: Install via pip

pip install plex-mcp-server

Option 3: Development / Source

git clone https://github.com/vladimir-tutin/plex-mcp-server.git
cd plex-mcp-server
pip install -e .

Option 4: Docker

The published image is ghcr.io/vladimir-tutin/plex-mcp-server:latest for Linux amd64 and arm64. It runs as a non-root user and serves Streamable HTTP at /mcp and legacy SSE at /sse. No media folders need to be mounted: it uses Plex’s API.

Follow the Docker setup below, then see Public HTTPS access for hosted clients such as Claude.ai or ChatGPT.

Docker Compose

git clone https://github.com/vladimir-tutin/plex-mcp-server.git
cd plex-mcp-server
cp .env.docker.example .env

Edit .env before starting. For a trusted LAN deployment, for example:

PLEX_URL=http://192.168.1.10:32400
PLEX_TOKEN=your-plex-token
MCP_BIND_ADDRESS=192.168.1.20
MCP_PUBLISHED_PORT=3001
MCP_SERVER_URL=http://192.168.1.20:3001
MCP_OAUTH_ENABLED=false

Replace 192.168.1.10 with the Plex address and 192.168.1.20 with the Docker host’s address. Without OAuth, anyone who can reach this port can use the tools. The supplied example file defaults to loopback (127.0.0.1) instead, for access from the Docker host only. Keep .env private.

docker compose pull
docker compose up -d --no-build
docker compose logs -f

The LAN example’s client URL is http://192.168.1.20:3001/mcp. Hosted clients need a reachable HTTPS endpoint; follow Public HTTPS access.

Other Docker deployments

Use ghcr.io/vladimir-tutin/plex-mcp-server:latest, publish container port 3001 (TCP), and set these environment variables:

Key Example value
PLEX_URL http://192.168.1.10:32400
PLEX_TOKEN your-plex-token
MCP_SERVER_URL http://192.168.1.20:3001
MCP_TRANSPORT streamable-http (default; serves both /mcp and /sse)

Use your Docker host’s address and published port in MCP_SERVER_URL. MCP_BIND_ADDRESS and MCP_PUBLISHED_PORT only configure this repository’s Compose file; for other deployments, set the port mapping directly.

Public HTTPS access

GitHub에서 전체 README 보기

설치

uvx plex-mcp-server --transport stdio --plex-url http://your-server:32400 --plex-token your-token
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

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