# axs brain

> axs brain is an MCP server for agent memory. Shared long-term memory and team rules for Claude Code, Codex, Cursor and other MCP agents. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** CLI, API, Web
- **Website:** https://axs.sh/docs/brain
- **MCP Registry name:** sh.axs/brain
- **Categories:** [agent memory](https://ai-powered.com/categories/agent-memory)
- **Listing updated:** 2026-11-28

## About

Teams lose time when coding agents repeat mistakes that were already corrected in an earlier session. axs brain keeps a shared memory that sits behind the agents, so a lesson learned in one session is available to the next one, whichever agent or teammate picks it up.

When a session starts, the always-on rules are loaded, and when work begins on a project, server or tool, the memories tied to it are pushed in. Each prompt also pulls in the memories that match it, and after changes to infrastructure, deploy files or services, memories that may now be stale are flagged. Agents can additionally search memories with memory_search and read one in full with memory_get.

Memories are written as you work: when you correct an agent, it is asked to save the lesson as a short note, near-duplicates are merged into existing entries, and anything containing secrets is refused. Team owners can set rules that are enforced across agents, and existing CLAUDE.md, AGENTS.md or Cursor rules files can be imported. The product is aimed at engineering teams that use several MCP-compatible coding agents on shared codebases.

## Features

- **Shared memory across agents:** One memory store is used by Claude Code, Codex, Cursor and other MCP clients.
- **Context pushed at the right moment:** Relevant memories are injected at session start, project entry, each prompt and after infrastructure changes.
- **Lessons saved from corrections:** Corrections prompt the agent to store a short memory, with duplicate detection and secret filtering.
- **Team rules enforcement:** Owners set always-on rules and can block risky commands when the service is unreachable.
- **Private and team spaces:** Memories are organised into spaces with access control and a team changelog.
- **Export and backup:** Memories can be exported as Markdown or backed up nightly to your own server.

## Good for

- Stop coding agents from repeating a mistake already corrected by a teammate
- Share deployment steps and project conventions across a team using different agents
- Enforce standing team rules for agent sessions in a shared codebase
- Import existing CLAUDE.md or AGENTS.md instructions into a shared memory
- Keep an exportable backup of team agent memory

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http brain https://brain.axs.sh/mcp
```

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

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "brain": {
      "type": "http",
      "url": "https://brain.axs.sh/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://brain.axs.sh/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.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "brain": {
      "url": "https://brain.axs.sh/mcp"
    }
  }
}
```

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

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "brain": {
      "type": "http",
      "url": "https://brain.axs.sh/mcp"
    }
  }
}
```

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

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://brain.axs.sh/mcp
```

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

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add brain --url https://brain.axs.sh/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.brain]
url = "https://brain.axs.sh/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "brain": {
      "httpUrl": "https://brain.axs.sh/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http brain https://brain.axs.sh/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "brain": {
      "serverUrl": "https://brain.axs.sh/mcp"
    }
  }
}
```

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

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "brain": {
      "url": "https://brain.axs.sh/mcp",
      "transport": "http"
    }
  }
}
```

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

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "brain": {
      "type": "streamableHttp",
      "url": "https://brain.axs.sh/mcp"
    }
  }
}
```

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "brain": {
      "url": "https://brain.axs.sh/mcp"
    }
  }
}
```

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

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "brain": {
      "url": "https://brain.axs.sh/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "brain": {
      "url": "https://brain.axs.sh/mcp"
    }
  }
}
```

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

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "brain": {
      "url": "https://brain.axs.sh/mcp"
    }
  }
}
```

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

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://brain.axs.sh/mcp
```

Enter a Name (for example "axs brain"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin. When we checked, this server asked for OAuth sign-in. If its docs give you an OAuth client ID and secret, enter them in the form's OAuth Client ID and Client Secret fields.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "brain": {
      "type": "http",
      "url": "https://brain.axs.sh/mcp"
    }
  }
}
```

## Tools

Going by the tool names, all 2 tools only read data. From the server's own tool labels and tool names; not verified by us.

- `memory_search` (name suggests: reads): Search team memories.
- `memory_get` (name suggests: reads): Read a memory in full.

## FAQ

### How do I connect my agent?

Install the axs CLI, run axs login, then use axs install for claude, codex or cursor. Other MCP clients connect using the connector URL.

### What happens if axs brain is down?

Agents keep working without memories because each hook gives up after a few seconds. Rule checks pause as well, unless an owner has set the team to block risky commands when the service is unreachable.

### Can I import my existing agent instructions?

Yes. If you already have a CLAUDE.md, AGENTS.md or Cursor rules file, your agent offers to import it during the first sessions.

### Can I export my memories?

You can export a space as Markdown files at any time, or back up all team memories to your own server each night with a cron script and a backup key.

### How do I add axs brain to Claude Code?

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

### What are the best alternatives to axs brain?

The closest alternatives to axs brain are Memorinth, memsprout, Hippo memory, Heirmos and Threadctx MCP.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status: checked automatically by AIPoweredBot on 29 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Memorinth](https://ai-powered.com/mcp/memorinth): Memorinth is a free MCP server for knowledge and memory.
- [memsprout](https://ai-powered.com/mcp/memsprout): memsprout is a paid MCP server for agent memory.
- [Hippo memory](https://ai-powered.com/mcp/hippo-memory): Hippo memory is an open-source MCP server for knowledge and memory.
- [Heirmos](https://ai-powered.com/mcp/heirmos): Heirmos is a free MCP server for knowledge and memory.
- [Threadctx MCP](https://ai-powered.com/mcp/threadctx-mcp): Threadctx MCP is a freemium MCP server for developer tools.
- [Sessionmem](https://ai-powered.com/mcp/sessionmem): Sessionmem is an open-source MCP server for agent memory.
- [aide-memory](https://ai-powered.com/mcp/aide-memory): aide-memory is an open-source MCP server for knowledge and memory.
- [Memxus](https://ai-powered.com/mcp/memxus): Memxus is an MCP server for agent memory.

---
Source: https://ai-powered.com/mcp/axs-brain
