fix: use 'instructions' instead of 'description' in FastMCP init
All checks were successful
Build and Push Plex MCP Docker Image / build (push) Successful in 8s

The FastMCP constructor doesn't accept a 'description' parameter.
Changed to use 'instructions' parameter and switched to keyword arguments
for clarity.
This commit is contained in:
Ben
2025-12-28 20:34:46 +00:00
parent 25f2658dcb
commit 5782ca3ea3

View File

@@ -149,8 +149,8 @@ class PlexClient:
# Initialize client and MCP server # Initialize client and MCP server
plex_client = PlexClient(PLEX_URL, PLEX_TOKEN, PLEX_CLIENT_ID) plex_client = PlexClient(PLEX_URL, PLEX_TOKEN, PLEX_CLIENT_ID)
mcp = FastMCP( mcp = FastMCP(
"Plex MCP Server", name="Plex MCP Server",
description="MCP server for interacting with Plex Media Server", instructions="MCP server for interacting with Plex Media Server",
) )