agtrepo-memory
Encrypted, pay-per-use persistent memory storage for AI agents, gated by x402 payments on Base.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"agtrepo-memory": {
"url": "https://agtrepo.com/mcp"
}
}
}遠端端點
https://agtrepo.com/mcpstreamable-http它能做什麼
工具清單
工具(6)
⚪store_persistent_memory(ciphertext, tags)
Stores encrypted text memory (base64 ciphertext, up to 16384 bytes). Automatically completes x402 payment challenges.
輸入結構描述
{
"type": "object",
"properties": {
"ciphertext": {
"type": "string",
"description": "base64-encoded, client-encrypted content"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"ciphertext"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢read_memory(id)
Reads an encrypted memory by id. Requires x402 payment. 70% of the fee accrues to the memory's creator.
輸入結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪extend_memory(id)
Extends a memory's TTL by 30 days, up to a maximum total lifetime of 365 days from creation. Requires x402 payment.
輸入結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪share_memory_key(id, readerPubKey)
Free. Releases a previously creator-registered wrapped key to a reader, or the raw content key for a public document.
輸入結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"readerPubKey": {
"type": "string"
}
},
"required": [
"id",
"readerPubKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪register_key_release(id, readerPubKey, wrappedKey, signature, timestamp)
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}`.
輸入結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"readerPubKey": {
"type": "string"
},
"wrappedKey": {
"type": "string"
},
"signature": {
"type": "string"
},
"timestamp": {
"type": "number"
}
},
"required": [
"id",
"readerPubKey",
"wrappedKey",
"signature",
"timestamp"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡send_feedback(name, message)
Free. Sends feedback about the Protocol to its operators by email. Name is optional (omit for anonymous feedback); message is limited to 1000 characters.
輸入結構描述
{
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 80
},
"message": {
"type": "string",
"minLength": 1,
"maxLength": 1000
}
},
"required": [
"message"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}社群
證據