api/mcp_server_scan.py.dox.md
mcp_server_scan.py API endpoint.mcp_server_scan.py because this directory is intentionally flat.mcp_server_scan.py owns the runtime implementation.mcp_server_scan.py.dox.md owns durable notes about responsibilities, contracts, side effects, and verification for that implementation.McpServerScan (ApiHandler)
async process(self, input: dict[Any, Any], request: Request) -> dict[Any, Any] | Responsehelpers.api.ApiHandler; WebSocket handlers must derive from helpers.ws.WsHandler.server draft object, inspect_runtime, allow_remote_network, and allow_local_execution.allow_remote_network is true and static checks have no errors.allow_local_execution is true.headers and env values.asyncio, helpers.api, helpers.mcp_handler, shutil, typing, urllib.parse.MCPConfig in a worker thread so stdio/remote tool listing does not call asyncio.run() inside the request event loop.No child DOX files.