Brain Memory MCP
Brain Memory provides a persistent, hierarchical file-system memory for AI agents that decays over time and strengthens through recall. It offers a hosted MCP connector to share a single memory store across multiple agents like Claude Code, Codex, and ChatGPT, ensuring deterministic recall and security against memory poisoning.
Endpoint and access
OAuth sign-in: the first time you connect, your client opens the vendor's own authorization prompt in a browser.
MCP endpoint (Streamable HTTP)
https://mcp.brainmemory.ai/mcpWhat you can do with it
- Share persistent memory across Claude Code, Codex, and ChatGPT
- Implement hierarchical memory with exponential decay and spaced reinforcement
- Defend against memory poisoning with provenance-bearing sanitization
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
Claude Code configuration
claude mcp add --transport http brain-memory-mcp https://mcp.brainmemory.ai/mcpCodex
Codex configuration
codex mcp add brain-memory-mcp --url https://mcp.brainmemory.ai/mcpCursor
Cursor configuration
{
"mcpServers": {
"brain-memory-mcp": {
"url": "https://mcp.brainmemory.ai/mcp"
}
}
}Cline
Cline configuration
{
"mcpServers": {
"brain-memory-mcp": {
"type": "streamableHttp",
"url": "https://mcp.brainmemory.ai/mcp",
"disabled": false
}
}
}VS Code
VS Code configuration
{
"servers": {
"brain-memory-mcp": {
"type": "http",
"url": "https://mcp.brainmemory.ai/mcp"
}
}
}Gemini CLI
Gemini CLI configuration
gemini mcp add --transport http brain-memory-mcp https://mcp.brainmemory.ai/mcpClaude Desktop
Claude Desktop configuration
{
"mcpServers": {
"brain-memory-mcp": {
"url": "https://mcp.brainmemory.ai/mcp"
}
}
}Windsurf
Windsurf configuration
{
"mcpServers": {
"brain-memory-mcp": {
"serverUrl": "https://mcp.brainmemory.ai/mcp"
}
}
}Other ai and machine learning servers
Do you run Brain Memory MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.