Initial commit: Plex MCP server with 6 tools and API passthrough
Some checks failed
Build and Push Docker Image / build (push) Failing after 0s

- 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 9931bdf2e4
11 changed files with 34120 additions and 0 deletions

20
docker-compose.yml Normal file
View File

@@ -0,0 +1,20 @@
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