Skip to content

Add waitUntilComplete() method to Server #26

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 2 commits into from
Mar 29, 2025

Conversation

adamwulf
Copy link
Contributor

Adding a small helper method to wait until the serve completes. This is handy when integrating the mcp server into a command line utility.

@mattt
Copy link
Contributor

mattt commented Mar 27, 2025

Great idea, @adamwulf. Thank you for opening this PR.

Left a question about the spelling, but I'm totally on board with this enhancement.

@adamwulf
Copy link
Contributor Author

I don't see a spelling feedback/question?

@mattt
Copy link
Contributor

mattt commented Mar 27, 2025

@adamwulf 😓 d'oh. Sorry, I'd left that as Screenshot 2025-03-27 at 10 41 28

Should be there now.

Co-authored-by: Mattt <mattt@me.com>
@adamwulf
Copy link
Contributor Author

ah - good catch, matching Metal is a good way to go

@mattt mattt merged commit 97b756c into modelcontextprotocol:main Mar 29, 2025
1 check passed
devyhan pushed a commit to devyhan/swift-sdk that referenced this pull request Apr 4, 2025
* Add waitUntilComplete() method to Server

* Update Sources/MCP/Server/Server.swift

Co-authored-by: Mattt <mattt@me.com>

---------

Co-authored-by: Mattt <mattt@me.com>
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.

2 participants