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
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:
@@ -149,8 +149,8 @@ class PlexClient:
|
||||
# Initialize client and MCP server
|
||||
plex_client = PlexClient(PLEX_URL, PLEX_TOKEN, PLEX_CLIENT_ID)
|
||||
mcp = FastMCP(
|
||||
"Plex MCP Server",
|
||||
description="MCP server for interacting with Plex Media Server",
|
||||
name="Plex MCP Server",
|
||||
instructions="MCP server for interacting with Plex Media Server",
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user