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。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。