Skip to content

Conversation

@soyuka
Copy link
Contributor

@soyuka soyuka commented Dec 8, 2025

Use iterable as we did in addRequestHandlers and others.

This helps with framework integration and unifies code source.

@chr-hertel chr-hertel changed the title align addLoaders with addRequestHandlers [Server] align addLoaders with addRequestHandlers Dec 8, 2025
@chr-hertel chr-hertel added Server Issues & PRs related to the Server component BC Break Breaking the Backwards Compatibility Promise labels Dec 8, 2025
Copy link
Member

@chr-hertel chr-hertel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense, thank you!

Copy link
Member

@chr-hertel chr-hertel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, forgot that we try to play by the book now - can you please add this to the changelog of 0.2?

@soyuka
Copy link
Contributor Author

soyuka commented Dec 9, 2025

Done @chr-hertel pending I'll change the mcp-bundle once this is merged (as we can use tagged_iterator instead of the compiler pass)

Copy link
Member

@chr-hertel chr-hertel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again!

@chr-hertel chr-hertel merged commit 3699323 into modelcontextprotocol:main Dec 9, 2025
12 checks passed
chr-hertel added a commit to symfony/ai that referenced this pull request Dec 10, 2025
…dlers (soyuka)

This PR was merged into the main branch.

Discussion
----------

[MCP Bundle] autoconfigure request and notification handlers

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| Docs?         | no
| Issues        | na
| License       | MIT

related to modelcontextprotocol/php-sdk#183

Commits
-------

e0e849f [MCP Bundle] autoconfigure request and notification handlers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BC Break Breaking the Backwards Compatibility Promise Server Issues & PRs related to the Server component

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants