Graph Mem MCP Server

GraphMem is a Ruby on Rails application implementing a Model Context Protocol (MCP) server for graph-based memory management. It enables AI

Local serverstdioGo

What is the Graph Mem MCP server?

If you already use Graph Mem, the graph mem mcp server is the piece that lets your assistant work with it directly. GraphMem is a Ruby on Rails application implementing a Model Context Protocol (MCP) server for graph-based memory management. It enables AI assistants and other clients to create, retrieve, search, and manage knowledge entities and their.

What the server does

GraphMem provides persistent, structured storage for knowledge entities, their relationships, and observations. It's designed as an MCP server that enables AI assistants to maintain memory across sessions, build domain-specific knowledge graphs, and effectively reference past interactions.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Utility — The Utility tool exposed by this server
  • Cursor — The Cursor tool exposed by this server
  • Windsurf — Edit your Windsurf's mcp_config.json using the same approach as Cursor's. Usually the SSE container doesn't yield any issue
  • Antigravity — SSE doesn't work with Antigravity — Antigravity uses the newer Streamable HTTP transport (POST/DELETE directly to the serverUrl), while the current

Installation

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Credentials and setup notes

Configuration is passed through the environment: RAILS_ENV, RAILS_MASTER_KEY, OLLAMA_HOST, OLLAMA_URL, DATABASE_URL, DB_BACKUP_HOST_PATH. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Where it fits

Plenty of knowledge and memory servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Graph Mem's toolset — Utility, Cursor, Windsurf and 1 more — is a fair guide to whether it matches your workflow. It is maintained by steveoro; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
UtilityThe Utility tool exposed by this server.
CursorThe Cursor tool exposed by this server.
WindsurfEdit your Windsurf's mcp_config.json using the same approach as Cursor's. Usually the SSE container doesn't yield any issue.
AntigravitySSE doesn't work with Antigravity — Antigravity uses the newer Streamable HTTP transport (POST/DELETE directly to the serverUrl), while the current FastMCP gem (v1.6.0) only supports the older SSE dual-endpoint protocol

How to install the Graph Mem MCP server

{
  "mcpServers": {
    "graph_mem": {
      "url": "http://localhost:3030/mcp/sse",
      "headers": { "X-MCP-Client": "Agent-1" }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
RAILS_ENVConfiguration value read at startup.Optional
RAILS_MASTER_KEYCredential the server authenticates with.Yes
OLLAMA_HOSTEndpoint or connection string the server talks to.Optional
OLLAMA_URLEndpoint or connection string the server talks to.Yes
DATABASE_URLEndpoint or connection string the server talks to.Yes
DB_BACKUP_HOST_PATHEndpoint or connection string the server talks to.Optional

Example prompts to try

  • Use Graph Mem to Utility.
  • Use Graph Mem to Cursor.
  • Use Graph Mem to Windsurf.

Frequently asked questions

It connects Graph Mem to MCP-compatible AI assistants such as Claude and Cursor, exposing 4 tools (Utility, Cursor, Windsurf, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Graph Mem directly.