MCP-Server

agent-erc8004-bridge

io.github.jdhart81/agent-erc8004-bridge
Krypto & Web3 Öffentlich und erreichbar MCP 2025-11-25

Was dieses MCP kann

Imports, resolves, scores, and verifies ERC-8004 on-chain agent identities, reputation feedback, and validation attestations.

bind_identity
Bind a fleet DID to an ERC-8004 identity. Produces an order-independent, content-addressed (unsigned) binding attestation.
Eingabeschema
{'type': 'object', 'title': 'bind_identityArguments', 'required': ['fleet_did', 'chain_id', 'token_id'], 'properties': {'chain_id': {'type': 'integer', 'title': 'Chain Id'}, 'token_id': {'type': 'integer', 'title': 'Token Id'}, 'fleet_did': {'type': 'string', 'title': 'Fleet Did'}, 'proof_note': {'type': 'string', 'title': 'Proof Note', 'default': ''}}}
Ausgabeschema
{'type': 'object', 'title': 'bind_identityOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
describe_agent
Return the bridge's capabilities and input contract.
Eingabeschema
{'type': 'object', 'title': 'describe_agentArguments', 'properties': {}}
Ausgabeschema
{'type': 'object', 'title': 'describe_agentOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
export_attestation
Export the agent's current trust score as an UNSIGNED ERC-8004 Validation Registry-shaped payload, content-addressed and ready for YOUR OWN signer to anchor on-chain.
Eingabeschema
{'type': 'object', 'title': 'export_attestationArguments', 'required': ['chain_id', 'token_id'], 'properties': {'chain_id': {'type': 'integer', 'title': 'Chain Id'}, 'token_id': {'type': 'integer', 'title': 'Token Id'}}}
Ausgabeschema
{'type': 'object', 'title': 'export_attestationOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
export_validation_response
Build UNSIGNED ERC-8004 Validation Registry validationResponse args from an Outcome Receipt (ORC v0.1): responseHash = receipt commitment, tag "orc/0.1", response 100 only if the bridge re-verifies the receipt AND your replay succeeded. Sign and submit with your own signer; this bridge holds no keys and writes to no chain.
Eingabeschema
{'type': 'object', 'title': 'export_validation_responseArguments', 'required': ['receipt', 'request_hash', 'response_uri', 'replay_ok'], 'properties': {'receipt': {'type': 'object', 'title': 'Receipt', 'additionalProperties': True}, 'replay_ok': {'type': 'boolean', 'title': 'Replay Ok'}, 'request_hash': {'type': 'string', 'title': 'Request Hash'}, 'response_uri': {'type': 'string', 'title': 'Response Uri'}}}
Ausgabeschema
{'type': 'object', 'title': 'export_validation_responseOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
import_feedback
Import ERC-8004 Reputation Registry feedback records for an agent. Each item: {value: bool|0..1, at: ISO-8601, source?, weight?, feedback_id?}. Idempotent per feedback_id.
Eingabeschema
{'type': 'object', 'title': 'import_feedbackArguments', 'required': ['chain_id', 'token_id', 'feedback'], 'properties': {'chain_id': {'type': 'integer', 'title': 'Chain Id'}, 'feedback': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': True}, 'title': 'Feedback'}, 'token_id': {'type': 'integer', 'title': 'Token Id'}}}
Ausgabeschema
{'type': 'object', 'title': 'import_feedbackOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
import_registration
Import an ERC-8004 Identity Registry record (chain_id + ERC-721 token_id + agentURI + owner). Idempotent: re-import updates in place. Returns the canonical record with its deterministic bridge DID (did:viridis:erc8004:<chain>:<token>).
Eingabeschema
{'type': 'object', 'title': 'import_registrationArguments', 'required': ['chain_id', 'token_id', 'agent_uri', 'owner'], 'properties': {'owner': {'type': 'string', 'title': 'Owner'}, 'chain_id': {'type': 'integer', 'title': 'Chain Id'}, 'metadata': {'anyOf': [{'type': 'object', 'additionalProperties': True}, {'type': 'null'}], 'title': 'Metadata', 'default': None}, 'token_id': {'type': 'integer', 'title': 'Token Id'}, 'agent_uri': {'type': 'string', 'title': 'Agent Uri'}}}
Ausgabeschema
{'type': 'object', 'title': 'import_registrationOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
list_registrations
List all imported ERC-8004 registrations.
Eingabeschema
{'type': 'object', 'title': 'list_registrationsArguments', 'properties': {}}
Ausgabeschema
{'type': 'object', 'title': 'list_registrationsOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
resolve_agent
Resolve an imported ERC-8004 registration by bridge DID or by (chain_id, token_id).
Eingabeschema
{'type': 'object', 'title': 'resolve_agentArguments', 'properties': {'chain_id': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Chain Id', 'default': None}, 'token_id': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Token Id', 'default': None}, 'bridge_did': {'type': 'string', 'title': 'Bridge Did', 'default': ''}}}
Ausgabeschema
{'type': 'object', 'title': 'resolve_agentOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
score_agent
Decay-weighted trust score in [0,1] + tier over the agent's imported ERC-8004 feedback — recent behavior outweighs old; no feedback scores a neutral 0.5 prior (no blind trust, no unfair zero).
Eingabeschema
{'type': 'object', 'title': 'score_agentArguments', 'properties': {'chain_id': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Chain Id', 'default': None}, 'token_id': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Token Id', 'default': None}, 'bridge_did': {'type': 'string', 'title': 'Bridge Did', 'default': ''}}}
Ausgabeschema
{'type': 'object', 'title': 'score_agentOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
verify_attestation
Recompute a payload's content hash and report whether it is intact.
Eingabeschema
{'type': 'object', 'title': 'verify_attestationArguments', 'required': ['payload'], 'properties': {'payload': {'type': 'object', 'title': 'Payload', 'additionalProperties': True}}}
Ausgabeschema
{'type': 'object', 'title': 'verify_attestationOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
Hinzugefügt
export_validation_response
27. September 2026 02:44
Hinzugefügt
describe_agent
17. September 2026 12:42
Hinzugefügt
list_registrations
17. September 2026 12:42
Hinzugefügt
verify_attestation
17. September 2026 12:42
Hinzugefügt
export_attestation
17. September 2026 12:42
Hinzugefügt
bind_identity
17. September 2026 12:42
Hinzugefügt
score_agent
17. September 2026 12:42
Hinzugefügt
import_feedback
17. September 2026 12:42
Hinzugefügt
resolve_agent
17. September 2026 12:42
Hinzugefügt
import_registration
17. September 2026 12:42