From 95f77b574b4b91f5c9d54e87155fd4696a16a3d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis-F=C3=A9lix=20Nothias?= Date: Sun, 14 Jun 2026 15:49:31 +0200 Subject: [PATCH 1/2] fix(graph_rag): serve MCP over streamable-http transport Enable the graph_rag host server entrypoint (was a commented-out http transport) so it is discoverable by the host MCP clients. Co-Authored-By: Claude Opus 4.8 --- mcp_host/graph_rag/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mcp_host/graph_rag/server.py b/mcp_host/graph_rag/server.py index 4850695..de91e7d 100644 --- a/mcp_host/graph_rag/server.py +++ b/mcp_host/graph_rag/server.py @@ -167,4 +167,4 @@ def run_query(): sys.exit(1) print(f"Starting server on port {port}") - #mcp.run(transport="http", port=port, host="0.0.0.0") + mcp.run(transport="streamable-http", port=port, host="0.0.0.0") From 85f08b21a15d18f8d3756446579203b62d73543b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis-F=C3=A9lix=20Nothias?= Date: Sun, 14 Jun 2026 15:49:31 +0200 Subject: [PATCH 2/2] chore: pin host MCP port range to >=5001 Start host MCP port allocation at 5001 (start.sh START_PORT, deploy.py HOST_PORT_MIN) so it never collides with the macOS AirPlay Receiver on :5000. Co-Authored-By: Claude Opus 4.8 --- deploy.py | 2 +- start.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.py b/deploy.py index 4efed4b..cb8a53a 100644 --- a/deploy.py +++ b/deploy.py @@ -70,7 +70,7 @@ def find_available_port(start_port: int, end_port: int, used_ports: set = None) WORKSPACE_FOLDER = "workspace" # Define default port ranges, overwritten by arguments -HOST_PORT_MIN = 5000 +HOST_PORT_MIN = 5001 HOST_PORT_MAX = 5099 diff --git a/start.sh b/start.sh index 07e7b4d..20761b2 100755 --- a/start.sh +++ b/start.sh @@ -99,7 +99,7 @@ echo "" # Set defaults when no arguments provided if [ "$NO_INPUT" = true ]; then - START_PORT=5000 + START_PORT=5001 END_PORT=5200 WORKSPACE=workspace else