Skip to content

Commit 92299bb

Browse files
chore: updated transports table formatting
1 parent 7b8b554 commit 92299bb

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1288,14 +1288,14 @@ MCP's transport layer handles communication between clients and servers.
12881288
The Swift SDK provides multiple built-in transports:
12891289

12901290

1291-
| Transport | Description | Platforms | Best for |
1292-
| ------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------- | ------------------------------------------------------------ |
1293-
| `[StdioTransport](/Sources/MCP/Base/Transports/StdioTransport.swift)` | Implements [stdio transport](https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#stdio) using standard input/output streams | Apple platforms, Linux with glibc | Local subprocesses, CLI tools |
1294-
| `[HTTPClientTransport](/Sources/MCP/Base/Transports/HTTPClientTransport.swift)` | Implements [Streamable HTTP transport](https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#streamable-http) using Foundation's URL Loading System | All platforms with Foundation | Remote servers, web applications |
1295-
| `[StatelessHTTPServerTransport](/Sources/MCP/Base/Transports/HTTPServer/StatelessHTTPServerTransport.swift)` | HTTP server transport with simple request-response semantics; no session management or SSE streaming | All platforms with Foundation | Simple HTTP servers, serverless/edge functions |
1296-
| `[StatefulHTTPServerTransport](/Sources/MCP/Base/Transports/HTTPServer/StatefulHTTPServerTransport.swift)` | HTTP server transport with full session management and SSE streaming for server-initiated messages | All platforms with Foundation | Full-featured HTTP servers, streaming notifications |
1297-
| `[InMemoryTransport](/Sources/MCP/Base/Transports/InMemoryTransport.swift)` | Custom in-memory transport for direct communication within the same process | All platforms | Testing, debugging, same-process client-server communication |
1298-
| `[NetworkTransport](/Sources/MCP/Base/Transports/NetworkTransport.swift)` | Custom transport using Apple's Network framework for TCP/UDP connections | Apple platforms only | Low-level networking, custom protocols |
1291+
| Transport | Description | Platforms | Best for |
1292+
| --------- | ----------- | --------- | -------- |
1293+
| [`StdioTransport`](/Sources/MCP/Base/Transports/StdioTransport.swift) | Implements [stdio transport](https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#stdio) using standard input/output streams | Apple platforms, Linux with glibc | Local subprocesses, CLI tools |
1294+
| [`HTTPClientTransport`](/Sources/MCP/Base/Transports/HTTPClientTransport.swift) | Implements [Streamable HTTP transport](https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#streamable-http) using Foundation's URL Loading System | All platforms with Foundation | Remote servers, web applications |
1295+
| [`StatelessHTTPServerTransport`](/Sources/MCP/Base/Transports/HTTPServer/StatelessHTTPServerTransport.swift) | HTTP server transport with simple request-response semantics; no session management or SSE streaming | All platforms with Foundation | Simple HTTP servers, serverless/edge functions |
1296+
| [`StatefulHTTPServerTransport`](/Sources/MCP/Base/Transports/HTTPServer/StatefulHTTPServerTransport.swift) | HTTP server transport with full session management and SSE streaming for server-initiated messages | All platforms with Foundation | Full-featured HTTP servers, streaming notifications |
1297+
| [`InMemoryTransport`](/Sources/MCP/Base/Transports/InMemoryTransport.swift) | Custom in-memory transport for direct communication within the same process | All platforms | Testing, debugging, same-process client-server communication |
1298+
| [`NetworkTransport`](/Sources/MCP/Base/Transports/NetworkTransport.swift) | Custom transport using Apple's Network framework for TCP/UDP connections | Apple platforms only | Low-level networking, custom protocols |
12991299

13001300

13011301
### Custom Transport Implementation

0 commit comments

Comments
 (0)