canonicalhash
Deterministic JSON hashing and EIP-712 attestations for AI agents via x402.
사용해야 할까요
품질 및 안전성
A
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
~470토큰 (도구 정의)
~731 B일반적인 응답 크기
최소한의 주의 영향 (128k 컨텍스트의 0.37%)
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"canonicalhash": {
"url": "https://canonicalhash-production.up.railway.app/mcp"
}
}
}원격 엔드포인트
https://canonicalhash-production.up.railway.app/mcpstreamable-http할 수 있는 일
도구 목록
도구 (5)
🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
⚪canonicalize(payload, algorithm)
Canonicalize JSON with RFC 8785 and return a SHA-256 hash plus an EIP-712 signed attestation.
입력 스키마
{
"type": "object",
"properties": {
"payload": {
"type": "string",
"description": "The JSON payload stringified (e.g., '{\"b\":2,\"a\":1}')"
},
"algorithm": {
"default": "sha256",
"type": "string",
"enum": [
"sha256",
"sha512"
]
}
},
"required": [
"payload"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪batch_canonicalize(payloads)
Batch canonicalize up to 1000 JSON payloads in one call.
입력 스키마
{
"type": "object",
"properties": {
"payloads": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of JSON payloads, each stringified"
}
},
"required": [
"payloads"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡create_receipt(action, metadata)
Generate a tamper-evident EIP-712 action receipt for an agent decision.
입력 스키마
{
"type": "object",
"properties": {
"action": {
"type": "string",
"description": "Description of the action"
},
"metadata": {
"description": "Additional metadata stringified JSON",
"type": "string"
}
},
"required": [
"action"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢structure_extraction(text, schema)
Extract structured JSON from messy text (emails, logs, tickets) using regex or Needle 3.
입력 스키마
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The messy text to extract from"
},
"schema": {
"description": "Optional output schema stringified JSON",
"type": "string"
}
},
"required": [
"text"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪verify_attestation(attestation)
Verify an EIP-712 attestation against the published public key. Always free.
입력 스키마
{
"type": "object",
"properties": {
"attestation": {
"type": "string",
"description": "The attestation object stringified JSON"
}
},
"required": [
"attestation"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}커뮤니티
증거
최근 관측
검증됨버전이 기록되지 않음도구 5개