gmem
v1.1.0Persistent, Solana-aware project memory for AI coding agents.
Values you need
| Variable | What it is | |
|---|---|---|
GMEM_DB | optional | 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.0Add 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
- 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).
- Restart or reload the client so it starts the server.
- 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.
- 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