Skip to main content

Module http

Module http 

Source
Available on crate feature client only.
Expand description

HTTP Transport for connecting to MCP servers.

Communicates with MCP servers via HTTP using JSON-RPC over POST requests. This is used to connect to 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.