From 9790a994aeffc5d439f90bff031b3302d617242b Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Mon, 7 Jul 2025 23:01:56 +0100 Subject: [PATCH] Hard code a test server --- trustgraph-flow/trustgraph/agent/mcp_tool/service.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trustgraph-flow/trustgraph/agent/mcp_tool/service.py b/trustgraph-flow/trustgraph/agent/mcp_tool/service.py index 8f086a5a..81fe0717 100755 --- a/trustgraph-flow/trustgraph/agent/mcp_tool/service.py +++ b/trustgraph-flow/trustgraph/agent/mcp_tool/service.py @@ -25,7 +25,8 @@ class Service(ToolService): print(name) print(parameters) # Connect to a streamable HTTP server - async with streamablehttp_client("http://mcp-server:8000/mcp/") as ( +# async with streamablehttp_client("http://mcp-server:8000/mcp/") as ( + async with streamablehttp_client("http://host.containers.internal:9870/mcp/") as ( read_stream, write_stream, _,