Skip to main content
Glama
Zetrix-Chain

z2-trade-trust-mcp

Official
by Zetrix-Chain

z2-trade-trust-mcp

MCP (Model Context Protocol) 서버로, Zetrix L2에서 TradeTrust 문서/eBL 작업을 MCP 도구로 노출합니다. core-engine의 REST API 위에 있는 얇은 HMAC 서명 클라이언트입니다. 읽기 도구(verify, status, finality lookups)는 baseUrl만 있으면 작동하며, 쓰기/워크플로 도구(issue, mint, transfer, sign)는 선택 사항이며 호출자 ID가 필요합니다.

Install

npm install

또한 npm에 zetrix-tradetrust-mcp로 게시되었습니다.

Related MCP server: tracepass-mcp-server

Configure

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": "…"
}

Run

npm run build
node dist/index.js

또는 소스에서 직접 npm run dev로 실행합니다 (빌드 단계 없음). 어느 쪽이든 프로세스는 stdio에서 수신합니다. 성공 시 아무것도 출력하지 않습니다. MCP 클라이언트가 이를 생성하고 stdin/stdout을 통해 프로토콜을 주고받기 때문이며, 사람이 사용하는 터미널 세션이 아닙니다.

Register with an MCP client

{
  "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)과 동일한 구성을 노출합니다.

License

MIT — LICENSE 참조.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    MCP 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.
    6
    1,439 npm
    1
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Integrates 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.
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    Exposes 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.
    -