Skip to content

Add server initialization hook #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 18, 2025
Merged

Add server initialization hook #19

merged 1 commit into from
Mar 18, 2025

Conversation

mattt
Copy link
Contributor

@mattt mattt commented Mar 17, 2025

Not super happy with this design, but I need some way to customize server behavior on initialize (in the case of iMCP, the option to reject incoming connections loopwork-ai/iMCP#35). And short of a more significant overhaul of how Server works, this is the most reasonable option I could come up with.

@mattt mattt marked this pull request as ready for review March 18, 2025 16:47
@mattt mattt merged commit 2510dda into main Mar 18, 2025
1 check passed
@mattt mattt deleted the mattt/server-initialize-hook branch March 18, 2025 16:47
devyhan pushed a commit to devyhan/swift-sdk that referenced this pull request Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant