Assay A2A, MCP & x402 Pre-Flight Verifier & Observatory

dev.agentdiet由 agentdiet.dev 发布官方发布者v7.0.17更新于 Oct 26, 2026

Live behavioral security verifier, schema auditor, and trust oracle for A2A, MCP & x402 agents.

发布方自己的服务:AgentDiet AI Token Diet & Context Window Distiller

已验证Streamable HTTP可网页运行金融开发者工具安全与监控

概览

AI 生成的概览

远程校验服务,让助手在调用或付费前对 MCP、A2A 与 x402 端点做预检,检查可达性、工具架构漂移与提示注入投毒。

可以做什么
  • 在调用前把关远程 MCP、A2A 或 x402 端点:探测 JSON-RPC 可达性、对 tools/list 架构做哈希,并扫描提示注入投毒;可提供预期哈希,不匹配时强制判定为拒绝。
  • 注册新端点或刷新其公开观测档案,执行实时 HTTP、agent-card 与 JSON-RPC 检查,但不做策略判定。
  • 在付费后审计 x402 或 A2A 提供方,生成 HMAC 签名回执以确认交付或证明 SLA 违约,并可绑定交易哈希。
  • 读取历史一致性观测记录,并在 Assay 账本中为目标端点固定或管理 tools/list 的 SHA-256 策略哈希。
适用场景
当助手即将调用或付费使用第三方 MCP、A2A、x402 服务,希望先实时确认可达性、工具架构稳定性与注入风险时适用;也适合在付款后需要交付证据或 SLA 违约证明的场景。
运行要求
需要远程 streamable HTTP 端点;未声明认证、环境变量或请求头。被检测目标必须是公开 HTTPS 源,私有 IP 会被拒绝。需要能访问 Assay 服务及被探测端点。
安装前请注意
探测会把第三方端点地址提交给 Assay 服务,并为其保留公开档案与带时间戳的观测账本。验证可绑定支付交易哈希,交易标识应视为敏感信息。固定 tools/list 哈希会改变该目标的已存策略。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Assay A2A, MCP & x402 Pre-Flight Verifier & Observatory,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

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

交给智能体安装

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

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

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

其他 MCP 客户端

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

{
  "mcpServers": {
    "assay-a2a-x402-pre-flight-verifier-obser": {
      "type": "http",
      "url": "https://assay.agentdiet.dev/mcp"
    }
  }
}

README

Assay — A2A & MCP Provider Assurance Observatory

[Assay Badge]

Live Observatory: https://assay-207908449630.us-central1.run.app

Assay continuously probes remote MCP, A2A, and x402 endpoints to verify liveness, pin canonical SHA-256 tools/list schema hashes (detecting silent MCP Rug Pulls), and scan for prompt-injection tool poisoning before your agent pays or executes a tool.

MCP Endpoint

  • Streamable HTTP MCP: https://assay-207908449630.us-central1.run.app/mcp
  • Pre-Flight REST API: POST https://assay-207908449630.us-central1.run.app/v1/preflight
  • Live Leaderboard: GET https://assay-207908449630.us-central1.run.app/v1/leaderboard

来源:README.md,提交 fd42696

工具

4

assay_preflight

Pre-Flight MCP & A2A Security Gate

Gate a remote MCP, A2A, or x402 endpoint before calling or paying it by probing live JSON-RPC reachability, hashing tools/list (SHA-256), and scanning for prompt-injection poisoning. When expected_tools_hash is provided, any mismatch against the live tools/list digest forces verdict='deny' to block silent schema rug-pulls; when omitted, verdict reflects liveness and injection safety alone. Read-only gate; first 5 calls/IP are free and quota-exceeded calls return a 402 top-up prompt. Use before tool execution or payment; to register or refresh public leaderboard telemetry use assay_probe; to read or pin stored policy hashes use assay_get_ledger_policy; after payment use assay_verify_delivery. Example: target='https://agentdiet-72343955726.us-central1.run.app/mcp'.

输入参数target必填expected_tools_hash

assay_probe

Register & Refresh Endpoint Conformance Telemetry

Register a new remote MCP, A2A, or x402 endpoint or refresh its public Assay Observatory dossier by running a live HTTP, agent-card, and JSON-RPC tools/list inspection without policy gating. Target must be a public HTTPS origin (private IPs are rejected with a 400 error); each call appends a timestamped observation and increments rug_pulls if tools_hash drifted since the prior stored observation. Writes to the public ledger; first 5 calls/IP are free and retries are idempotent on steady schemas. Use to onboard or re-index a server; for pre-call allow/deny gating use assay_preflight; for historical observations or hash pinning use assay_get_ledger_policy; for post-payment disputes use assay_verify_delivery. Example: target='https://agentdiet-72343955726.us-central1.run.app/mcp'.

输入参数target必填

assay_verify_delivery

Verify Post-Payment x402 Delivery & Mint SLA Receipt

Audit a paid x402 or A2A provider after payment to confirm delivery or prove an SLA breach with an HMAC-SHA256 signed receipt. Passing status_code >= 500 forces verdict='sla_breach_confirmed' even if the live re-probe succeeds, while passing tx_hash cryptographically binds your Base or Solana payment signature into the receipt (omitting tx_hash still verifies liveness and issues a probe-bound receipt). Non-destructive; first 5 calls/IP are free and failed target connections do not throw tool errors. Use only after paying a provider; before payment use assay_preflight; for public indexing use assay_probe; for policy history use assay_get_ledger_policy. Example: target='https://agentdiet-72343955726.us-central1.run.app/mcp'.

输入参数target必填tx_hashstatus_code

assay_get_ledger_policy

Query Historical Ledger & Pin Expected Schema Hashes

Retrieve historical conformance observations and manage pinned SHA-256 tools/list policy hashes in the Assay ledger for a target endpoint. When expected_tools_hash is provided, it pins that 64-hex digest as the target's baseline policy and compares it against the latest stored observation; when omitted, it returns the stored dossier and last 20 drift observations without network probing unless the target is unindexed. Idempotent; first 5 calls/IP are free. Use to audit historical drift or pin mcp-lock.json hashes; for live pre-execution gating use assay_preflight; for live re-indexing use assay_probe; for post-payment SLA receipts use assay_verify_delivery. Example: target='https://agentdiet-72343955726.us-central1.run.app/mcp'.

输入参数target必填expected_tools_hash

版本历史

2
  1. v7.0.17最新Oct 21, 2026
  2. v0.7.32Oct 19, 2026

评分

已满足适用检查项的 100%

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

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

其他 Agentdiet 集成