z2-trade-trust-mcp
Officialz2-trade-trust-mcp
MCP(模型上下文协议)服务器,将 Zetrix L2 上的 TradeTrust 文档/电子提单操作暴露为 MCP 工具——一个基于 core-engine REST API 的轻量级、HMAC 签名的客户端。读取工具(验证、状态、最终性查询)仅需 baseUrl 即可工作;写入/工作流工具(签发、铸造、转让、签名)为可选加入,需要调用者身份。
安装
npm install同时以 zetrix-tradetrust-mcp 发布在 npm 上。
Related MCP server: tracepass-mcp-server
配置
export Z2TT_ENV="z2-testnet" # or "z2-mainnet" -- shortcut for the known core-engine deployments
# export Z2TT_BASE_URL="https://core-engine.example/api/z2-core-engine" # custom deployment instead
export Z2TT_CALLER_ID="z2-trade-trust-mcp"
export Z2TT_HMAC_SECRET="…" # issued out-of-band by whoever operates the deployment
export Z2TT_ALLOW_WRITES="true" # omit/false to register read-only tools或者将 Z2TT_PROFILE 指向一个 JSON 文件:
{
"baseUrl": "https://core-engine.example/api/z2-core-engine",
"callerId": "z2-trade-trust-mcp",
"hmacSecret": "…"
}运行
npm run build
node dist/index.js或者直接从源码运行 npm run dev(无需构建步骤)。无论哪种方式,进程都会监听标准输入/输出——成功时不会打印任何内容,因为 MCP 客户端会启动它并通过 stdin/stdout 进行协议通信,而不是通过人类终端会话。
注册到 MCP 客户端
{
"mcpServers": {
"z2-trade-trust-mcp": {
"command": "node",
"args": ["/abs/path/dist/index.js"],
"env": {
"Z2TT_BASE_URL": "https://core-engine.example/api/z2-core-engine",
"Z2TT_CALLER_ID": "z2-trade-trust-mcp",
"Z2TT_HMAC_SECRET": "…",
"Z2TT_ALLOW_WRITES": "false"
}
}
}
}OpenClaw
如果客户端是 OpenClaw,请跳过手动配置 mcpServers,而是安装 openclaw-plugin/——openclaw plugins install ./openclaw-plugin 会自动注册此服务器,并将相同的配置暴露为插件设置(network/baseUrl/callerId/hmacSecret/allowWrites)。
许可证
MIT — 参见 LICENSE。
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP tools for TON Sites, TON DNS and TON Storage.
Canton ledger tools over MCP: DAML commands, CIP-56 assets, DvP settlement, party management.
113 MCP tools: oracle, escrow, compliance, remittance, AI. 12 free tools, PAYG $0.001/call.
LayerZero V2 tools over MCP: message quotes, OFT transfers, Stargate bridging, DVN lookups.
Related MCP Servers
- FlicenseBqualityDmaintenance基于 Model Context Protocol (MCP) 的电子签署工具,支持文件上传、PDF转换、签署流程创建和状态查询等功能。2299 npm2-
- AlicenseAqualityBmaintenanceMCP server for TracePass — the EU Digital Product Passport platform. Create products, build and audit DPPs, set economic-operator parties, and read/capture GS1 EPCIS 2.0 supply-chain events.61,439 npm1MIT
- FlicenseNot gradedqualityDmaintenanceIntegrates multiple XRPL data sources including LOS, Validator History Service, XRPL JSON-RPC, and XRPLMeta to provide comprehensive querying of XRPL network data, accounts, transactions, tokens, validators, and more via MCP tools.-
- FlicenseNot gradedqualityCmaintenanceExposes OriginTrail DKG V10 working, shared, and verifiable memory as standard MCP tools, enabling users to read, write, share, and query DKG memory from any MCP-capable client without custom HTTP wiring.-