Repository navigation
Conversation
yehorsobko-mac
force-pushed
the
v0.11.x
branch
from
February 17, 2026 18:49
88f30bc to
7fac800
Compare
* Support OpenAI _meta for Tool * Update init * Add title and outputSchema * Concurreny issue * General fields * Add Generate Fields to Server elements * 4 tab spacing * Update Version * Elicitation * Format * More tests and inits * Elicitation in README * Fix orphaned test * Add title to more structs * Public init * Fix meta validation and make tests more generic * Format and make Result properties public again * Revert more visibility changes
* chore: fixed unit tests * feat: added icon and progess base structs * feat: added progress notification and meta to callTool * feat: added tests * feat: simplified RequestMeta encoding/decoding * tests: added unit test to track progress * chore: rebased v0.11.x * feat: implemented cancellation * feat: added overloaded callTool method * fix: encoding Response _meta fix * chore: added old version to the versions list * feat: 2025-11-25 phase 2; added Logging and Completions (#196) * feat: added Logging and Completions * feat: updated EmbeddedResource for the latest spec * chore: changed encoding of meta in Prompts to encodeIfPresent * feat: compliance tests + http server transport (#197) * feat: http server transport * feat: added http server transport * feat: removed unused files * feat: added conformance tests * feat: improved conformace testing * chore: removed redundant files
* feat: Roots implementation * feat: added unit testing * feat: improved unit tests and fixed NetworkTransport crash * feat: implemented sampling and elicitation * feat: improved sampling tests * feat: improved elicitation tests * feat: improved confirmance tests * feat: improved Prompts unit tests * feat: removed test code * feat: updated conformance tests
yehorsobko-mac
force-pushed
the
v0.11.x
branch
from
February 18, 2026 11:34
7fac800 to
5d42a6d
Compare
This was
linked to
issues
Feb 19, 2026
Velly69
added a commit
to MacPaw/mcp-swift-sdk
that referenced
this pull request
Mar 2, 2026
* Enable building with the Swift Linux SDK (modelcontextprotocol#151) * Update README to document support for Alpine Linux (modelcontextprotocol#153) * Adopt strict concurrency for project (modelcontextprotocol#157) * Adopt strict concurrency for project * Fix one warning related to that * Add version-specific manifest for Swift 6.0 --------- Co-authored-by: Alexey Ivashko <[email protected]> Co-authored-by: Mattt Zmuda <[email protected]> * Make `Tool.description` optional (modelcontextprotocol#160) * Make Tool.description optional * Make description parameter in Tool initializer optional * fix: allow description field to be absent from `Tool` (modelcontextprotocol#159) * fix: allow description field to be absent from `Tool` * description field is not a requried field of Tool * Apply suggestions from code review * Update Tests/MCPTests/ToolTests.swift --------- Co-authored-by: Mattt <[email protected]> * Add Mac Catalyst to target dependencies for EventSource. (modelcontextprotocol#163) * chore: update licensing to Apache 2.0 for new contributions (modelcontextprotocol#177) * Add SECURITY.md with GitHub Security Advisories guidance (modelcontextprotocol#200) * V0.11.x (modelcontextprotocol#199) * Support 2025-06-18 Spec (modelcontextprotocol#167) * Support OpenAI _meta for Tool * Update init * Add title and outputSchema * Concurreny issue * General fields * Add Generate Fields to Server elements * 4 tab spacing * Update Version * Elicitation * Format * More tests and inits * Elicitation in README * Fix orphaned test * Add title to more structs * Public init * Fix meta validation and make tests more generic * Format and make Result properties public again * Revert more visibility changes * feat: 2025-11-25 phase 1, includes Version, Icon, Progress (modelcontextprotocol#181) * chore: fixed unit tests * feat: added icon and progess base structs * feat: added progress notification and meta to callTool * feat: added tests * feat: simplified RequestMeta encoding/decoding * tests: added unit test to track progress * chore: rebased v0.11.x * feat: implemented cancellation * feat: added overloaded callTool method * fix: encoding Response _meta fix * chore: added old version to the versions list * feat: 2025-11-25 phase 2; added Logging and Completions (modelcontextprotocol#196) * feat: added Logging and Completions * feat: updated EmbeddedResource for the latest spec * chore: changed encoding of meta in Prompts to encodeIfPresent * feat: compliance tests + http server transport (modelcontextprotocol#197) * feat: http server transport * feat: added http server transport * feat: removed unused files * feat: added conformance tests * feat: improved conformace testing * chore: removed redundant files * feat/2025-11-25: sampling, elicitation, roots (modelcontextprotocol#198) * feat: Roots implementation * feat: added unit testing * feat: improved unit tests and fixed NetworkTransport crash * feat: implemented sampling and elicitation * feat: improved sampling tests * feat: improved elicitation tests * feat: improved confirmance tests * feat: improved Prompts unit tests * feat: removed test code * feat: updated conformance tests * chore: removed redundant commas * chore: removed 6.0.3 swift version from ci * chore: improved unit tests a little bit * chore: update README.md * chore: add server progress tracking example to README.md * chore: updated README.md * chore: updated transports table formatting * chore: updated MockNetworkConnection --------- Co-authored-by: Austin Evans <[email protected]> Co-authored-by: yehorsobko <[email protected]> --------- Co-authored-by: Tobias <[email protected]> Co-authored-by: Mattt <[email protected]> Co-authored-by: Alexey Ivashko <[email protected]> Co-authored-by: Alexey Ivashko <[email protected]> Co-authored-by: Yifan Liu <[email protected]> Co-authored-by: Semen Kudriavtsev <[email protected]> Co-authored-by: adam jones <[email protected]> Co-authored-by: Den Delimarsky <[email protected]> Co-authored-by: Maksym Mova <[email protected]> Co-authored-by: Austin Evans <[email protected]> Co-authored-by: yehorsobko <[email protected]>
This was referenced Oct 22, 2026
1 task done
canarik
added a commit
that referenced
this pull request
Nov 30, 2026
A POST whose JSON-RPC object has a string `method`, an `id` and also a `result` or an `error` was never answered. `JSONRPCMessageKind` checks `method` first and called it a request, so `StatefulHTTPServerTransport` opened an SSE stream and kept the request's `httpRequestContexts` and `openRequestIDs` entries, and `StatelessHTTPServerTransport` created an exchange and waited. `Server` tries `AnyResponse` before `AnyRequest`, and `Response` ignores `method`, so it read the body as a response to an unknown request and sent nothing. The POST hung, the stateful transport kept that state until the session ended, and an `initialize` with a `result` opened a session in which a real `initialize` was then refused. Fix: classify such a message as `.invalid` when its `id` is readable, so both transports answer HTTP 400 with -32600 and the `id`, and keep no state for it. An `id` that cannot be read keeps its own reason. A batch item of this shape on the other transports now gets -32600 as well, since `Server.Batch.Item` uses the same classifier. Adds tests to `RequestIDValidationTests` for both HTTP transports, an `initialize` with a `result`, the classifier, and a batch item. Introduced in 6112a39 ("V0.11.x (#199)").
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.