Agent Infra Mcp

io.github.lulzasaur9192由 GitHub 帳號 lulzasaur9192 發布v1.0.2更新於 Oct 24, 2026

18 tools: agent memory, API drift detection, and HMAC-signed trust receipts

發布方自己的服務:Infrapage

概覽

AI 產生的概覽

本機 MCP 伺服器,為 AI 助理提供 18 個工具,用於持久化代理記憶、API 漂移偵測與 HMAC 簽章的信任憑證。

可以做什麼
  • 依命名空間儲存、批次儲存、列出、讀取、更新與刪除帶中繼資料與 TTL 的記憶,並進行全文檢索
  • 檢視記憶使用統計
  • 建立、列出、更新與刪除黃金 API 測試(精確、子集、包含或狀態比對),並手動執行
  • 檢視漂移測試的執行歷史與差異,並查看含漂移率與回應時間的儀表板
  • 簽發、驗證(線上或離線)與列出記錄代理動作的 HMAC-SHA256 簽章信任憑證
適用情境
適合需要讓助理跨工作階段保留記憶、監控外部 API 端點是否出現非預期變更,或為助理自身動作產生防竄改稽核紀錄的情境。
執行需求
透過 npx 從 npm 套件在本機執行,需要 Node.js。需要三個獨立的 API 金鑰作為環境變數:AGENT_MEMORY_API_KEY、AGENT_DRIFT_API_KEY 與 TRUST_RECEIPT_API_KEY。僅支援桌面用戶端,沒有遠端端點。
安裝前請注意
三個服務 API 金鑰以明文環境變數形式寫入用戶端設定。記憶工具會寫入、更新與刪除已存資料,包括整個命名空間,漂移測試也可被刪除。漂移測試會向你註冊的 API 端點發出對外請求,記憶與憑證資料會傳送到各自的後端服務。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Agent Infra Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@lulzasaur9192/agent-infra-mcp

MCP server with 18 tools for AI agent infrastructure — persistent memory, API drift detection, and HMAC-signed trust receipts.

Installation

bash
npx @lulzasaur9192/agent-infra-mcp

Claude Desktop / Cursor

json
{  "mcpServers": {    "agent-infra": {      "command": "npx",      "args": ["-y", "@lulzasaur9192/agent-infra-mcp"],      "env": {        "AGENT_MEMORY_API_KEY": "your-key",        "AGENT_DRIFT_API_KEY": "your-key",        "TRUST_RECEIPT_API_KEY": "your-key"      }    }  }}

Tools (18)

Memory (8 tools)

Persistent key-value store with namespaces, metadata, TTL, and FTS5 full-text search.

  • memory_store — Store a memory (namespace + key + value)
  • memory_store_batch — Batch store up to 100 memories
  • memory_list — List memories in a namespace
  • memory_get — Get a specific memory
  • memory_update — Update value, metadata, or TTL
  • memory_delete — Delete a memory or entire namespace
  • memory_search — Full-text search with metadata filtering
  • memory_stats — Usage statistics

Drift Detection (7 tools)

Monitor API endpoints for unexpected changes with golden test cases and cron scheduling.

  • drift_create_test — Register a golden test (exact/subset/contains/status match)
  • drift_list_tests — List all tests
  • drift_run_test — Execute a test manually
  • drift_test_history — View run history and diffs
  • drift_update_test — Update test configuration
  • drift_delete_test — Remove a test
  • drift_dashboard — Overview with drift rate and response times

Trust Receipts (3 tools)

HMAC-SHA256 signed, tamper-proof records of agent actions for audit trails.

  • receipt_issue — Issue a signed receipt for an agent action
  • receipt_verify — Verify receipt integrity (online or offline)
  • receipt_list — List receipts with filters

API Keys

Each service uses its own API key:

ServiceEnv VarAPI
MemoryAGENT_MEMORY_API_KEYagent-memory-api
DriftAGENT_DRIFT_API_KEYagent-drift-api
ReceiptsTRUST_RECEIPT_API_KEYtrust-receipt-api

License

MIT

來源:README.md,提交 0619231

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.2最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。

其他 Infra 整合