MemoryGraph works with any MCP-compliant AI coding tool. This guide covers supported clients, configuration formats, and compatibility details.
| Client | Type | MCP Support | Transport | Quick Start |
|---|---|---|---|---|
| Claude Code | CLI/IDE | Full | stdio | Setup Guide |
| Cursor AI | IDE | Full | stdio, SSE | Setup Guide |
| Windsurf | IDE | Full | stdio, SSE | Setup Guide |
| VS Code + Copilot | IDE Extension | Full (1.102+) | stdio | Setup Guide |
| Continue.dev | IDE Extension | Full | stdio | Setup Guide |
| Cline | IDE Extension | Full | stdio | Setup Guide |
| Gemini CLI | CLI | Varies | stdio | Setup Guide |
The Model Context Protocol (MCP) is an open standard that allows AI assistants to connect to external tools and data sources. MemoryGraph implements the MCP server specification, making it compatible with any MCP client.
┌─────────────┐ ┌─────────────────┐ ┌──────────────┐
│ AI Client │ ──MCP── │ MemoryGraph │ ──────▶ │ SQLite/ │
│ (Cursor, │ │ MCP Server │ │ Neo4j/ │
│ VS Code) │ │ │ │ Memgraph │
└─────────────┘ └─────────────────┘ └──────────────┘
- Client sends MCP tool calls (e.g.,
store_memory,search_memories) - MemoryGraph processes requests and manages data
- Database stores memories and relationships persistently
MCP supports multiple transport protocols:
Most common. Communication via stdin/stdout.
{
"mcpServers": {
"memorygraph": {
"command": "memorygraph",
"args": []
}
}
}Supported by: All clients
HTTP-based transport for web environments.
{
"mcpServers": {
"memorygraph": {
"url": "http://localhost:8080/sse",
"transport": "sse"
}
}
}Supported by: Cursor, Windsurf, some web-based clients
Note: MemoryGraph currently supports stdio. SSE support may require additional configuration.
Different clients use different configuration formats:
{
"mcpServers": {
"memorygraph": {
"command": "memorygraph",
"args": ["--profile", "extended"],
"env": {
"MEMORY_SQLITE_PATH": "~/.memorygraph/memory.db"
}
}
}
}Used by: Claude Code, Cursor, VS Code, Cline
mcpServers:
- name: memorygraph
command: memorygraph
args:
- "--profile"
- "standard"
env:
MEMORY_SQLITE_PATH: "~/.memorygraph/memory.db"Used by: Continue.dev
| Client | Location |
|---|---|
| Claude Code | ~/.claude.json (user) or .mcp.json (project) |
| Cursor | .cursor/mcp.json (project) or Settings UI |
| VS Code + Copilot | .vscode/mcp.json (workspace) |
| Continue | ~/.continue/config.yaml or ~/.continue/mcpServers/ |
| Cline | Via Settings UI → MCP Settings |
| Windsurf | Settings UI or config file |
| Feature | Claude Code | Cursor | VS Code | Continue | Cline |
|---|---|---|---|---|---|
| MCP Support | Native | Full | Full (1.102+) | Full | Full |
| Agent Mode | Default | Required | Required | Required | Default |
| Max Tools | Unlimited | Unlimited | 128 | Unlimited | Unlimited |
| Config UI | CLI | Yes | No | Yes | Yes |
| Project Scope | Yes | Yes | Yes | Yes | Limited |
MemoryGraph offers two tool profiles:
| Profile | Tools | Best For |
|---|---|---|
| core (default) | 9 | Most users, essential daily tools |
| extended | 11 | Power users, adds stats and complex queries |
Configure via command line argument:
{
"args": ["--profile", "extended"]
}Moving from one client to another is straightforward:
Most configurations are similar. Copy your mcp.json content.
From Claude Code to Cursor: Direct copy works
// Both use the same format
{
"mcpServers": {
"memorygraph": { "command": "memorygraph" }
}
}From JSON to YAML (Continue):
# Convert JSON structure to YAML
mcpServers:
- name: memorygraph
command: memorygraphYour memory database (~/.memorygraph/memory.db) is independent of the client. Switch clients without losing data.
- Use
claude mcp listto check server status - See CLAUDE_CODE_SETUP.md
- Check Settings > Features > MCP for server status
- Requires Agent mode for MCP tools
- See CURSOR_SETUP.md
- Requires VS Code 1.102+
- Use Command Palette: "MCP: List Servers"
- See VSCODE_COPILOT_SETUP.md
- Use Agent mode (not Chat or Edit)
- Check
~/.continue/config.yamlsyntax - See CONTINUE_SETUP.md
- Access MCP Settings via gear icon
- Check for "disabled: false"
- See CLINE_SETUP.md
# Check installation
which memorygraph
# If not found, add pipx bin to PATH
pipx ensurepath
# Restart terminal-
Test manually:
echo '{"jsonrpc":"2.0","method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0.0"}},"id":1}' | memorygraph
-
Use full path in config:
{ "command": "/full/path/to/memorygraph" }
- Ensure Agent mode is enabled (most clients)
- Restart the client after configuration changes
- Check for typos in configuration
By default, MemoryGraph stores data locally:
- Default path:
~/.memorygraph/memory.db - No external transmission in default configuration
- Project-scoped databases possible for isolation
| Client | Security Features |
|---|---|
| Claude Code | User-scoped by default |
| Cursor | Workspace trust |
| VS Code | Workspace trust, enterprise policies |
| Continue | Open-source, auditable |
| Cline | Local API keys |
For enterprise use:
- Configure project-scoped databases
- Use Neo4j/Memgraph for team sharing
- Review DEPLOYMENT.md for advanced options
- Documentation: README
- Troubleshooting: TROUBLESHOOTING.md
- GitHub Issues: Report bugs
- Discussions: Ask questions
MemoryGraph: Universal memory for AI coding agents
Works with any MCP-compliant client. Your data, your choice of tools.