Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-indhar01-memograph": {
"command": "uvx",
"args": [
"memograph"
],
"env": {
"MEMOGRAPH_VAULT": "~/my-vault",
"MEMOGRAPH_READONLY": "false",
"MEMOGRAPH_PROVIDER": "<VALUE>",
"MEMOGRAPH_MODEL": "claude-sonnet-4-6",
"ANTHROPIC_API_KEY": "<YOUR_VALUE>",
"OPENAI_API_KEY": "<YOUR_VALUE>",
"OLLAMA_HOST": "http://localhost:11434"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-indhar01-memograph": {
"command": "uvx",
"args": [
"memograph"
],
"env": {
"MEMOGRAPH_VAULT": "~/my-vault",
"MEMOGRAPH_READONLY": "false",
"MEMOGRAPH_PROVIDER": "<VALUE>",
"MEMOGRAPH_MODEL": "claude-sonnet-4-6",
"ANTHROPIC_API_KEY": "<YOUR_VALUE>",
"OPENAI_API_KEY": "<YOUR_VALUE>",
"OLLAMA_HOST": "http://localhost:11434"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-indhar01-memograph": {
"command": "uvx",
"args": [
"memograph"
],
"env": {
"MEMOGRAPH_VAULT": "~/my-vault",
"MEMOGRAPH_READONLY": "false",
"MEMOGRAPH_PROVIDER": "<VALUE>",
"MEMOGRAPH_MODEL": "claude-sonnet-4-6",
"ANTHROPIC_API_KEY": "<YOUR_VALUE>",
"OPENAI_API_KEY": "<YOUR_VALUE>",
"OLLAMA_HOST": "http://localhost:11434"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-indhar01-memograph": {
"command": "uvx",
"args": [
"memograph"
],
"env": {
"MEMOGRAPH_VAULT": "~/my-vault",
"MEMOGRAPH_READONLY": "false",
"MEMOGRAPH_PROVIDER": "<VALUE>",
"MEMOGRAPH_MODEL": "claude-sonnet-4-6",
"ANTHROPIC_API_KEY": "<YOUR_VALUE>",
"OPENAI_API_KEY": "<YOUR_VALUE>",
"OLLAMA_HOST": "http://localhost:11434"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-indhar01-memograph": {
"command": "uvx",
"args": [
"memograph"
],
"env": {
"MEMOGRAPH_VAULT": "~/my-vault",
"MEMOGRAPH_READONLY": "false",
"MEMOGRAPH_PROVIDER": "<VALUE>",
"MEMOGRAPH_MODEL": "claude-sonnet-4-6",
"ANTHROPIC_API_KEY": "<YOUR_VALUE>",
"OPENAI_API_KEY": "<YOUR_VALUE>",
"OLLAMA_HOST": "http://localhost:11434"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-indhar01-memograph": {
"command": "uvx",
"args": [
"memograph"
],
"env": {
"MEMOGRAPH_VAULT": "~/my-vault",
"MEMOGRAPH_READONLY": "false",
"MEMOGRAPH_PROVIDER": "<VALUE>",
"MEMOGRAPH_MODEL": "claude-sonnet-4-6",
"ANTHROPIC_API_KEY": "<YOUR_VALUE>",
"OPENAI_API_KEY": "<YOUR_VALUE>",
"OLLAMA_HOST": "http://localhost:11434"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| MEMOGRAPH_VAULT | Yes | Path to your MemoGraph vault directory (created if missing). |
| MEMOGRAPH_READONLY | No | Set to 'true' to block destructive MCP tools (delete_memory, update_memory, bulk_create, batch_delete, batch_update). Recommended for shared or untrusted clients. Default: false |
| MEMOGRAPH_PROVIDER | No | Optional LLM provider for query_with_context tool. Only needed if you want AI-generated answers. |
| MEMOGRAPH_MODEL | No | Optional LLM model name (e.g. 'claude-sonnet-4-6'). Used together with MEMOGRAPH_PROVIDER. |
| ANTHROPIC_API_KEY secret | No | API key for Anthropic Claude. Required when MEMOGRAPH_PROVIDER=claude or when using the [anthropic] extra. |
| OPENAI_API_KEY secret | No | API key for OpenAI. Required when using the [openai] extra (embeddings or LLM). |
| OLLAMA_HOST | No | Base URL for a local Ollama server (default http://localhost:11434). Only needed when MEMOGRAPH_PROVIDER=ollama or the [ollama] extra is installed. Default: http://localhost:11434 |