You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mcp(fix[hierarchy]): Use ResourceError instead of ValueError
why: Resource handlers raised `ValueError` for not-found conditions,
while tool modules consistently use `ToolError` from fastmcp. FastMCP
provides `ResourceError` specifically for resource operation errors.
Using `ValueError` produces inconsistent error presentation to MCP
clients since it's not a `FastMCPError` subclass.
what:
- Import and use `fastmcp.exceptions.ResourceError` for all not-found
conditions in resource handlers
0 commit comments