Skip to main content

Module handler

Module handler 

Source
Expand description

Transport-agnostic proxy message handler.

Contains the core bidirectional proxy loop that reads MCP messages, evaluates tool calls against the policy engine, and forwards or blocks them. This module is used by both TCP and stdio transports.

Functions§

run_proxy_loop
Runs the bidirectional proxy loop.