- Update graphiti_mcp_server.py to use HTTP transport as default - Modify start.sh to use --transport http instead of sse - Update all documentation to reference /mcp endpoint instead of /sse - Rename mcp_config_sse_example.json to mcp_config_http_example.json - HTTP transport provides better compatibility and is actively supported 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
10 lines
357 B
Bash
Executable file
10 lines
357 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")"
|
|
: "${PORT:=8080}"
|
|
PYTHON_BIN="${VIRTUAL_ENV:+$VIRTUAL_ENV/bin/python}"
|
|
if [[ -z "${PYTHON_BIN}" && -x "./.venv/bin/python" ]]; then
|
|
PYTHON_BIN="$(pwd)/.venv/bin/python"
|
|
fi
|
|
PYTHON_BIN="${PYTHON_BIN:-python}"
|
|
exec "$PYTHON_BIN" graphiti_mcp_server.py --transport http --host 0.0.0.0 --port "$PORT"
|