Ask a question to get started
Enter to send•Shift+Enter new line
HeadlessMCPGuardMiddleware( self, tool_names: set[str], )
HumanInTheLoopMiddleware[AgentState[Any], Any, Any]
tool_names
set[str]
Mutating, contradictory, malformed, or unannotated MCP names.
Reject gated MCP calls and forward all other calls.
Reject gated MCP calls and forward all other async calls.
Reject dynamically gated MCP calls when no approval UI exists.