From a1eb2da931dcb93012f50ed07647662a3bcb5347 Mon Sep 17 00:00:00 2001 From: Baris Sozen <31259058+BarisSozen@users.noreply.github.com> Date: Thu, 23 Apr 2026 00:19:05 +0300 Subject: [PATCH] fix(mcp-registry): retire legacy staging endpoint, align scopes, add smithery manifest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - mcp-registry.json: drop legacy staging endpoint default (142.93.106.129 — no longer operational) in favor of canonical https://hashlock.markets/api/graphql. Fix npm scope to @hashlock-tech/mcp (matches published package and package.json); correct vendor to Hashlock-Tech; add Sui to supported-chains string; update homepage to hashlock.markets; clarify SIWE 7-day JWT. - smithery.yaml: add Smithery.ai manifest. Registry namespace io.github.Hashlock-Tech/hashlock matches mcpName in package.json. JWT TTL 7 days to match README and web/public/llms-full.txt. --- mcp-registry.json | 16 +++++++-------- smithery.yaml | 50 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+), 8 deletions(-) create mode 100644 smithery.yaml diff --git a/mcp-registry.json b/mcp-registry.json index 69e3cba..173773b 100644 --- a/mcp-registry.json +++ b/mcp-registry.json @@ -1,9 +1,9 @@ { "name": "hashlock", - "description": "OTC crypto trading with HTLC atomic settlement. Create trades, lock assets, and settle trustlessly across Ethereum and Bitcoin.", - "vendor": "HashLock Tech", + "description": "OTC crypto trading with HTLC atomic settlement. Create trades, lock assets, and settle trustlessly across Ethereum, Bitcoin, and Sui.", + "vendor": "Hashlock-Tech", "sourceUrl": "https://github.com/Hashlock-Tech/hashlock-mcp", - "homepage": "https://hashlock.tech", + "homepage": "https://hashlock.markets", "license": "MIT", "runtime": "node", "transport": ["stdio"], @@ -39,17 +39,17 @@ } ], "installation": { - "npm": "@hashlock/mcp", - "command": "npx -y @hashlock/mcp", + "npm": "@hashlock-tech/mcp", + "command": "npx -y @hashlock-tech/mcp", "env": { "HASHLOCK_ACCESS_TOKEN": { - "description": "JWT authentication token from HashLock platform", + "description": "7-day JWT issued via SIWE login at https://hashlock.markets/sign/login (Ethereum wallet signature). Re-sign after expiry.", "required": true }, "HASHLOCK_ENDPOINT": { - "description": "GraphQL API endpoint", + "description": "GraphQL API endpoint override. Defaults to the production endpoint; rarely needs to be changed.", "required": false, - "default": "http://142.93.106.129/graphql" + "default": "https://hashlock.markets/api/graphql" } } } diff --git a/smithery.yaml b/smithery.yaml new file mode 100644 index 0000000..8560347 --- /dev/null +++ b/smithery.yaml @@ -0,0 +1,50 @@ +# Smithery.ai config for HashLock OTC MCP server. +# Published: https://www.npmjs.com/package/@hashlock-tech/mcp +# Source: https://github.com/Hashlock-Tech/hashlock-mcp +# Registry: io.github.Hashlock-Tech/hashlock + +runtime: "stdio" +start: + command: "npx" + args: ["-y", "@hashlock-tech/mcp"] + +config: + type: "object" + required: ["HASHLOCK_ACCESS_TOKEN"] + properties: + HASHLOCK_ACCESS_TOKEN: + type: "string" + title: "HashLock access token" + description: >- + Bearer token obtained from https://hashlock.markets/sign/login. + Issued via SIWE (Sign-In with Ethereum); valid for 7 days. + Re-sign after expiry. + HASHLOCK_ENDPOINT: + type: "string" + title: "GraphQL endpoint" + description: "Override the HashLock GraphQL endpoint. Default is production." + default: "https://hashlock.markets/api/graphql" + +metadata: + name: "HashLock OTC" + description: >- + Institutional-grade OTC crypto trading with HTLC atomic settlement + on Ethereum, Bitcoin, and Sui. Counterparty-risk-free via on-chain + hash time-locked contracts. 6 tools: create_htlc, withdraw_htlc, + refund_htlc, get_htlc, create_rfq, respond_rfq. + homepage: "https://hashlock.markets" + repository: "https://github.com/Hashlock-Tech/hashlock-mcp" + license: "MIT" + categories: + - "finance" + - "defi" + - "trading" + tags: + - "htlc" + - "atomic-swap" + - "otc" + - "ethereum" + - "bitcoin" + - "sui" + - "cross-chain" + - "rfq"