Drop dependencies parameter from FastMCP (#1877)

This commit is contained in:
Marcelo Trylesinski 2026-01-16 09:59:44 +01:00 • committed by GitHub
commit 2ce41a8347
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 53 deletions

View file

@ -37,15 +37,7 @@ DEFAULT_EMBEDDING_MODEL = "text-embedding-3-small"
T = TypeVar("T")
mcp = FastMCP(
"memory",
dependencies=[
"pydantic-ai-slim[openai]",
"asyncpg",
"numpy",
"pgvector",
],
)
mcp = FastMCP("memory")
DB_DSN = "postgresql://postgres:postgres@localhost:54320/memory_db"
# reset memory with rm ~/.fastmcp/{USER}/memory/*

View file

@ -10,7 +10,7 @@ from mcp.server.fastmcp import FastMCP
from mcp.server.fastmcp.utilities.types import Image
# Create server
mcp = FastMCP("Screenshot Demo", dependencies=["pyautogui", "Pillow"])
mcp = FastMCP("Screenshot Demo")
@mcp.tool()