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
This change adds icons metadata support to ResourceTemplate, bringing
it in line with Resource, Tool, and Prompt types. The MCP specification
was updated to include icons for ResourceTemplate, and this implements
that feature in the Python SDK.
Changes:
- Add icons field to ResourceTemplate type definition
- Update ResourceTemplate class to store and pass icons
- Update resource_manager to accept icons parameter
- Update FastMCP server to expose icons in list_resource_templates
- Add test coverage for resource template icons
All primitives (tools, resources, prompts, resource templates) now
consistently support icons metadata.
0 commit comments