netx/netx_api/mcp_remote/topology
oliver 52679a7cfc MCP: serve tools from the API process over Streamable HTTP at /mcp
- netx_api/mcp_remote: ops / topology / bizMonitor tools, Bearer auth,
  per-tool RBAC filtering, ?groups= filter, readOnlyHint and group meta.
- Mount the official MCP Streamable HTTP app at /mcp (stateless);
  AuthAuditMiddleware is pure ASGI and skips /mcp.
- Let uvicorn chunk MCP responses; some Windows LSPs rewrite
  Content-Length replies on */mcp* paths into broken chunked framing.
- NETX_MCP_ALLOWED_HOSTS opts into DNS-rebinding checks (off by default
  so LAN and reverse-proxy hosts work; Bearer is the gate).
- Remove the three stdio Python MCP packages; tests moved to /mcp,
  including real-TCP framing regressions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 21:52:08 +08:00
..
layout_ops MCP: serve tools from the API process over Streamable HTTP at /mcp 2026-10-16 21:52:08 +08:00
__init__.py MCP: serve tools from the API process over Streamable HTTP at /mcp 2026-10-16 21:52:08 +08:00
http_tools.py MCP: serve tools from the API process over Streamable HTTP at /mcp 2026-10-16 21:52:08 +08:00
layout_job_worker.py MCP: serve tools from the API process over Streamable HTTP at /mcp 2026-10-16 21:52:08 +08:00
layout_jobs.py MCP: serve tools from the API process over Streamable HTTP at /mcp 2026-10-16 21:52:08 +08:00
layout_metrics.py MCP: serve tools from the API process over Streamable HTTP at /mcp 2026-10-16 21:52:08 +08:00
layout_sight.py MCP: serve tools from the API process over Streamable HTTP at /mcp 2026-10-16 21:52:08 +08:00
layout_stats.py MCP: serve tools from the API process over Streamable HTTP at /mcp 2026-10-16 21:52:08 +08:00
layout_structure.py MCP: serve tools from the API process over Streamable HTTP at /mcp 2026-10-16 21:52:08 +08:00
layout_tool.py MCP: serve tools from the API process over Streamable HTTP at /mcp 2026-10-16 21:52:08 +08:00
layout_topology_quality.py MCP: serve tools from the API process over Streamable HTTP at /mcp 2026-10-16 21:52:08 +08:00