Skip to content

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.

@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 <[email protected]>

---------

Co-authored-by: Mattt <[email protected]>
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