You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: Connection between agent and weather tool does not work when the agent and tool are in different namespaces. #148
There is no issue when the agent and tool are in the same namespace. And the problem can be easily worked around by defining MCP_URL explicitly at the time of agent import.
The simplest fix is to add a warning in the example description to explicitly configure this variable in multi-namespace cases, as the problem will be eliminated once we use mcp-gateway as a part of the platform.
Steps To Reproduce
Follow regular deployment steps with weather tool and agent in different namespaces.
@msteinder you are correct, the initial assumption was that agent and tool are deployed in the same namespace but beyond a simple demo we can expect tools in different namespace. As you suggest for the time being we can just allow editing the MCP_URL. Once we have MCP Gateway as single point of control, we could even enforce (with network policies) going always through the gateway and not direct access to each service.
changed the title [-]bug: Connection between agent and weather tool does not work when the agent and tool are in diferent namespaces.[/-][+]bug: Connection between agent and weather tool does not work when the agent and tool are in different namespaces.[/+]on Jan 5, 2026
Activity
pdettori commentedon Aug 27, 2025
@msteinder you are correct, the initial assumption was that agent and tool are deployed in the same namespace but beyond a simple demo we can expect tools in different namespace. As you suggest for the time being we can just allow editing the
MCP_URL. Once we have MCP Gateway as single point of control, we could even enforce (with network policies) going always through the gateway and not direct access to each service.rubambiza commentedon Dec 15, 2025
Possible solution: Use MCP Gateway as a forcing function.
[-]bug: Connection between agent and weather tool does not work when the agent and tool are in diferent namespaces.[/-][+]bug: Connection between agent and weather tool does not work when the agent and tool are in different namespaces.[/+]