Skip to content
MCP server

agexs brain

Shared long-term memory and team rules for Claude Code, Codex, Cursor and other MCP agents

agexs brain is an MCP server for agent memory. It runs as a hosted remote server, so there is nothing to install locally.

Platforms
CLI, API, Web
Runs
Remotely
What it can do
Read-only
Version
1.0.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add --transport http brain https://brain.agexs.dev/mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "brain": {
      "type": "http",
      "url": "https://brain.agexs.dev/mcp"
    }
  }
}

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

https://brain.agexs.dev/mcp

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "brain": {
      "url": "https://brain.agexs.dev/mcp"
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "brain": {
      "type": "http",
      "url": "https://brain.agexs.dev/mcp"
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

In chatgpt.com → Plugins → + → Add custom MCP server

https://brain.agexs.dev/mcp

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

ChatGPT setup guide

Add with the CLI

Run in a terminal

codex mcp add brain --url https://brain.agexs.dev/mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.brain]
url = "https://brain.agexs.dev/mcp"

Codex setup guide

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://brain.agexs.dev/mcp

Enter a Name (for example "agexs brain"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "brain": {
      "type": "http",
      "url": "https://brain.agexs.dev/mcp"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "brain": {
          "httpUrl": "https://brain.agexs.dev/mcp"
        }
      }
    }

    Or run: gemini mcp add -s user --transport http brain https://brain.agexs.dev/mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "brain": {
          "serverUrl": "https://brain.agexs.dev/mcp"
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "brain": {
          "url": "https://brain.agexs.dev/mcp",
          "transport": "http"
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "brain": {
          "type": "streamableHttp",
          "url": "https://brain.agexs.dev/mcp"
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "brain": {
          "url": "https://brain.agexs.dev/mcp"
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "brain": {
          "url": "https://brain.agexs.dev/mcp"
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "brain": {
          "url": "https://brain.agexs.dev/mcp"
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "brain": {
          "url": "https://brain.agexs.dev/mcp"
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About agexs brain

Teams that use several coding agents often watch them repeat the same mistakes across sessions. This server keeps a shared memory that agents write to when someone corrects them, then feeds the relevant notes back in at session start, on each prompt, and before work on infrastructure or deploy files.

Memories are saved as short entries with a type, scope and space, and always-on rules can be pinned so they load every session. Before saving, the system checks for near-duplicates and updates them instead of creating copies, and entries containing secrets are refused. Agents can also search and read memories on demand with dedicated tools.

The product is aimed at development teams working with MCP-capable agents. Spaces can be private or shared, team owners can choose whether risky commands are blocked when the memory service is unreachable, and spaces can be exported as Markdown or backed up to your own server.

Tools this server provides (2)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, all 2 tools only read data.

From the server's own tool labels and tool names; not verified by us.

memory_searchName suggests: reads
Searches saved memories.
memory_getName suggests: reads
Reads a memory in full.

What it does

Shared memory across agents
One memory store is used by Claude Code, Codex, Cursor and other MCP clients.
Automatic lesson capture
When an agent is corrected, it is asked to save the lesson as a short memory.
Context injection per prompt
Relevant memories are pushed into sessions at start, per prompt and after infra changes.
Duplicate detection
New lessons are compared with existing memories and merge into them when close.
Team rules enforcement
Always-on rules apply to every session, with optional blocking of risky commands.
Private and team spaces
Memories are organised into spaces that control who can access them.
Markdown export and backup
Spaces can be exported as Markdown or backed up nightly to your own server.

Good for

  • Stop coding agents from repeating a mistake a teammate already corrected
  • Share deploy steps and project conventions across a team's agents
  • Keep CLAUDE.md, AGENTS.md or Cursor rules in one shared place
  • Load server or tool-specific notes when an agent starts work on them
  • Export team memory to Markdown for review or archiving

agexs brain FAQ

Which agents can connect?

The CLI has install commands for Claude Code, Codex and Cursor, and other MCP clients can connect using the connector URL.

What happens if the memory service is down?

Agents keep working without memories, and every hook gives up after a few seconds. Rule checks pause unless an owner enables blocking of risky commands when the service is unreachable.

Are secrets stored in memories?

Memories containing secrets are refused when saved.

Can I export my memories?

Yes, a space can be exported as Markdown files at any time, and memories can be backed up to your own server with a cron script and a backup key.

How do I add agexs brain to Claude Code?

Run this command in your terminal: claude mcp add --transport http brain https://brain.agexs.dev/mcp

What are the best alternatives to agexs brain?

The closest alternatives to agexs brain are axs brain, memsprout, Memorinth, Hippo memory and Sessionmem.

Where this comes from

  • Description: written from the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers