Skip to content
MCP server

Brigade Memory

Shared memory, MCP config and check records for coding agents like Claude Code and Codex

Runs locally

Brigade Memory is an open-source MCP server for knowledge and memory. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, macOS, Linux
Runs
Locally
Version
0.32.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add brigade-memory -- uvx brigadestack

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": {
    "brigade-memory": {
      "command": "uvx",
      "args": [
        "brigadestack"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "brigade-memory": {
      "command": "uvx",
      "args": [
        "brigadestack"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

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

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "brigade-memory": {
      "command": "uvx",
      "args": [
        "brigadestack"
      ]
    }
  }
}

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": {
    "brigade-memory": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "brigadestack"
      ]
    }
  }
}

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

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add brigade-memory -- uvx brigadestack

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.brigade-memory]
command = "uvx"
args = ["brigadestack"]

Codex setup guide

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

{
  "mcpServers": {
    "brigade-memory": {
      "command": "uvx",
      "args": [
        "brigadestack"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "brigade-memory": {
          "command": "uvx",
          "args": [
            "brigadestack"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user brigade-memory uvx -- brigadestack

    Antigravity

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

    {
      "mcpServers": {
        "brigade-memory": {
          "command": "uvx",
          "args": [
            "brigadestack"
          ]
        }
      }
    }

    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": {
        "brigade-memory": {
          "command": "uvx",
          "args": [
            "brigadestack"
          ]
        }
      }
    }

    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": {
        "brigade-memory": {
          "command": "uvx",
          "args": [
            "brigadestack"
          ]
        }
      }
    }

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

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "brigade-memory": {
          "command": "uvx",
          "args": [
            "brigadestack"
          ]
        }
      }
    }

    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": {
        "brigade-memory": {
          "command": "uvx",
          "args": [
            "brigadestack"
          ]
        }
      }
    }

    Junie

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

    {
      "mcpServers": {
        "brigade-memory": {
          "command": "uvx",
          "args": [
            "brigadestack"
          ]
        }
      }
    }

    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": {
        "brigade-memory": {
          "command": "uvx",
          "args": [
            "brigadestack"
          ]
        }
      }
    }

    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 Brigade Memory

Coding agents such as Claude Code, Codex and Cursor each keep their own notes, so context learned in one session often disappears before the next. BrigadeStack stores durable memory as markdown cards inside the repository, where any checkout and any supported agent can search them. Agents leave handoff notes with decisions and next steps, which a reviewer can file as cards.

The same tool keeps one catalog of MCP servers and skills in a single file and writes it into each configured tool's own config, previewing changes before writing. It also runs test and build commands through a verification command that saves the command, exit code, logs and a fingerprint of the tested tree, so another agent can confirm what was run against which code.

It suits developers who switch between several coding agents on the same repository and want shared context, consistent MCP setup and verifiable test runs without a hosted service. The memory server exposes cards and a handoff writer over MCP, and the workflow runs on local files.

What it does

Shared memory cards
Durable notes are stored as markdown cards in the repo and found by search from any checkout.
Handoff notes
Agents write decisions, facts and next steps as handoffs that the next session can load.
Unified MCP and skill config
One catalog is synced into each configured tool's own settings, with a preview before writing.
Verification records
Commands run through the tool keep their exit code, logs and tree fingerprint as a receipt.
Shared task claims
A task list lets agents claim work, and a second claim on the same item is refused.
Adjustable enforcement modes
Strict, observe and off modes control whether checks are required before a session finishes.
Local code graph
An optional local index of symbols and calls shows what a change may touch before editing.

Good for

  • Keep context shared between Claude Code and Codex working on the same repository
  • Record test and build results so another agent can verify a claimed pass
  • Give several coding agents the same GitHub or other MCP server without editing each config by hand
  • Leave decision notes at the end of a session for the next agent to pick up
  • Prevent two agents from picking up the same task from a shared list

Pricing

Open source

MIT licensed and free to install and run locally.

Prices change. Check brigade.tools before you buy.

Brigade Memory FAQ

How do I install Brigade Memory?

Install with pipx install brigadestack (Python 3.11 or newer) or npm install -g brigadestack (Node.js 22.15+ or 23.11+). The command is brigadestack.

Where is memory stored?

Memory is kept as markdown cards and JSON or markdown files inside the repository or workspace, with local state under a .brigade folder that is kept out of git by default.

Does a passing check prove the tests are good?

No. A check record shows that a command ran and what it returned, not that the tests are adequate.

Which agent tools are supported?

The docs list Claude Code, Codex, Cursor and OpenCode for workspace instructions, handoff inboxes and MCP and skill config, with ChatGPT Dot and Claude Duet connectors you host.

Is Brigade Memory free?

Yes. Brigade Memory is open source, so you can use and self-host it for free.

How do I add Brigade Memory to Claude Code?

Run this command in your terminal: claude mcp add brigade-memory -- uvx brigadestack

What are the best alternatives to Brigade Memory?

The closest alternatives to Brigade Memory are Brigade Skills, Repo Memory, Memoir, Hippo memory and Project Memory MCP.

Where this comes from

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

How AIPoweredBot checks servers