
Security News
Ruby's Bundler 4.0.18 Extends Cooldown to bundle lock and bundle cache
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.
bmdpat-agent-memory
Advanced tools
MCP server for the bmdpat.com Agent Memory API — persistent key-value memory for AI agents, powered by x402 USDC micropayments on Base.
MCP server for the bmdpat.com Agent Memory API — persistent key-value memory for AI agents, paid per-call with USDC micropayments on Base via x402.
Exposes four tools that let any MCP-compatible AI agent (Claude, Cursor, etc.) read and write persistent memories:
| Tool | Description | Cost |
|---|---|---|
memory_store | Store a key-value memory in a namespace | ~$0.001 |
memory_recall | Retrieve a specific memory or list all in a namespace | ~$0.001 |
memory_forget | Delete a memory by namespace + key | ~$0.0005 |
memory_stats | Get total count and list of all namespaces | ~$0.0001 |
Payments are handled automatically — the server intercepts 402 responses and signs the USDC transfer for you.
EVM_PRIVATE_KEY)Bridge USDC to Base at bridge.base.org or buy directly on Coinbase. Even $1 covers ~1,000 memory operations.
npm install -g @bmdpat/agent-memory-mcp
Or run without installing:
npx @bmdpat/agent-memory-mcp
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"agent-memory": {
"command": "npx",
"args": ["@bmdpat/agent-memory-mcp"],
"env": {
"EVM_PRIVATE_KEY": "0xYOUR_PRIVATE_KEY_HERE"
}
}
}
}
Add to .cursor/mcp.json in your project root or ~/.cursor/mcp.json globally:
{
"mcpServers": {
"agent-memory": {
"command": "npx",
"args": ["@bmdpat/agent-memory-mcp"],
"env": {
"EVM_PRIVATE_KEY": "0xYOUR_PRIVATE_KEY_HERE"
}
}
}
}
Any client that supports stdio MCP servers works. Point it to npx @bmdpat/agent-memory-mcp with EVM_PRIVATE_KEY in the environment.
| Variable | Required | Default | Description |
|---|---|---|---|
EVM_PRIVATE_KEY | Yes | — | EVM private key (32-byte hex, 0x-prefixed or not). Must have USDC on Base. |
MEMORY_API_URL | No | https://bmdpat.com | Override the API base URL (for local dev/testing). |
Security: Use a dedicated wallet with only the USDC you need. Never use a wallet that holds large amounts or controls other assets.
Once configured, ask your AI agent to:
Store the current task context in memory namespace "my-project", key "current-task"
Recall all memories in namespace "my-project"
What namespaces do I have stored in memory?
Forget the memory at namespace "my-project", key "old-context"
Use namespaces to organize memories by scope:
session-{id} — per-session contextuser-{id} — user-specific preferencesproject-{name} — project-level shared contextglobal — cross-session persistent factsWhen the MCP server calls the API:
TransferWithAuthorization over USDC using your private keyX-PAYMENT header and the request is retriedNo pre-authorization or account registration needed — just a wallet with USDC.
git clone https://github.com/bmdhodl/bmdpat
cd bmdpat/mcp-server
npm install
npm run build
node dist/index.js
The underlying API is documented at the endpoints below. All require x402 payment:
POST /api/memory/store — store a key-value memoryPOST /api/memory/recall — retrieve by key, or list all in namespaceDELETE /api/memory/forget — delete a specific memoryGET /api/memory/stats — total count and namespace listMIT
FAQs
MCP server for the bmdpat.com Agent Memory API — persistent key-value memory for AI agents, powered by x402 USDC micropayments on Base.
We found that bmdpat-agent-memory demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.