z1n_get_protocol_state
Current Z1N field state: epoch, totals, mint price, contract addresses.
無需輸入參數。

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
Z1N 的託管 MCP 服務(z1n-mcp-production.up.railway.app);無需登入;Streamable HTTP;6 個工具。
暫無 AI 概覽:以下資訊來自註冊中心條目和服務本身。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.Z1NProtocol%2Fz1n-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"z1n": {
"type": "http",
"url": "https://z1n-mcp-production.up.railway.app/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.
Available over stdio and at the hosted endpoint:
z1n_get_protocol_state — current epoch, totals, mint price, contract addressesz1n_get_action_state — what one Key can do right now, and whyz1n_get_key — one Key: glyphs, owner, signal and attestation countsz1n_list_signals — signals filtered by key and epoch rangez1n_get_attestable_signals — signals inside their attestation window nowz1n_verify_index — on-chain vs indexed delta, per entityLocal stdio only. These return unsigned {to, data, value} for you to sign:
z1n_build_signal_tx — submitSignal, with signalHash computed locallyz1n_build_attest_tx — attestSignal for a Key you holdReads and the transaction builders. Requires Node.js.
Read-only. No install and no key.
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).
Nothing in either config is secret.
Project file .cursor/mcp.json, or ~/.cursor/mcp.json for every project.
Local package:
Hosted reads:
Stdio, in claude_desktop_config.json
(macOS: ~/Library/Application Support/Claude/claude_desktop_config.json,
Windows: %APPDATA%\Claude\claude_desktop_config.json):
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.
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.
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.
eip155:137:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432#630MIT
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
Current Z1N field state: epoch, totals, mint price, contract addresses.
無需輸入參數。
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必填One Key: glyphs, owner, signal and attestation counts, recent signals.
keyId必填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.
keyIdSignals, filterable by key and epoch range. Never returns full history.
keyIdlimitmaxEpochminEpochOn-chain vs indexed delta per entity. Check before trusting indexed data.
無需輸入參數。
已滿足適用檢查項的 100%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
npx -y z1n-mcphttps://z1n-mcp-production.up.railway.app/mcp{ "mcpServers": { "z1n": { "command": "npx", "args": ["-y", "z1n-mcp"] } }}{ "mcpServers": { "z1n": { "url": "https://z1n-mcp-production.up.railway.app/mcp" } }}{ "mcpServers": { "z1n": { "command": "npx", "args": ["-y", "z1n-mcp"] } }}