Fix FastMCP initialization - remove unsupported description parameter
This commit is contained in:
@@ -4,14 +4,7 @@ from .cache import delete_cached, get_cached, list_cached, save_cache
|
|||||||
from .fetcher import fetch_character
|
from .fetcher import fetch_character
|
||||||
from .models import CharacterData
|
from .models import CharacterData
|
||||||
|
|
||||||
mcp = FastMCP(
|
mcp = FastMCP("character-details")
|
||||||
"character-details",
|
|
||||||
description=(
|
|
||||||
"Gather detailed information on fictional characters for storytelling "
|
|
||||||
"and image generation. Fetches from Fandom wikis and Wikipedia, "
|
|
||||||
"caches results locally for 24 hours."
|
|
||||||
),
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user