Skip to content

Commit eb96c3d

Browse files
committed
fix: Update MCP_URL to use default Kagenti service port 9090
The Kagenti UI defaults tool service ports to 9090 (since rossoctl/rossoctl#1175). These .env files still referenced port 8000, causing connection failures when agents tried to reach tools via the K8s service. Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com> Signed-off-by: Hai Huang <huang195@gmail.com>
1 parent d5ed975 commit eb96c3d

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

a2a/git_issue_agent/.env.ollama

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ PORT=8000
2020
LOG_LEVEL=DEBUG
2121

2222
# MCP Tool endpoint
23-
# Port 8000 is the default for Kagenti Tools
24-
MCP_URL=http://github-tool-mcp:8000/mcp
23+
# Port 9090 is the default Kagenti service port for tools
24+
MCP_URL=http://github-tool-mcp:9090/mcp

a2a/image_service/.env.openai

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ OPENAI_API_KEY='{"valueFrom": {"secretKeyRef": {"name": "openai-secret", "key":
22
LLM_API_KEY='{"valueFrom": {"secretKeyRef": {"name": "openai-secret", "key": "apikey"}}}'
33
LLM_API_BASE=https://api.openai.com/v1
44
LLM_MODEL=gpt-4o-mini-2024-07-18
5-
MCP_URL=http://image-tool-mcp:8000/mcp
5+
MCP_URL=http://image-tool-mcp:9090/mcp

a2a/weather_service/.env.ollama

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
LLM_API_BASE=http://host.docker.internal:11434/v1
22
LLM_API_KEY=dummy
33
LLM_MODEL=llama3.2:3b-instruct-fp16
4-
MCP_URL=http://weather-tool-mcp:8000/mcp
4+
MCP_URL=http://weather-tool-mcp:9090/mcp

a2a/weather_service/.env.openai

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ OPENAI_API_KEY='{"valueFrom": {"secretKeyRef": {"name": "openai-secret", "key":
22
LLM_API_KEY='{"valueFrom": {"secretKeyRef": {"name": "openai-secret", "key": "apikey"}}}'
33
LLM_API_BASE=https://api.openai.com/v1
44
LLM_MODEL=gpt-4o-mini-2024-07-18
5-
MCP_URL=http://weather-tool-mcp:8000/mcp
5+
MCP_URL=http://weather-tool-mcp:9090/mcp

0 commit comments

Comments
 (0)