Agent Memory Bridge logo

Agent Memory Bridge

by zzhang82

Local MCP memory for coding decisions, project knowledge, run tracking, and signal-based coordination across sessions.

Install Agent Memory Bridge

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "zzhang82-agent-memory-bridge": {
      "command": "uvx",
      "args": [
        "agent-memory-bridge"
      ],
      "env": {
        "AGENT_MEMORY_BRIDGE_HOME": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

zzhang82/Agent-Memory-Bridge MCP server gives coding agents a local store for durable decisions, gotchas, domain notes, and short-lived coordination signals. Agents use MCP tools to store, recall, browse, revise, annotate, export, and remove records, while run and signal tools support explicit workflow tracking and worker handoffs. Project namespaces can be initialized from Git repositories, and later sessions must call recall deliberately to retrieve earlier knowledge. Reach for it when multiple coding sessions or agents need shared project context without relying on old chat history.

Use cases

  • Store confirmed project decisions for later coding sessions
  • Recall domain knowledge before changing a repository
  • Coordinate parallel workers with leased signals
  • Track multi-step runs and verified outcomes
  • Export project memory for inspection or migration

Key features

  • Local namespaced memory storage
  • Decision revision and provenance tracking
  • Signal polling with claims and leases
  • Explicit run and work-item ledgers
  • Readable and portable memory export
  • MCP client connection and trigger setup

Tools17

What Agent Memory Bridge lets your agent do. Expand a tool for its parameters.

Verified live~8.3k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

22/23 checks healthy over the last 112d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4d ago via OSV.dev · agent-memory-bridge (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars7Stargazers on the source repository.
Last commit6d agoMost recent push to the default branch.
Tools exposed17Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Agent Memory Bridge works

What zzhang82/Agent-Memory-Bridge does

zzhang82/Agent-Memory-Bridge provides local, MCP-native memory for coding workflows. It keeps project decisions, their reasons, constraints, gotchas, and domain knowledge available beyond the session that created them. A later agent can retrieve those records from the same bridge rather than reconstructing context from an earlier conversation.

The bridge also handles short-lived coordination. Signals can represent work that another process should poll, claim, lease, and acknowledge. Durable memories and transient signals use separate semantics: repeated memory writes may be deduplicated, while signals are intended to remain append-like.

Records can be corrected without erasing history. A revised memory supersedes its predecessor, annotations add metadata without presenting the operation as a new fact, and promotion changes a record into a stronger durable type while retaining its identifier.

How it works

The server uses namespaces to separate project or workflow data. Project initialization detects a Git repository and proposes a namespace such as project:my-app; project resolve can later return the namespace for use by clients. Multiple processes can share a home directory, allowing one process to store a decision and another fresh process to recall it.

Memory retrieval is explicit. Connecting an MCP client does not automatically cause an agent to learn or recall records. A workflow should call recall at startup or before changing code, using the relevant project and domain filters. browse is useful when the search terms are not yet known, while stats provides a compact view of counts, kinds, domains, and time boundaries.

Run tracking is stateless from the caller’s perspective. A caller starts a run, passes the returned run and work-item handles to later event, read, and completion operations, and can use get_run for recovery after reconnects or compaction. Run outcomes and corrections are recorded without changing memory ranking.

Setup and configuration

AMB requires Python 3.11 or newer and Git. A typical setup creates a virtual environment, installs the agent-memory-bridge package, initializes the project, and runs the diagnostic command:

bash
python3 -m venv .amb-venv
.amb-venv/bin/python -m pip install agent-memory-bridge
.amb-venv/bin/python -m agent_mem_bridge project init . --yes
.amb-venv/bin/python -m agent_mem_bridge doctor

Run the module with one persistent AGENT_MEMORY_BRIDGE_HOME so separate processes use the same bridge. Client configuration can be generated with connect <client> --yes, or written manually from the MCP command shape. Supported connection commands include Claude Code, Cursor, Codex, Cline, and VS Code. Trigger reminders can be installed separately for supported workflow moments.

An existing home can be selected by setting AGENT_MEMORY_BRIDGE_HOME; this is also useful when moving an older bridge directory to a new location. Project-level token configuration must remain outside version control.

Tools and capabilities

  • store writes durable memories or transient signals and reports identifiers, timestamps, and duplicate information.
  • recall searches memories, filters metadata, or polls signals. Empty-query signal polling returns a cursor for the next cycle.
  • browse lists recent records by namespace filters, while stats reports namespace health and composition.
  • forget removes a record by ID. promote, annotate, and revise support controlled changes with provenance or predecessor history.
  • feedback records append-only retrieval feedback without changing stored memories, results, or ranking.
  • export produces readable or portable output for inspection or migration.
  • begin_run, record_run_event, get_run, and complete_run provide explicit run and work-item tracking.
  • claim_signal, extend_signal_lease, and ack_signal coordinate workers around pending signals with short leases.

Limitations and notes

The bridge does not infer memories from chat automatically. Agents must store confirmed knowledge and must recall it intentionally. Free-form kind="memory" records can be retrieved, while decision and constraint workflows use declared record types for exploration and inspection.

Signal polling cursors track later insertions, not status changes to older signals. Expired leases cannot be extended and must be reclaimed, and hard signal expiry takes precedence over renewal. Feedback provenance is caller-declared rather than authenticated.

Connection or trigger setup can create untracked project files, which may make the Git worktree appear dirty until those files are committed or ignored.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Agent Memory Bridge

zzhang82/Agent-Memory-Bridge is an MCP server that connects coding sessions and local project memory. Its main tools store and recall durable decisions, gotchas, and domain knowledge, while browse, revise, export, run-tracking, and signal-coordination tools support inspection, handoffs, and multi-step workflows across sessions.

Install it with Python 3.11+ in a virtual environment, then run `python -m pip install agent-memory-bridge`. Initialize a repository with `python -m agent_mem_bridge project init . --yes` and check the setup with `python -m agent_mem_bridge doctor`. Git is also required.

It shares memory through a persistent bridge home and namespace. One process stores a record, and a later process using the same home can recall it. Agents must call `recall` deliberately; connecting the MCP server alone does not automatically learn from or retrieve chat content.

Yes, Cursor is a supported client. Run `connect cursor --yes` through the installed `agent_mem_bridge` module to generate the Cursor MCP configuration, or use `--check` to verify the connection. Cursor trigger reminders can also be installed separately.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAgent Memory Bridge AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/zzhang82-agent-memory-bridge?style=directory)](https://allmcps.com/mcp/zzhang82-agent-memory-bridge)
HTML Embed
<a href="https://allmcps.com/mcp/zzhang82-agent-memory-bridge"><img src="https://allmcps.com/api/badge/zzhang82-agent-memory-bridge?style=directory" alt="Agent Memory Bridge on AllMCPs" /></a>