Skip to content
MCP server

Gmem

Persistent, Solana-aware project memory for AI coding agents. Typed entities + git-aware…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.1.0
Listing updated
5 days ago

About Gmem

Gmem is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Persistent, Solana-aware project memory for AI coding agents. Typed entities + git-aware diffs.

Install

Run in a terminal

claude mcp add gmem -- npx -y @yksanjo/gmem

Add to claude_desktop_config.json

{
  "mcpServers": {
    "gmem": {
      "command": "npx",
      "args": [
        "-y",
        "@yksanjo/gmem"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "gmem": {
      "command": "npx",
      "args": [
        "-y",
        "@yksanjo/gmem"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "gmem": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@yksanjo/gmem"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "gmem": {
      "command": "npx",
      "args": [
        "-y",
        "@yksanjo/gmem"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "gmem": {
      "command": "npx",
      "args": [
        "-y",
        "@yksanjo/gmem"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • GMEM_DBOverride the auto-resolved memory database path. Defaults to ~/.gmem/<projectHash>/memory.db, with one db file per Solana project (project root resolved from Anchor.toml or workspace Cargo.toml).

Pricing

Open source

Gmem FAQ

Is Gmem free?

Yes. Gmem is open source, so you can use and self-host it for free.

How do I add Gmem to Claude Code?

Run this command in your terminal: claude mcp add gmem -- npx -y @yksanjo/gmem

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers