Nuclear option: direct Python execution with hardcoded port 8080

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>
This commit is contained in:
Tyler Lafleur 2025-09-19 21:20:29 -05:00
parent 76332e34bd
commit 69209f9865

View file

@ -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
}