gmem

v1.1.0
io.github.yksanjo/gmem Checked 2 days ago Published 6 months ago

Persistent, Solana-aware project memory for AI coding agents.

Values you need

VariableWhat it is
GMEM_DBoptional Override 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).

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add gmem -- npx -y @yksanjo/gmem@1.1.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "gmem": {
      "args": [
        "-y",
        "@yksanjo/gmem@1.1.0"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "gmem": {
      "args": [
        "-y",
        "@yksanjo/gmem@1.1.0"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "gmem": {
      "args": [
        "-y",
        "@yksanjo/gmem@1.1.0"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.gmem]
command = "npx"
args = ["-y", "@yksanjo/gmem@1.1.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: gmem.recall, gmem.write, gmem.diff, gmem.list_decisions, gmem.ingest_anchor, gmem.solana_context, gmem.ingest_hardhat.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json