Expand description
HTTP Server Adapter for MCP
This module defines a pluggable interface for HTTP servers that expose MCP protocols. The adapter pattern allows different HTTP frameworks (axum, actix, warp, etc.) to be swapped without changing the MCPServerBuilder API.
§Design
MCPServerBuilder
↓
(configures)
↓
HttpServerAdapter (trait)
↓ (implements)
┌────┴────┬─────────────┐
↓ ↓ ↓
AxumAdapter ActixAdapter OtherAdapterThis allows users to swap HTTP frameworks without changing their code.
Structs§
- Http
Server Config - Configuration for an HTTP MCP server
- Http
Server Instance - A running HTTP server instance
Traits§
- Http
Server Adapter - Trait for HTTP server implementations