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 <noreply@anthropic.com>
11 lines
No EOL
328 B
JSON
11 lines
No EOL
328 B
JSON
{
|
|
"$schema": "https://railway.app/railway.schema.json",
|
|
"build": {
|
|
"buildCommand": "cd mcp_server && uv sync"
|
|
},
|
|
"deploy": {
|
|
"startCommand": "cd mcp_server && python graphiti_mcp_server.py --transport sse --host 0.0.0.0 --port 8080",
|
|
"restartPolicyType": "on_failure",
|
|
"restartPolicyMaxRetries": 10
|
|
}
|
|
} |