Wren Pre-sign Check
Check a tx, EIP-712 payload, text or Base token before your agent signs. Paid per call over x402.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`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"
]
}커뮤니티
증거