Configure MemoryGraph with Windsurf (Codeium's AI editor).

Prerequisites

  • Windsurf installed
  • Python 3.10 or higher
  • MemoryGraph installed

Setup Steps

Step 1: Install MemoryGraph

pipx install memorygraphMCP

Step 2: Find memorygraph Path

which memorygraph
# Example: /Users/yourname/.local/bin/memorygraph

Step 3: Configure Windsurf

Open Windsurf Settings and locate MCP configuration. Add the memorygraph server:

{
  "mcpServers": {
    "memorygraph": {
      "command": "/Users/yourname/.local/bin/memorygraph",
      "args": []
    }
  }
}

Step 4: Restart Windsurf

Restart Windsurf for the configuration to take effect.

Verify Setup

Ask Windsurf's AI to test memory:

"Store a memory that I configured MemoryGraph with Windsurf"

Troubleshooting

  • Verify Windsurf version supports MCP
  • Check that memorygraph runs: memorygraph --health
  • Use absolute path to memorygraph binary

See the Troubleshooting Guide for more help.