Conditionalize availability of StdioTransport (#65)
* Conditionalize availability of StdioTransport * Update README with information about platform support
This commit is contained in:
parent
1e61f205a1
commit
960c1dda0b
1 changed files with 141 additions and 131 deletions
16
README.md
16
README.md
|
|
@ -6,7 +6,7 @@ Swift implementation of the [Model Context Protocol][mcp] (MCP).
|
|||
|
||||
- Swift 6.0+ (Xcode 16+)
|
||||
|
||||
### Supported Platforms
|
||||
## Platform Support
|
||||
|
||||
| Platform | Minimum Version |
|
||||
|----------|----------------|
|
||||
|
|
@ -15,9 +15,19 @@ Swift implementation of the [Model Context Protocol][mcp] (MCP).
|
|||
| watchOS | 9.0+ |
|
||||
| tvOS | 16.0+ |
|
||||
| visionOS | 1.0+ |
|
||||
| Linux | ✓ [^1] |
|
||||
| Linux | ✓ |
|
||||
| Windows | ✓ |
|
||||
|
||||
[^1]: Linux support requires glibc-based distributions such as Ubuntu, Debian, Fedora, CentOS, or RHEL. Alpine Linux and other musl-based distributions are not supported.
|
||||
> [!IMPORTANT]
|
||||
> MCP's transport layer handles communication between clients and servers.
|
||||
> The Swift SDK supports multiple transport mechanisms,
|
||||
> with different platform availability:
|
||||
>
|
||||
> * `StdioTransport` is available on Apple platforms
|
||||
> and Linux distributions with glibc, such as
|
||||
> Ubuntu, Debian, Fedora, CentOS, or RHEL.
|
||||
>
|
||||
> * `NetworkTransport` is available only on Apple platforms.
|
||||
|
||||
## Installation
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue