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:
parent
76332e34bd
commit
69209f9865
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
"buildCommand": "cd mcp_server && uv sync"
|
"buildCommand": "cd mcp_server && uv sync"
|
||||||
},
|
},
|
||||||
"deploy": {
|
"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",
|
"restartPolicyType": "on_failure",
|
||||||
"restartPolicyMaxRetries": 10
|
"restartPolicyMaxRetries": 10
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue