Wren Pre-sign Check

Check a tx, EIP-712 payload, text or Base token before your agent signs. Paid per call over x402.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
98%
命名质量
80%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~1,075token 数(工具定义)
~998 B典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.84%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "wren-presign-check": {
      "url": "https://wren-presign-check.wrenonbase.workers.dev/mcp"
    }
  }
}

远程端点

https://wren-presign-check.wrenonbase.workers.dev/mcpstreamable-http

它能做什么

工具清单

工具(4)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢presign_check(to, data, value, chainId, typedData, ...)

Call before your agent signs anything. Send tx fields (to, data, value, chainId), or typedData (an eth_signTypedData_v4 payload), or untrusted text, with an optional wren-guard policy. Returns block, review or allow, the decoded call and every finding: unlimited approvals, permits, Permit2, setApprovalForAll, EIP-7702 delegation, deployments, injected instructions and, with a policy, unknown recipients, caps and lookalike addresses. Static check, not a simulation. Costs $0.01 USDC on Base per call, paid over x402 (MCP transport): an unpaid call returns a PaymentRequired result, and an x402 MCP client retries with the payment in _meta["x402/payment"]. You sign one USDC authorisation for exactly that price to Wren's wallet: no approvals. Bad input is rejected before anything is charged.

输入模式

{
  "type": "object",
  "properties": {
    "to": {
      "type": "string",
      "description": "Destination contract or recipient (0x address); omit for a deployment"
    },
    "data": {
      "type": "string",
      "description": "Calldata, 0x hex"
    },
    "value": {
      "type": "string",
      "description": "Native value in wei (decimal or 0x hex)"
    },
    "chainId": {
      "type": "string",
      "description": "Chain id, decimal"
    },
    "typedData": {
      "type": "object",
      "description": "eth_signTypedData_v4 payload (instead of a transaction)"
    },
    "text": {
      "type": "string",
      "description": "Untrusted text that asked for this action, screened for injected instructions"
    },
    "policy": {
      "type": "object",
      "description": "Optional wren-guard config: allowlist, spenders, caps and flags"
    }
  }
}
🟢screen_text(text, known)

Call before your agent acts on untrusted text (a reply, DM, web page, tool output or memory). Returns safe, suspicious or malicious with the matched patterns, after decoding base64, hex, Morse, leetspeak, ROT13, reversed and hidden Unicode. Optional known: your own addresses, to flag poisoned lookalikes. Deterministic rules, no LLM. Costs $0.003 USDC on Base per call, paid over x402 (MCP transport): an unpaid call returns a PaymentRequired result, and an x402 MCP client retries with the payment in _meta["x402/payment"]. You sign one USDC authorisation for exactly that price to Wren's wallet: no approvals. Bad input is rejected before anything is charged.

输入模式

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "The untrusted text to screen (up to 16,384 characters)"
    },
    "known": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Optional: your own 0x addresses, to flag poisoned lookalikes"
    }
  },
  "required": [
    "text"
  ]
}
🟢token_facts(address)

Call before your agent approves, receives or sends a Base ERC-20. Returns code size, EIP-7702 delegation, name, symbol, decimals, supply, proxy and upgrade admin, owner or renounced, and which privileged functions the bytecode has (mint, pause, blocklist, fees, limits, trading switch, upgrade). Facts only: no grades, not investment advice. If Base can't be read, nothing is charged. Costs $0.01 USDC on Base per call, paid over x402 (MCP transport): an unpaid call returns a PaymentRequired result, and an x402 MCP client retries with the payment in _meta["x402/payment"]. You sign one USDC authorisation for exactly that price to Wren's wallet: no approvals. Bad input is rejected before anything is charged.

输入模式

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "description": "The token contract's 0x address on Base"
    }
  },
  "required": [
    "address"
  ]
}
🟢presign_demo(name)

Free. Runs one fixed example (an unlimited approval, setApprovalForAll, a never-expiring permit, an EIP-7702 delegation, an injected memo or a normal x402 payment) through the same checker, so you can see the report shape before paying for presign_check.

输入模式

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "enum": [
        "unlimited-approval",
        "set-approval-for-all",
        "permit-signature",
        "eip7702-delegation",
        "injected-memo",
        "x402-payment"
      ],
      "description": "Which fixed example to run"
    }
  },
  "required": [
    "name"
  ]
}

社区

评价此服务器

证据

最近观测

已验证未记录版本4 个工具