Expand description
HTTP transport implementation for MCP
Module provides HTTP-based transport for MCP communication, including Server-Sent Events (SSE) for real-time communication.
§Feature Requirements
- Basic HTTP transport: Requires “http” feature
- Server-Sent Events: Requires both “http” and “sse” features
# Cargo.toml
[dependencies]
prism-mcp-rs = { version = "3", features = ["http", "sse"] }Structs§
- Http
Client Transport - HTTP transport for MCP clients
- Http
Server Transport - HTTP transport for MCP servers
- Mtls
Client Config - PEM-encoded client identity and trust root for mutual TLS.
- Mtls
Server Config - PEM-encoded server identity and client CA used to require client certificates.