swift-sdk/Tests/MCPTests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Maksym Mova 6112a3995a
V0.11.x (#199)
* Support 2025-06-18 Spec (#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 (#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 (#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/2025-11-25: sampling, elicitation, roots (#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 <austinjevans@me.com>
Co-authored-by: yehorsobko <yehorsobko@macpaw.com>
2026-02-19 13:09:31 +02:00
..
Helpers Add support for JSON-RPC batching (#67) 2025-04-10 12:13:41 -07:00
Base64DataTests.swift Add test coverage for base64 data helper methods (#114) 2025-05-26 04:36:13 -07:00
CancellationTests.swift V0.11.x (#199) 2026-02-19 13:09:31 +02:00
ClientTests.swift V0.11.x (#199) 2026-02-19 13:09:31 +02:00
CompletionTests.swift V0.11.x (#199) 2026-02-19 13:09:31 +02:00
ElicitationTests.swift V0.11.x (#199) 2026-02-19 13:09:31 +02:00
HTTPClientTransportTests.swift V0.11.x (#199) 2026-02-19 13:09:31 +02:00
HTTPServerTransportTests.swift V0.11.x (#199) 2026-02-19 13:09:31 +02:00
IDTests.swift Initial implementation 2025-02-11 15:22:35 -08:00
InMemoryTransportTests.swift Implement in-memory / passthrough transport (#122) 2025-08-10 05:52:20 -07:00
LoggingTests.swift V0.11.x (#199) 2026-02-19 13:09:31 +02:00
MetaFieldsTests.swift V0.11.x (#199) 2026-02-19 13:09:31 +02:00
NetworkTransportTests.swift V0.11.x (#199) 2026-02-19 13:09:31 +02:00
NotificationTests.swift Update AnyNotification to include notification params (#86) 2025-04-27 06:47:38 -07:00
ProgressTests.swift V0.11.x (#199) 2026-02-19 13:09:31 +02:00
PromptTests.swift V0.11.x (#199) 2026-02-19 13:09:31 +02:00
RequestTests.swift Add unit test to check that AnyRequest handles missing parameters (#24) 2025-03-19 05:41:50 -07:00
ResourceTests.swift V0.11.x (#199) 2026-02-19 13:09:31 +02:00
ResponseTests.swift Add support for JSON-RPC batching (#67) 2025-04-10 12:13:41 -07:00
RootsTests.swift V0.11.x (#199) 2026-02-19 13:09:31 +02:00
RoundtripTests.swift Update Client.connect(transport:) to automatically send initialize request (#100) 2025-05-26 06:04:38 -07:00
SamplingTests.swift V0.11.x (#199) 2026-02-19 13:09:31 +02:00
ServerTests.swift V0.11.x (#199) 2026-02-19 13:09:31 +02:00
StdioTransportTests.swift Add streamable HTTP transport for clients (#70) 2025-04-15 09:06:29 -07:00
ToolTests.swift V0.11.x (#199) 2026-02-19 13:09:31 +02:00
UnitIntervalTests.swift Add support for sampling (#119) 2025-05-26 04:57:24 -07:00
VersioningTests.swift V0.11.x (#199) 2026-02-19 13:09:31 +02:00