//! MCP transport layer abstraction.
//!
//! Defines the [`McpTransport`] trait used by [`crate::mcp::client::McpClient`]
//! to communicate with MCP servers. Phase 1 provides the [`stdio::StdioTransport`]
//! implementation; Phase 5 adds the `http_sse` implementation.
use crateRawJsonRpcMessage;
use async_trait;
/// MCP transport layer abstraction.
///
/// A transport owns the raw I/O channel (stdio pipes, HTTP+SSE streams, etc.)
/// and provides synchronous-feeling `send` / `recv` primitives for JSON-RPC
/// messages. The client wraps the transport with request/response correlation.
///
/// Phase 1: only [`stdio::StdioTransport`] is implemented.
/// Phase 5: `HttpSseTransport` will be added without changing this trait.