From 3cb4283ae69c5223e33db1f925a62d9265eba8df Mon Sep 17 00:00:00 2001 From: Reese Date: Fri, 28 Nov 2025 00:02:35 +0000 Subject: [PATCH] K8:Simplifies MCP server startup Simplifies the MCP server startup process by directly invoking the server scripts. This change removes the unnecessary `-m mcp.server.fastmcp` argument and associated configuration, streamlining the command used to start the MCP servers. --- deploy/kubernetes/mcp-http.yaml | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/deploy/kubernetes/mcp-http.yaml b/deploy/kubernetes/mcp-http.yaml index f5a48b20..6774f450 100644 --- a/deploy/kubernetes/mcp-http.yaml +++ b/deploy/kubernetes/mcp-http.yaml @@ -25,18 +25,7 @@ spec: imagePullPolicy: IfNotPresent command: - python - - -m - - mcp.server.fastmcp - args: - - --server-name - - context-engine-http - - --host - - 0.0.0.0 - - --port - - '8000' - - --transport - - http - - /app/scripts/memory_server.py + - /app/scripts/mcp_memory_server.py ports: - name: http containerPort: 8000 @@ -195,18 +184,7 @@ spec: imagePullPolicy: IfNotPresent command: - python - - -m - - mcp.server.fastmcp - args: - - --server-name - - context-engine-indexer-http - - --host - - 0.0.0.0 - - --port - - '8001' - - --transport - - http - - /app/scripts/indexer_server.py + - /app/scripts/mcp_indexer_server.py ports: - name: http containerPort: 8001