Skip to content
Grok

a mem mcp for Grok

io.github.diaaaj/a-mem-mcp

Self-evolving memory system for AI agents

client:Grok transport:stdio runtime:pypi

Install a mem mcp in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "a-mem-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "a-mem"
      ],
      "env": {
        "LLM_BACKEND": "<LLM_BACKEND>",
        "LLM_MODEL": "<LLM_MODEL>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "EMBEDDING_MODEL": "<EMBEDDING_MODEL>",
        "CHROMA_DB_PATH": "<CHROMA_DB_PATH>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

a mem mcp in other clients