Gmem MCP Server
by yksanjoio.github.yksanjo/gmemv1.1.0
Persistent, Solana-aware project memory for AI coding agents. Typed entities + git-aware diffs.
context tax
queued
security
queued
cold start
queued
freshness
Slowing3mo ago
Install Gmem MCP server
Install in Claude Code
claude mcp add gmem -- npx -y @yksanjo/gmemInstall in Cursor
{
"mcpServers": {
"gmem": {
"command": "npx",
"args": [
"-y",
"@yksanjo/gmem"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"gmem": {
"command": "npx",
"args": [
"-y",
"@yksanjo/gmem"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"gmem": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@yksanjo/gmem"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"gmem": {
"command": "npx",
"args": [
"-y",
"@yksanjo/gmem"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| GMEM_DB | — | — | 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). |
Freshness
Slowing — last maintenance signal 3mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-07-09 · 3mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-05-17 · 5mo ago · official registry · v1.1.0
FAQ
›How do I install the Gmem MCP server in Claude Code?
Run: claude mcp add gmem -- npx -y @yksanjo/gmem. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Gmem require an API key?
No required environment variables are declared in its published metadata.
›Can I use Gmem as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Gmem in the official MCP registry?
Yes, as io.github.yksanjo/gmem.
Alternatives to Gmem
Other version control MCP servers.