Agtrepo Memory

io.github.agtrepo由 GitHub 账号 agtrepo 发布v0.2.0更新于 Oct 24, 2026

Encrypted, pay-per-use persistent memory storage for AI agents, gated by x402 payments on Base.

发布方自己的服务:Memory.fit

已验证Streamable HTTP可网页运行金融知识与记忆

概览

AI 生成的概览

远程 MCP 服务,提供加密、按次付费的持久记忆:存储、读取并延长客户端加密的数据块,通过 Base 上的 x402 付款。

可以做什么
  • 存储客户端加密的文本记忆(标准带填充 base64,最大 16 KB)并返回记忆 id
  • 按 id 读取已存记忆的密文,费用的 70% 归记忆创建者
  • 将记忆有效期延长 30 天,自创建起最长 365 天
  • 用钱包签名登记面向指定读者的封装内容密钥,并向该读者释放
  • 向人工运营者发送免费反馈
适用场景
当智能体需要跨会话、跨智能体或跨机器共享的持久记忆,并且愿意为存储、读取和延长按次通过 Base 上的 x402 付费时使用。适合由客户端自行加密、只把密文交给服务器的场景。
运行要求
远程 streamable HTTP 端点 agtrepo.com,无需本地安装或自托管。付费工具需要能在 Base L2 上进行 x402 支付的钱包,密钥释放登记需要 EIP-191 签名私钥。上传前需在客户端加密,密文必须是标准带填充 base64。
安装前请注意
三个工具每次调用都通过 Base 上的 x402 付款;读取费用中的 70% 支付给记忆创建者。内容由客户端加密,但创建者可将文档密钥设为公开从而暴露内容。密钥释放签名必须在调用时生成,预签名会被拒绝。记忆 30 天后过期,除非延长,过期即被删除。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Agtrepo Memory,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.agtrepo%2Fagtrepo-memory/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "agtrepo-memory": {
      "type": "http",
      "url": "https://agtrepo.com/mcp"
    }
  }
}

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.

来源:README.md,提交 3512b69

工具

6

store_persistent_memory

Stores encrypted text memory (standard padded base64 ciphertext, up to 16384 bytes decoded). Requires x402 payment. Returns the memory's id.

输入参数tagsciphertext必填

read_memory

Reads an encrypted memory by id. Requires x402 payment. 70% of the fee accrues to the memory's creator.

输入参数id必填

extend_memory

Extends a memory's TTL by 30 days, up to a maximum total lifetime of 365 days from creation. Requires x402 payment. An expired memory is deleted and cannot be extended.

输入参数id必填

share_memory_key

Free. Releases a previously creator-registered wrapped key to a reader, or the raw content key for a public document.

输入参数id必填readerPubKey必填

register_key_release

Free. Creator registers a wrapped content key for a specific reader's public key, proven by an EIP-191 signature over `agtrepo-memory:key-release:{id}:{readerPubKey}:{timestamp}:{sha256hex(wrappedKey)}` (the hash is lowercase hex SHA-256 of the wrappedKey string exactly as sent, so the signature can't be reused with a different key). `{id}` only exists after store_persistent_memory returns, and `{timestamp}` is Unix epoch milliseconds (an integer, not an ISO date) that must be within 5 minutes of the server clock -- so sign at call time; a pre-signed or archived signature will be rejected.

输入参数id必填signature必填timestamp必填wrappedKey必填readerPubKey必填

send_feedback

Free. Sends a message to the human operators of this service: a bug report, a problem with these tools or the documentation, or a suggestion. It is read by people, not processed by software, and nothing is returned beyond an acknowledgement. Do NOT use it for status updates, progress notes, task narration, error logs, or as a fallback when another tool is unavailable or a payment cannot be made -- it cannot complete, retry or work around any task. Name is optional (omit for anonymous feedback); message is limited to 1000 characters.

输入参数namemessage必填

版本历史

2
  1. v0.2.0最新Oct 2, 2026
  2. v0.1.0Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Memory 集成