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 天
  • 以錢包簽章登記給指定讀者的封裝內容金鑰,並向該讀者釋出
  • 向人工營運者送出免費意見回饋
適用情境
當 AI 代理需要跨工作階段、跨代理或跨機器共享的持久記憶,且願意為儲存、讀取與延長按次透過 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 整合