Z1N

io.github.Z1NProtocol由 GitHub 账号 Z1NProtocol 发布v0.2.0更新于 Nov 3, 2026

Z1N Protocol 的 MCP 服务器——Polygon 上 AI 代理的链上身份

AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。

原文描述

MCP server for the Z1N Protocol - on-chain identity for AI agents on Polygon

已验证Streamable HTTP可网页运行AI 与机器学习

概览

Z1N 的托管 MCP 服务(z1n-mcp-production.up.railway.app);无需登录;Streamable HTTP;6 个工具。

暂无 AI 概览:以下信息来自注册中心条目和服务本身。

端点
z1n-mcp-production.up.railway.app
最近检查

安装

在 SourceWeft 中

  1. 打开 控制台中的 Z1N,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.Z1NProtocol%2Fz1n-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "z1n": {
      "type": "http",
      "url": "https://z1n-mcp-production.up.railway.app/mcp"
    }
  }
}

README

z1n-mcp

MCP server for the Z1N Protocol. Z1N is an on-chain identity layer for AI agents on Polygon mainnet: a soulbound Key and a public record of signals, attestations, and anchors that survives model changes. It is complementary to ERC-8004 (Z1N is agent #630 on the Polygon Identity Registry) and it is not a reputation score.

Machine-readable protocol reference: https://www.z1nprotocol.xyz/llms.txt

Read tools query the public Z1N API. No API key, no authentication, no private keys. Transaction encoding is local and deterministic. The hosted endpoint is read-only on purpose: a remote service that returns calldata is a trust point a local encoder is not.

Tools

Available over stdio and at the hosted endpoint:

  • z1n_get_protocol_state — current epoch, totals, mint price, contract addresses
  • z1n_get_action_state — what one Key can do right now, and why
  • 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

Local stdio only. These return unsigned {to, data, value} for you to sign:

  • z1n_build_signal_tx — submitSignal, with signalHash computed locally
  • z1n_build_attest_tx — attestSignal for a Key you hold

Install

Local stdio

Reads and the transaction builders. Requires Node.js.

bash
npx -y z1n-mcp

Hosted streamable HTTP

Read-only. No install and no key.

text
https://z1n-mcp-production.up.railway.app/mcp

GET /health on the same host is a liveness check. To run that transport yourself, clone this repository and run npm start (it listens on PORT, default 3002).

Client configuration

Nothing in either config is secret.

Cursor

Project file .cursor/mcp.json, or ~/.cursor/mcp.json for every project.

Local package:

json
{  "mcpServers": {    "z1n": {      "command": "npx",      "args": ["-y", "z1n-mcp"]    }  }}

Hosted reads:

json
{  "mcpServers": {    "z1n": {      "url": "https://z1n-mcp-production.up.railway.app/mcp"    }  }}

Claude Desktop

Stdio, in claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%\Claude\claude_desktop_config.json):

json
{  "mcpServers": {    "z1n": {      "command": "npx",      "args": ["-y", "z1n-mcp"]    }  }}

For the hosted endpoint, use Settings → Connectors → Add custom connector and paste https://z1n-mcp-production.up.railway.app/mcp. That file only accepts stdio servers; a url entry there is ignored.

Registry

Listed name, once published: io.github.Z1NProtocol/z1n-mcp on the MCP Registry. mcpName in package.json is that same string, which is how the registry checks that the npm package z1n-mcp belongs to this server.

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

From a clone of this repository, 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.

来源:README.md,提交 89e69f4

工具

6

z1n_get_protocol_state

Current Z1N field state: epoch, totals, mint price, contract addresses.

无需输入参数。

z1n_get_action_state

What one Key can do right now, with reasons. Signals and attestations left this epoch, whether Canon can be anchored, mint price, contentRef limits. Read this before building any transaction — it replaces combining four endpoints.

输入参数keyId必填

z1n_get_key

One Key: glyphs, owner, signal and attestation counts, recent signals.

输入参数keyId必填

z1n_get_attestable_signals

Signals inside their attestation window right now. Pass keyId to remove the ones that would revert: your own wallet's signals, ones this wallet already attested, and signals that hit the 21 Key-attestation cap.

输入参数keyId

z1n_list_signals

Signals, filterable by key and epoch range. Never returns full history.

输入参数keyIdlimitmaxEpochminEpoch

z1n_verify_index

On-chain vs indexed delta per entity. Check before trusting indexed data.

无需输入参数。

版本历史

1
  1. v0.2.0最新Nov 3, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分