Skip to main content
Glama
zzhang82

Agent Memory Bridge

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CODEX_HOMENoPath to the Codex home directory (e.g., %USERPROFILE%\.codex)
AGENT_MEMORY_BRIDGE_HOMENoPath to the Agent Memory Bridge home directory (e.g., %USERPROFILE%\.codex\mem-bridge)
AGENT_MEMORY_BRIDGE_CONFIGNoPath to the Agent Memory Bridge configuration file (e.g., %USERPROFILE%\.codex\mem-bridge\config.toml)
AGENT_MEMORY_BRIDGE_RUN_ONCENoSet to "1" to run only one cycle instead of continuous operation

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
storeA

Store one entry in the bridge for later retrieval or coordination.

Use this tool when you want to persist a compact memory record or write a signal that another workflow can poll later. Write durable knowledge as kind="memory" and transient coordination events as kind="signal".

Returns the stored entry identifier, timestamp, and duplicate information. Repeated memory writes may deduplicate; signal writes are intended to remain append-like.

recallA

Recall matching entries or poll for new signals from the bridge.

Use this tool to search durable memory, filter by metadata, or poll for fresh coordination signals. For issue-like work, prefer project and domain recall before external search. For workflow polling, pass since and usually kind="signal".

Returns matching items plus a next_since cursor that can be reused for the next polling cycle.

browseA

Browse recent items when you do not yet know what to search for.

Use this tool to inspect a namespace by filters alone. It is useful when you want to see recent memory, scan a domain bucket, or confirm that signals are flowing before writing a more specific recall query.

statsA

Return a quick health summary for one namespace.

Use this tool when you want to inspect what is in the bridge without opening SQLite directly. It returns total item count, a kind breakdown, top domains, and the oldest and newest entry timestamps for the namespace.

forgetA

Delete one stored entry by id.

Use this tool to remove a bad memory, an accidental write, or a signal that should no longer exist. The response tells you whether anything was deleted and returns the removed item metadata when a match is found.

claim_signalA

Claim one signal with a short lease for lightweight work coordination.

Use this when a worker should take ownership of a pending signal before it acts. If signal_id is omitted, the bridge claims the next eligible signal in the namespace that matches the optional filters, with a small fairness bias inside the oldest pending window so one polling consumer does not keep winning by accident.

ack_signalA

Acknowledge one claimed or pending signal so downstream polling can stop treating it as active work.

extend_signal_leaseA

Extend the active lease on one claimed signal.

Use this when a worker still owns a signal but needs more time before another consumer can reclaim it. Expired leases cannot be extended; those signals must be reclaimed instead. Hard signal expiry still takes precedence over lease renewal.

promoteA

Manually promote one stored memory to a stronger durable record type.

Use this tool when you know a record should be treated as a learn, gotcha, or domain note even if the reflex layer has not promoted it yet. Promotion keeps the same id and updates the stored title, tags, and structured content in place.

exportA

Export bridge content into a readable or portable format.

Use this tool when you want to inspect a namespace outside the MCP client, create a human-readable snapshot, or move memory into another system without opening the database directly.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zzhang82/Agent-Memory-Bridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server