mem0-mcp-selfhosted / setup / windsurf
Setup guide

Set up mem0-mcp-selfhosted in Windsurf

communitystdioneeds caution

Self-hosted mem0 MCP server for Claude Code. Run a complete memory server against self-hosted Qdrant + Neo4j + Ollama while using Claude as the main LLM.


01Configuration
{ "mcpServers": { "mem0-mcp-selfhosted": { "command": "uvx", "args": [ "--from", "git+https://github.com/elvismdev/mem0-mcp-selfhosted.git", "mem0-mcp-selfhosted" ] } } }

Add this to ~/.codeium/windsurf/mcp_config.json. Generated from the captured install method (uvx); the mcpServers shape is shared across Claude Desktop, Cursor, Windsurf, Cline, and VS Code.


02Steps
  1. Make sure Windsurf is installed and up to date.
  2. Open ~/.codeium/windsurf/mcp_config.json and add the block above (merge into any existing mcpServers).
  3. Provide any required API keys/credentials as environment variables.
  4. Restart Windsurf and confirm mem0-mcp-selfhosted’s tools appear.

03Other runtimes

04Provenance
config_sourcegenerated from captured install method
last_checked2026-08-16 11:12Z
sourcesGitHub repo search [p4]

Next step

Want agents that act within guardrails? Apex is the live governed-agent product — paced, capped, and fully-logged actions with approvals before anything runs.

Explore Apex →

See also: server page · is it safe? · alternatives