feat: upgrade fastmcp 2.12.3 to 3.0.1 with tool annotations (#598)

Signed-off-by: phernandez <paul@basicmachines.co>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Paul Hernandez
2026-02-21 12:28:30 -06:00
committed by GitHub
parent b86dd6fb53
commit 9515130b2a
53 changed files with 917 additions and 777 deletions
+4 -1
View File
@@ -148,7 +148,10 @@ def optimize_image(img, content_length, max_output_bytes=350000):
return buf.getvalue()
@mcp.tool(description="Read a file's raw content by path or permalink")
@mcp.tool(
description="Read a file's raw content by path or permalink",
annotations={"readOnlyHint": True, "openWorldHint": False},
)
async def read_content(
path: str,
project: Optional[str] = None,