Skip to main content

Module http

Module http 

Source
Available on crate feature http only.
Expand description

HTTP Transport for MCP Servers

Communicates with MCP servers via HTTP using JSON-RPC over POST requests. This is used for MCP servers that expose an HTTP endpoint.

Structsยง

HttpTransport
HTTP-based MCP transport for communicating with HTTP servers.
HttpTransportAdapter
Adapter that wraps HttpTransport and implements McpTransport.