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
fix: remove MIME type validation from MCPServer Resource
The regex pattern on Resource.mime_type was the only MIME type validation
anywhere in the MCP ecosystem. It rejected valid RFC 2045 MIME types such
as quoted parameter values (text/plain; charset="utf-8") and was
inconsistent with ResourceTemplate in the same module, the protocol-level
types in _types.py, and every other SDK.
The MCP spec defines mimeType as an unconstrained optional string.
Github-Issue: #1756
0 commit comments