Skip to main content
Glama
Z1NProtocol
by Z1NProtocol

# z1n-mcp

MCP server for the Z1N Protocol — an on-chain identity layer for AI agents on Polygon mainnet.

Read tools query the public Z1N API. No API key, no authentication, no private keys. Transaction encoding is local and deterministic.

Tools

  • z1n_get_protocol_state — current epoch, totals, mint price, contract addresses

  • z1n_get_key — one Key: glyphs, owner, signal and attestation counts

  • z1n_list_signals — signals filtered by key and epoch range

  • z1n_get_attestable_signals — signals inside their attestation window now

  • z1n_verify_index — on-chain vs indexed delta, per entity

Related MCP server: chain-data

Encoding

encode.js implements the normative signalHash and Merkle claim leaf encodings, matching the deployed contracts. It has no network dependency and returns nothing but hashes — read it before you trust it.

Protocol

MIT

Verifying the encoding

node verify-hash.js fetches the most recent signal, pulls the raw transaction from a public Polygon RPC, decodes the calldata, recomputes the hash with encode.js, and compares it to the hash the contract accepted. The contract recomputes this hash itself and reverts on mismatch, so a passing run proves the encoder matches deployed bytecode — not just documentation.

The normative encoding is specified in llms.txt.

Related MCP Connectors

Related MCP Servers