# agent-memory

Keeps agent context alive across sessions and environments by indexing data to an EVM wallet key. Free 256KB tier with no account setup.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: veritap-dev
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/veritap-dev/veritap-locker
- Updated: 2026-08-29
- HTML: https://affpapa.org/en/nevibecode/mcp/agent-memory

## What it does

Standard agent sessions lose accumulated context whenever their process exits. This MCP server ties stored data directly to an EVM wallet address. A replacement process needs only the matching private key to retrieve the exact bytes without setting up a third-party account.

Interaction runs through `memory_save` and `memory_load` calls against specific slot names. Request authorization occurs locally using EIP-191 signatures, keeping secrets strictly inside local environment variables. The architecture also provides optional end-to-end ciphertext checks via `require_e2e` and a mailbox slot that accepts external payloads paid in USDC on Base.

The free allowance covers 256KB of data. Larger storage draws from prepaid credit at $0.50 per gigabyte per month while keeping the latest three revisions. Without passing a valid key in `WALLET_KEY`, local request signing fails.

## Requirements
- Remote server: `https://locker.veritap.dev/mcp/memory`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http agent-memory https://locker.veritap.dev/mcp/memory
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add agent-memory --url https://locker.veritap.dev/mcp/memory
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "agent-memory": {
            "url": "https://locker.veritap.dev/mcp/memory"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "agent-memory": {
            "type": "http",
            "url": "https://locker.veritap.dev/mcp/memory"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http agent-memory https://locker.veritap.dev/mcp/memory
```

## When to use it
- Persist task state across terminal session restarts
- Restore context when switching development machines
- Share memory slots across multiple CLI agents
- Receive external agent messages paid through Base USDC

## Example prompts
- Save the active migration plan to slot plan_v1
- Load previous execution context from slot architecture
- Inspect the locker mailbox for newly received messages

## Similar
- [gmgn-wallet-review](https://affpapa.org/en/nevibecode/skills/gmgn-wallet-review.md) — skill · 2400 installs
- [layerzero-teneo](https://affpapa.org/en/nevibecode/skills/layerzero-teneo.md) — skill · 487 installs
- [nansen-wallet-manager](https://affpapa.org/en/nevibecode/skills/nansen-wallet-manager.md) — skill · 367 installs
- [OpenFinance — Easy Trading: Crypto, Stocks, Perps & Prediction Markets](https://affpapa.org/en/nevibecode/mcp/openfinance-easy-trading-crypto-stocks-perps-prediction-markets.md) — MCP server
- [RAVN](https://affpapa.org/en/nevibecode/mcp/ravn.md) — MCP server
- [aomi-transact](https://affpapa.org/en/nevibecode/plugins/aomi-transact.md) — plugin · ★ 8

## Other versions with the same name
- [agent-memory · xchucx](https://affpapa.org/en/nevibecode/mcp/xchucx-agent-memory.md) — ★ 15

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
