Initial commit: Plex MCP server with 6 tools and API passthrough
All checks were successful
Build and Push Plex MCP Docker Image / build (push) Successful in 35s

- get_libraries: List all library sections
- search_library: Search for media by title
- get_metadata: Get detailed item info by rating key
- get_recently_added: Get recently added content
- refresh_library: Trigger library scan
- plex_api_call: Raw API passthrough for any endpoint
- search_api_docs: Search OpenAPI spec for endpoint documentation

Includes Docker support and Gitea Actions workflow for container builds.
This commit is contained in:
Ben
2025-12-28 05:26:43 +00:00
commit 25f2658dcb
11 changed files with 34153 additions and 0 deletions

21
docker-compose.yml Normal file
View File

@@ -0,0 +1,21 @@
services:
plex-mcp:
build: .
container_name: plex-mcp
restart: unless-stopped
ports:
- "${PORT:-8000}:8000"
environment:
- PLEX_URL=${PLEX_URL}
- PLEX_TOKEN=${PLEX_TOKEN}
- PLEX_CLIENT_ID=${PLEX_CLIENT_ID:-plex-mcp-server}
- LOG_LEVEL=${LOG_LEVEL:-INFO}
- PORT=8000
env_file:
- .env
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s