Skip to main content

Module http_server

Module http_server 

Source
Expand description

Optional remote MCP transport over Streamable HTTP.

The endpoint exposes shell and filesystem capabilities, so remote mode is deliberately fail-closed: loopback bind by default, strong file-backed or explicit bearer credentials, bounded request concurrency/rate, and isolated daemon namespaces for independently authenticated principals.

Structs§

HttpServerOptions

Constants§

DEFAULT_MAX_CONCURRENCY
DEFAULT_PRINCIPAL_REQUESTS_PER_MINUTE
Fixed-window request budget per authenticated principal. Behind one reverse proxy every client shares a single source IP, so the IP window alone cannot keep one busy principal from starving the others.
DEFAULT_REQUESTS_PER_MINUTE

Functions§

start_http_server
start_http_server_with_options
start_http_server_with_runtime

Type Aliases§

BoxError