Tracea

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

Tracea — legal identity (Know Your Agent) for AI agents, on-chain. ERC-8004 compatible.

已验证Streamable HTTP可网页运行效率与工作流金融安全与监控

概览

AI 生成的概览

Tracea 让助手核验 AI 代理的链上法律身份、记录操作、处理 x402 支付,并准备和签署法国行政手续。

可以做什么
Tracea 提供工具查询代理的注册状态、权限范围、资金上限和撤销状态,并读取其注册记录和已记录的操作。它可以将操作上链形成审计轨迹、向所有者活动流报告操作,并管理 x402 支付会话,包括按所有者白名单试运行支付。另一组工具列出法国行政手续、返回所需字段、对照官方登记库校验提交数据、将证明锚定上链,并准备文件提交签署。
适用场景
当助手在委派任务前需要确认另一个代理是否可信,或代理需要可审计的操作与支付记录时使用。也适用于填写并校验法国行政表格、再送交签署的流程。
运行要求
以远程 streamable HTTP 端点运行,未声明软件包或本地运行时。部分工具需要 TRACEA_API_KEY 环境变量,活动报告通过 MCP URL 中的密钥或其他凭据认证。get_my_identity 需要所有者提供的一次性激活码。需要网络访问。
安装前请注意
get_my_identity 会返回 EOA 私钥和智能账户地址,且私钥仅显示一次,必须安全保存。log_action 会用账户钱包签署链上操作,锚定和签署工具会写入不可更改的记录并发送签署邀请。支付工具会在链上转移 USDC,应先检查白名单并试运行支付。提交的手续数据会与法国官方登记库交叉核对。

安装

在 SourceWeft 中

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

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

交给智能体安装

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

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

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

其他 MCP 客户端

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

{
  "mcpServers": {
    "tracea": {
      "type": "http",
      "url": "https://mcp.tracea.online/mcp"
    }
  }
}

工具

23

verify_agent

Verify an AI agent's on-chain legal identity on Tracea (Base Sepolia). Returns registration status, financial cap, permission scope, revocation status, and KYA legal identity (mandant) when available. Use this BEFORE trusting or delegating work to an agent.

输入参数agent_address必填

get_agent_info

Get the raw Tracea registry record for an agent: owner, permission scope, financial cap, active status, timestamps.

输入参数agent_address必填

is_agent_revoked

Check whether an agent's mandate has been revoked on Tracea (immediate, scheduled or partial revocation).

输入参数agent_address必填

get_owner_agents

List all agent addresses registered on Tracea by a given owner address.

输入参数owner_address必填

get_action

Read a single logged agent action from the Tracea ActionLog contract by its numeric ID. Returns agent, action type, payload and timestamp.

输入参数action_id必填

get_agent_actions

List all on-chain action IDs logged for a given agent on Tracea.

输入参数agent_address必填

log_action

Log an agent action on-chain via Tracea (immutable audit trail, court-ready). Requires TRACEA_API_KEY env var. The action is signed by the account's wallet.

输入参数dataaction_type必填agent_address必填

get_registration_file

Fetch the ERC-8004 compatible registration file for a Tracea-registered agent, including the KYA legal principal block.

输入参数agent_address必填

report_activity

Report an action the agent just performed to its owner's Tracea activity feed (off-chain, free, instant). Call this AFTER every significant action (email sent, message posted, file modified, payment, purchase, booking...). Auth via the Tracea MCP URL (?key=...) from the agent's identity page, OR self-activate with a one-time activation code (?code=... or x-activation-code header) — the tool then receives its apiKey automatically.

输入参数detailssummary必填category必填agent_address必填in_permissionpermission_label

get_my_identity

Get this agent's full Tracea identity (activity apiKey +, for v2 agents, its EOA private key and ERC-4337 smart account address) using a one-time activation code from the owner. The private key is returned ONLY ONCE — save it securely.

输入参数agent_address必填activation_code

get_payment_whitelist

Get the list of owner-approved payment destination addresses for an agent (anti-injection guardrail). Non-empty list = the agent's smart account can ONLY pay these addresses. Empty = all allowed.

输入参数agent_address必填

check_payment_allowed

Dry-run a payment BEFORE executing it: checks on-chain whether the agent's smart account would allow it (permission granted, within financial cap, destination approved if a whitelist exists). Returns { allowed, reason }.

输入参数amount_eth必填destination必填agent_address必填

payment_required

Create a x402 payment request (HTTP 402) for a resource you sell to another agent. Returns a paymentId, the USDC amount in units, the destination address and the TraceaPayments contract to call. The paying agent must then call TraceaPayments.payX402(destination, amount, paymentId) on-chain — the contract enforces financial cap + whitelist on-chain. Deliver the resource only after payment_incoming confirms fulfilment.

输入参数agentresourceamount_usdc必填destination必填ttl_seconds

payment_incoming

Verify a x402 payment ON-CHAIN (the USDC transfer to your address, exact amount) and mark the session fulfilled. The blockchain is the ONLY source of truth — the payment_sessions table is never trusted alone. Returns { status: 'fulfilled', resource } if verified, or an error if not yet paid/expired.

输入参数tx_hash必填payment_id必填

payment_status

Get the status of a x402 payment session (pending | paid | fulfilled | expired), with destination, amount and tx hash. Useful to poll while waiting for the paying agent's on-chain transaction.

输入参数payment_id必填

tracea_list_demarches

List the administrative procedures Tracea supports. ALWAYS call this first: it returns the exact procedure IDs so the AI never has to guess which form (CERFA) applies. `schemaPret: true` means guided mode (anti-rejection check available) is ready for that procedure.

无需输入参数。

tracea_demarche_schema

Return exactly which fields a given administrative procedure requires (name, type, required, format/pattern, bounds, example). Call this after tracea_list_demarches so you ask the user ONLY for the real fields, in the right format. Prevents hallucinated fields.

输入参数id必填

tracea_check_demarche

THE anti-rejection check. Submit the data you collected; it validates every field against the official procedure schema AND cross-checks critical values against official French registries (e.g. SIRET against INSEE Sirene). Returns { ok: true, recordHash } or { ok: false, errors: [{ field, message }] }. ALWAYS call this BEFORE telling the user the file is ready, and fix the exact fields reported.

输入参数id必填donnees必填

tracea_anchor_demarche

Seal a validated file as an immutable on-chain proof (Tracea Online, Base). Call this ONLY after tracea_check_demarche returned ok:true — it re-checks everything before anchoring. Requires the caller to be an authorized harness. Returns the proof fingerprint and the record hash.

输入参数id必填agent必填donnees必填

tracea_demarche_preuve

Verify an existing proof: was this file really anchored, when, by which operator, and under which rule version? Use the recordHash returned by tracea_check_demarche / tracea_anchor_demarche. Read-only and free.

输入参数hash必填

tracea_demarche_document

Prepare le document officiel d'une demarche (CERFA ou demarche libre) et le rend signable. Appelle le generateur du backend Tracea, enregistre le dossier pour l'agent du visiteur et renvoie la reference + le chemin du PDF. A appeler APRES tracea_check_demarche (ok:true) et AVANT tracea_signature. Si des champs manquent, renvoie ok:false + champsManquants : ne fabrique jamais un document partiel.

输入参数id必填agent必填donnees必填

tracea_signature

DEPOSE REELLEMENT le document prepare dans Tracea Sign : cree les signataires, place la zone de signature, produit un lien de signature par personne et envoie les invitations. Exige pdfPath et signataires. Sans eux, aucun lien n'est renvoye.

输入参数idboxtitreniveauenvoyerpdfPathsignataires

get_verification_card

Get the public URL of an agent's Tracea KYA verification card — the shareable page that presents the mandant entity, the permission scope, the financial cap and a proof hash, with a bilingual FR/EN transparency statement. Use it to hand a verifier a link. Returns the ready-to-share link plus the machine-readable JSON endpoints. Defaults to the 'standard' disclosure level, which is what the API exposes publicly.

输入参数langniveauagent_address必填

版本历史

1
  1. v0.1.0最新Sep 16, 2026

评分

已满足适用检查项的 83%

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

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

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。