--transport flag to select the connection method.
stdio
Spawns the server as a child process and communicates over stdin/stdout. Best for local testing where the server runs on the same machine. When to use: Local development, CI pipelines, testing servers you can run directly. Configuration: Provide the server command via--command (audit/proxy) or run the inject server directly.
SSE (Server-Sent Events)
Connects to a remote server over HTTP using the legacy SSE transport. The server must already be running and listening for SSE connections. When to use: Remote servers using the older SSE-based MCP transport protocol. Configuration: Provide the server URL via--url.
Streamable HTTP
Connects to a remote server over the current MCP Streamable HTTP transport standard. The server must already be running and listening for HTTP connections. When to use: Remote servers using the current Streamable HTTP MCP transport (recommended for new deployments). Configuration: Provide the server URL via--url (audit/proxy) or --port (inject).
Module support matrix
| Transport | audit | proxy | inject serve |
|---|---|---|---|
| stdio | Yes | Yes | Yes |
| SSE | Yes | Yes | No |
| Streamable HTTP | Yes | Yes | Yes |