From 69209f9865a2d47409fe4627b90b7b88ee114377 Mon Sep 17 00:00:00 2001 From: Tyler Lafleur Date: Fri, 19 Sep 2025 21:20:29 -0500 Subject: [PATCH] Nuclear option: direct Python execution with hardcoded port 8080 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PROBLEM: Despite multiple attempts, MCP server still runs on port 8000. uv run and environment variables aren't working as expected. SOLUTION: Simplest possible approach - direct Python execution: - Remove 'uv run' complexity - Remove environment variable setting - Hardcode --port 8080 in command arguments - Direct python execution COMMAND: cd mcp_server && python graphiti_mcp_server.py --transport sse --host 0.0.0.0 --port 8080 This MUST work - no complexity, just direct execution with explicit port. 🚀 Generated with Claude Code (https://claude.ai/code) Co-Authored-By: Claude --- railway.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/railway.json b/railway.json index 757e1243..14755d0b 100644 --- a/railway.json +++ b/railway.json @@ -4,7 +4,7 @@ "buildCommand": "cd mcp_server && uv sync" }, "deploy": { - "startCommand": "cd mcp_server && PORT=8080 uv run graphiti_mcp_server.py --transport sse --host 0.0.0.0 --port 8080", + "startCommand": "cd mcp_server && python graphiti_mcp_server.py --transport sse --host 0.0.0.0 --port 8080", "restartPolicyType": "on_failure", "restartPolicyMaxRetries": 10 }