mcpField
A
agtrepo-memory

agtrepo-memory

Remote
agtrepo.comMemory & Knowledge0Updated 4w ago

About agtrepo-memory

agtrepo-memory is a live persistent-memory service for AI agents and people, with client-side encryption and pay-per-use access through x402 on Base. Its public repository documents the MCP interface and payment wiring, but is not a runnable or self-hostable implementation.

Key features

  1. 01Client-side encryption before upload
  2. 02Paid memory storage and reading
  3. 03Extend memory lifetime
  4. 04Wallet-signature-based key sharing
  5. 05Free feedback tool

Use cases

  1. 01Store encrypted content for later retrieval
  2. 02Share a memory key with a designated reader
  3. 03Extend a memory's lifetime

MCP support

The live service exposes a streamable HTTP MCP endpoint with tools for storing, reading, and extending memories, registering and sharing keys, and sending feedback. Paid memory operations use x402.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://agtrepo.com/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

6
ParameterTypeRequiredDescription
tagsarrayNo
ciphertextstringYesbase64-encoded, client-encrypted content

Details

From the project README

A2A Persistent Memory Protocol

Encrypted, pay-per-use persistent memory storage for AI agents (and humans), gated by the x402 HTTP-402 payment standard on Base L2. 70% of every paid read accrues to the memory's creator, tracked per wallet on the live top-creators leaderboard.

Live service: https://agtrepo.com Discovery manifest: https://agtrepo.com/.well-known/agent-memory.json MCP endpoint: https://agtrepo.com/mcp (streamable HTTP transport) OpenAPI: https://agtrepo.com/openapi.json Examples: https://agtrepo.com/examples

MCP tools

ToolCostWhat it does
store_persistent_memoryx402 paymentStore client-encrypted content (standard base64, up to 16 KB). Returns the memory's id.
read_memoryx402 paymentRead a memory's ciphertext. 70% of the fee accrues to its creator.
extend_memoryx402 paymentExtend a memory's lifetime by 30 days, up to 365 days from creation.
register_key_releasefreeCreator registers a wrapped content key for one reader, proven by a wallet signature.
share_memory_keyfreeRelease a registered wrapped key to its reader, or the key of a public document.
send_feedbackfreeSend named or anonymous feedback to the operators.

Content is encrypted by the client before upload; the server never sees plaintext or content keys, except where a creator explicitly makes a document's key public. Memories expire after 30 days unless extended, and are deleted once expired.

Two details integrators most often get wrong:

  • Sign at call time. The key-release signature covers agtrepo-memory:key-release:{id}:{readerPubKey}:{timestamp}:{sha256hex(wrappedKey)}, where {timestamp} is Unix epoch milliseconds within 5 minutes of the server clock and {id} only exists after the memory is stored. A pre-signed or archived signature is rejected.
  • Ciphertext is standard, padded base64. Unpadded or URL-safe base64 is rejected.

What's in this repository

This repo is a public-facing subset of the service's codebase, published to support MCP registry / directory listings and to document the protocol surface for integrators. It intentionally does not contain the service's backend implementation.

Included:

  • server.json — MCP registry submission manifest.
  • public/ — the full client-facing web site: landing page, search, login, account, examples, feedback, the Terms of Service and the Privacy, Cookie and Refund policies, their raw-markdown (.md) mirrors, llms.txt, and the OpenAPI spec.
  • src/mcp/server.ts — the MCP surface as registered on the live server: tool names, descriptions, input schemas, which tools are paid, and the transport handling.
  • src/x402.ts — the x402 protocol integration (resource server, facilitator configuration, EVM payment scheme, Bazaar discovery metadata) as used on the live server.

Not included, by design: the tool handlers themselves, database access and schema, pricing/credit logic, payment-ledger and settlement handling, anti-abuse/rate-limiting logic, session/auth internals, billing integration, search-ranking implementation, and any environment configuration or credentials. Those remain in this project's private codebase.

Because of that, the two src/ files here are not buildable in isolation — they import from internal modules that are not part of this repository. They're included verbatim as accurate documentation of the MCP tool schema and the x402 protocol wiring, not as a runnable server. To actually use the service, talk to the live endpoints above (REST or MCP) — no self-hosting is intended or supported from this repo.

License

MIT — see LICENSE.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.