# memory-mcp — persistent memory for AI agents (mem.borisinc.com) > Your wallet is your memory. Pay per call via x402 (Base mainnet USDC), no account, no API key. Memories are namespaced to the paying wallet and semantically indexed. HTTP: GET /paid/memory/write?content=&tags= ($0.001) . GET /paid/memory/search?query=&k= ($0.002) . GET /paid/memory/export ($0.01) . free GET /memory/stats?namespace= FREE TRIAL: /trial/memory/write + /trial/memory/search — 5 records, 24h TTL, IP-keyed, NOT private. Taste the loop, then bring a wallet. SUBSCRIPTION: GET /subscribe — $2.00 for 30 days unlimited ops on your wallet namespace (bearer token). AGENT-KEYED MEMORY (ERC-8004): add agent_id= to any call — memory binds to your on-chain agent (Base IdentityRegistry), survives wallet rotation. Requires setAgentWallet attestation; payer must be the agentWallet. SHARED MEMORY (grants): namespace owner signs an EIP-712 grant (GET /grant/payload builds it); grantee calls with on_behalf= and grant=. read|write|rw, max 90 days. Multi-agent teams share one memory. MCP: https://mem.borisinc.com/mcp — memory_write / memory_search / memory_export / memory_stats(free), x402 payment in _meta; agent_id/on_behalf/grant args supported. Discovery: /openapi.json . Human quickstart: /quickstart . 402 challenge in payment-required header.