canonicalhash
Deterministic JSON hashing and EIP-712 attestations for AI agents via x402.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"canonicalhash": {
"url": "https://canonicalhash-production.up.railway.app/mcp"
}
}
}Remote-Endpunkte
https://canonicalhash-production.up.railway.app/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (5)
⚪canonicalize(payload, algorithm)
Canonicalize JSON with RFC 8785 and return a SHA-256 hash plus an EIP-712 signed attestation.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"type": "object",
"properties": {
"attestation": {
"type": "string",
"description": "The attestation object stringified JSON"
}
},
"required": [
"attestation"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Community
Nachweis