mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-26 15:34:18 +02:00
* feat: make ResourceContent the canonical internal type for resources Add Resource._read() private method that always returns ResourceContent, maintaining backwards compatibility for custom resources returning str/bytes from read(). Includes deprecation warning when str/bytes is returned. * fix: address review feedback for ResourceContent - Remove ResourceContent from root exports (import from fastmcp.resources) - Fix FunctionResource.read() return type to str | bytes | ResourceContent - Decode base64 blobs in proxy when receiving from remote servers - Preserve meta in ProxyResource cached content * fix: add empty result guards in proxy resource reads |
||
|---|---|---|
| .. | ||
| auth | ||
| composition.mdx | ||
| context.mdx | ||
| elicitation.mdx | ||
| icons.mdx | ||
| logging.mdx | ||
| middleware.mdx | ||
| progress.mdx | ||
| prompts.mdx | ||
| proxy.mdx | ||
| resources.mdx | ||
| sampling.mdx | ||
| server.mdx | ||
| storage-backends.mdx | ||
| tasks.mdx | ||
| tools.mdx | ||