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
FastMCP will support resource annotations (audience, priority, lastModified) via the @mcp.resource() decorator (see #1468). However, annotations are set once at decoration time and cannot be updated as the server runs.
This is problematic for lastModified especially. If you annotate a file resource, there's no easy way to keep the timestamp current as the file changes:
Hey @maxisbey huh, I didn't really think about this when implementing #1468, good catch!
Given that #1468 is approved, will it get merged first or does this issue become a blocking factor? (the only reason I ask is that I'm working on something that's depending on the functionality 🙂).
Hey @maxisbey huh, I didn't really think about this when implementing #1468, good catch!
Given that #1468 is approved, will it get merged first or does this issue become a blocking factor? (the only reason I ask is that I'm working on something that's depending on the functionality 🙂).
Sorry totally missed this comment!
Yea definitely wasn't a blocker. It's kind of trickier to solve and I felt it was a bit out of scope for the PR you had which added value as-is. Not super sure on this the best way to solve yet which is why I made the issue :)
Activity
fennb commentedon Oct 14, 2025
Hey @maxisbey huh, I didn't really think about this when implementing #1468, good catch!
Given that #1468 is approved, will it get merged first or does this issue become a blocking factor? (the only reason I ask is that I'm working on something that's depending on the functionality 🙂).
maxisbey commentedon Oct 15, 2025
Sorry totally missed this comment!
Yea definitely wasn't a blocker. It's kind of trickier to solve and I felt it was a bit out of scope for the PR you had which added value as-is. Not super sure on this the best way to solve yet which is why I made the issue :)