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) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
da3f85935b
commit
88e36dc8a6
+11
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user