Files
plex-mcp/docker-compose.yml
Ben 9931bdf2e4
Some checks failed
Build and Push Docker Image / build (push) Failing after 0s
Initial commit: Plex MCP server with 6 tools and API passthrough
- 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.
2025-12-28 05:26:43 +00:00

21 lines
525 B
YAML

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}
- PORT=8000
env_file:
- .env
healthcheck:
test: ["CMD", "python", "-c", "import httpx; httpx.get('http://localhost:8000/health').raise_for_status()"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s