Skip to content

Conversation

@daamitt
Copy link
Contributor

@daamitt daamitt commented Oct 16, 2025

Add support for specifying NotificationOptions in FastMCP and lowlevel Server creation

Motivation and Context

Currently there is no straightforward way to specify FastMCP server notification capabilities. Some clients do not respect notifications if server does not disclose support in the initliazation phase. eg: "notifications/resources/list_changed"

How Has This Been Tested?

uv run pytest:
Results (18.39s):
653 passed
2 skipped
1 xfailed

Breaking Changes

No

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • [ *] New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • [x ] I have read the MCP Documentation
  • [ x] My code follows the repository's style guidelines
  • [ x] New and existing tests pass locally
  • [ x] I have added appropriate error handling
  • [ x] I have added or updated documentation as needed

Additional context

Have updated notification snippet and snippet readme

uv run server notifications streamable-http  

@maxisbey maxisbey self-assigned this Oct 16, 2025
@daamitt
Copy link
Contributor Author

daamitt commented Oct 29, 2025

#1492 is adding the same feature and showing the need for this. @maxisbey

@daamitt
Copy link
Contributor Author

daamitt commented Nov 7, 2025

Hello @maxisbey , please let me know how to proceed with this feature PR. Thanks

@felixweinberger felixweinberger added enhancement Request for a new feature that's not currently supported and removed enhancement deprecated labels Nov 12, 2025
@daamitt
Copy link
Contributor Author

daamitt commented Nov 16, 2025

@felixweinberger @maxisbey would really appreciate your thoughts on this. As of today (afaik) there is no clean way for FastMCP based servers to specify MCP capabilities like prompt / tools / resources listChanged notifications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Request for a new feature that's not currently supported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants