fastmcp.utilities.mime
MIME type constants and helpers for MCP Apps UI resources.
This module has no dependencies on the server or resource packages,
so it can be safely imported from anywhere.
Functions
resolve_ui_mime_type
ui:// scheme resources, defaults to UI_MIME_TYPE when no
explicit MIME type is provided.
Args:
uri: The resource URI stringexplicit_mime_type: The MIME type explicitly provided by the user
- The resolved MIME type (explicit value, UI default, or None)

