From 88e36dc8a6af30d3369ff7ac81c1d8fc925bbad4 Mon Sep 17 00:00:00 2001 From: slaguru666 <111923774+slaguru666@users.noreply.github.com> Date: Sun, 12 Jul 2026 22:43:04 +0100 Subject: [PATCH] Add Graphiti MCP server setup to install.sh New machines auto-configure the graphiti-memory HTTP server at https://graphiti.timevans.uk/mcp (override via GRAPHITI_MCP_URL). Idempotent remove-then-add, matching the GitHub/Obsidian MCP blocks. Co-Authored-By: Claude Opus 4.8 (1M context) --- install.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/install.sh b/install.sh index 784e862..8313829 100755 --- a/install.sh +++ b/install.sh @@ -73,5 +73,16 @@ if command -v claude >/dev/null 2>&1; then fi fi +# Graphiti MCP server (knowledge-graph memory, HTTP transport) +# Override the endpoint by exporting GRAPHITI_MCP_URL before running. +if command -v claude >/dev/null 2>&1; then + GRAPHITI_MCP_URL="${GRAPHITI_MCP_URL:-https://graphiti.timevans.uk/mcp}" + echo " Setting up Graphiti MCP server ($GRAPHITI_MCP_URL)..." + claude mcp remove graphiti-memory -s user 2>/dev/null || true + claude mcp add graphiti-memory "$GRAPHITI_MCP_URL" --transport http -s user \ + && echo " Installed: Graphiti MCP server" \ + || echo " WARNING: Graphiti MCP server setup failed — run manually: claude mcp add graphiti-memory $GRAPHITI_MCP_URL --transport http -s user" +fi + echo "" echo "Done. Restart Claude Code for settings to take effect."