Commit graph swift-sdk/README.md
Author SHA1 Message Date
yehorsobko
a0ae212ebf
Improvements and fixes (#223)
Some checks failed
CI / Test (macos-latest, Swift 6.1.0) (push) Has been cancelled
CI / Test (ubuntu-latest, Swift 6.1.0) (push) Has been cancelled
CI / MCP Conformance Tests (push) Has been cancelled
CI / Documentation (push) Has been cancelled
CI / Linux Static SDK Build (6.1.2 - ubuntu-latest) (push) Has been cancelled
* feat: added http transport context to the task local execution

* fix: added refresh_token to the grantTypes for DCR

* chore: updated documentation
2026-04-29 14:34:21 +03:00
Maksym Mova
6132fd4b5b
V0.12.x (#215)
* fix #203 NetworkTransport race, with main-isolated variables (#206)

Co-authored-by: wti <wti@users.noreply.github.com>

* feat/auth: Authentication implementation (#205)

* feat: added authentication

* feat(auth): improvement to error handling

* feat(auth): updated errors and tests in OAuthClientRegistrar

* feat(auth): updated ci conformance package version

* feat(auth): bumped node version

* feat(auth): updated ci conformance step

* feat(auth): improvement to Linux support

* chore: added docc plugin

* chore: added spi yml

* chore: added documentation step to ci

* chore: increased timeout for test from 5 to 10m

---------

Co-authored-by: Paal Øye-Strømme <paal.o.eye@gmail.com>
Co-authored-by: wti <wti@users.noreply.github.com>
Co-authored-by: yehorsobko <yehorsobko@macpaw.com>
2026-03-24 11:05:22 +02:00
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
adam jones
8eef5fda00
chore: update licensing to Apache 2.0 for new contributions (#177) 2026-01-28 00:03:51 +02:00
Mattt
f1b50e6de2
Update README to document support for Alpine Linux (#153) 2025-08-14 04:37:46 -07:00
Mattt Zmuda
e76d61155b
Bump version to 0.10.0 2025-08-10 06:30:53 -07:00
Eric Marchand
8a50d896c1
docs: fix code example in README.md (#141) 2025-08-10 06:02:15 -07:00
Mattt
63fd276dbd
Implement in-memory / passthrough transport (#122)
* Implement in-memory / passthrough transport

* Add InMemoryTransport to README
2025-08-10 05:52:20 -07:00
Mattt
36865fb056
Update inputSchema example usage (#136)
* Update Tool inputSchema in README example usage

* Update inputSchema usage in Tool tests
2025-06-12 02:57:04 -07:00
Mattt Zmuda
9742933d2f
Bump version to 0.9.0 2025-05-26 06:07:28 -07:00
Mattt
a59b50bf5a
Update Client.connect(transport:) to automatically send initialize request (#100)
* Update Client to automatically call initialize in connect

* Make Client.connect(transport:) return value discardable

* Fix example usage in README

* Update example code in transports to remove initialize call

* Deprecate initialize method

* Update tests

* Update README

* Fix sampling tests

* Fix race condition tests
2025-05-26 06:04:38 -07:00
Mattt
3b505ee575
Improve ergonomics of prompt and sampling message initialization (#120)
* Improve ergonomics of prompt and sampling message initialization

* Deprecate previous / existing Message initializers
2025-05-26 05:25:02 -07:00
Mattt
fac4df6b1a
Add support for sampling (#119)
* Add UnitInterval type

* Add test coverage for UnitInterval

* Add support for sampling

* Add integration tests for sampling
2025-05-26 04:57:24 -07:00
Mattt Zmuda
266c02d2d1
Bump version to 0.8.2 2025-05-07 05:59:20 -07:00
Mattt Zmuda
3690509fa0
Bump version to 0.8.1 2025-05-07 03:26:31 -07:00
Mattt Zmuda
305cf7e13f
Bump version to 0.8.0 2025-05-06 09:30:43 -07:00
Mattt
23cb19268a
Set latest version to 2025-03-26 (#80)
* Set latest version to 2025-03-26

* Specify support for 2025-03-26 (latest) version
2025-05-06 09:30:21 -07:00
Mattt
32cf6cb7e6
Expand README with more information about client and server usage (#99)
* Expand README with more information about client and server usage

* Add discussion of initialize hook for server

* Add section about request batching

* Trim trailing whitespace

* Rename section to Request Batching
2025-05-06 09:24:20 -07:00
Mattt
48c19c282b
Document Client usage with HTTPClientTransport (#77)
* Add test coverage for Client with HTTPClientTransport

* Configure HTTP client transport to stream by default

* Add example usage of streaming HTTP transport to README

* Explicitly set streaming to false in test
2025-04-27 09:29:24 -07:00
Mattt
046fa3ee96
Update README with information about transports and platform availability (#76)
* Update README with information about transports and platform availability

* Add footnote about WIP Alpine Linux and Windows support

* Move discussion of platform availability to separate section

* Add link from requirements to platform availability section
2025-04-15 10:26:26 -07:00
Mattt
960c1dda0b
Conditionalize availability of StdioTransport (#65)
* Conditionalize availability of StdioTransport

* Update README with information about platform support
2025-04-10 09:15:13 -07:00
Mattt
1e61f205a1
Add support for Linux with glibc (#61)
* Conditionally import Glibc on Linux for fcntl calls

* Extract transport implementations into separate files

* Fix warning in test

* Add ubuntu-latest to CI test matrix

* Switch to vapor/swiftly-action for setup step

* Configure Prettier extension to format GitHub Actions workflows

* Setup with different actions depending on platform

* Rename step

* Rename job

* Update README
2025-04-10 05:22:56 -07:00
Mattt Zmuda
cfcead8121
Bump version to 0.7.1 2025-04-04 12:11:49 -07:00
Mattt Zmuda
402904eab2
Bump version to 0.7.0 2025-04-03 05:33:06 -07:00
Mattt
7c84c20faf
Add Changelog section to README (#45) 2025-04-03 05:32:30 -07:00
Mattt
5551f66d0e
Update README to reflect MIT License (#41) 2025-04-03 02:16:05 -07:00
Mattt Zmuda
3372a14a10
Bump version to 0.6.0
Update README
2025-03-31 10:24:53 -07:00
Mattt
8dfc9c7875
Transfer project to @modelcontextprotocol (#28)
* Update package URL to github.com/modelcontextprotocol/swift-sdk

* Remove link to iMCP

* Change to MIT License

* Apply suggestions from code review
2025-03-27 07:51:20 -07:00
Mattt Zmuda
ef647106b9
Bump version to 0.5.1 2025-03-19 05:42:19 -07:00
Mattt Zmuda
36a55a5b57
Bump version to 0.5.0 2025-03-18 10:02:29 -07:00
Mattt Zmuda
c672358e7b
Bump version to 0.4.2 2025-03-17 05:42:51 -07:00
Mattt
59b6b755c0
Revert "Update capabilities to be expressible by Boolean literals (#16)" (#18)
This reverts commit 3e628db6d8.
2025-03-17 05:42:27 -07:00
Mattt Zmuda
eba4f62bd5
Bump version to 0.4.1 2025-03-17 05:27:22 -07:00
Mattt
3e628db6d8
Update capabilities to be expressible by Boolean literals (#16)
* Conform Server.Capabilities types to ExpressibleByBooleanLiteral

* Conform Client.Capabilities types to ExpressibleByBooleanLiteral

* Use Boolean literatls for capabilities in tests

* Update README
2025-03-17 04:35:03 -07:00
Mattt Zmuda
4ed52bc2c3
Bump version to 0.4.0 2025-03-17 04:17:51 -07:00
Mattt
a2a0044abb
Remove nonstandard read and list capabilities for resources (#15)
* Remove nonstandard read and list capabilities for server

* Update README
2025-03-17 04:17:23 -07:00
Mattt Zmuda
dccaa3a411
Bump version to 0.3.2 2025-03-14 06:25:29 -07:00
Mattt Zmuda
154cf61040
Bump version to 0.3.1 2025-03-13 11:40:45 -07:00
Mattt
9ebe12559e
Add link to iMCP in README
Signed-off-by: Mattt <mattt@loopwork.com>
2025-03-06 06:51:34 -08:00
Mattt Zmuda
775425b140
Bump version to 0.3.0 2025-03-04 06:28:02 -08:00
Mattt Zmuda
7619e5881c
Bump version to 0.2.0 2025-02-27 14:51:39 -08:00
Mattt Zmuda
be1e9583f8
Initial implementation 2025-02-11 15:22:35 -08:00
Mattt Zmuda
cc603d35fe
Initial commit 2025-02-05 11:13:57 -08:00