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.