Skip to content

About

Streamable HTTP transport and authorization for Swift-MCP-Server

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Swift-MCP-Server-HTTP

Streamable HTTP transport (MCPHTTP) and bearer authorization (MCPHTTPAuthorization) for Swift-MCP-Server (MCP 2026-07-28, macOS 27+, Swift 6.4), plus the client side: MCPHTTPClient (Streamable HTTP for MCPClient) and MCPClientAuthorization (OAuth 2.1 for clients, see Docs/CLIENT_AUTHORIZATION.md).

Status: pre-release (0.x). Depends on the core's main branch until core 1.0.0.

Conformance

Scripts/conformance.sh runs the official MCP referee (server leg, requirements 2026-07-28) against Tools/Conformance/SwiftFixture. Latest local run (2026-11-10, upstream SwiftNIO 2.105.0): 37/37 required scenarios passed; the 3 pending core diagnostics passed; the 10 optional Tasks diagnostics fail because Tasks is not supported (not scored).

Scripts/client-conformance.sh runs the client leg against the client fixture: 37 scenarios, including 25 auth/* scenarios (discovery, client identity, code flow, iss, scopes, step-up, offline_access and authorization server migration).

Known issues

  • SwiftNIO 2.105.2 is the minimum required version: it contains the early EOF fix for macOS TCP connections (apple/swift-nio#3783). The three native disconnect tests are mandatory, not known-issue allowances. See HTTP #12 for the independent release qualification; the earlier diagnostic proof is not a release result.
  • swift-http-server is pinned to a revision (pre-release dependency).

Third-party directory listing

M8ven Score

This is a Swift SDK package, not a hosted MCP server. M8ven's third-party directory score is not a security certification.

License

Apache License 2.0. See LICENSE and NOTICE.

About

Streamable HTTP transport and authorization for Swift-MCP-Server

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages