Skip to content

Commit df6794e

Browse files
authored
fix(mcp-registry): retire legacy staging endpoint, align scopes, add smithery manifest (#2)
- 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.
1 parent 251f4a5 commit df6794e

2 files changed

Lines changed: 58 additions & 8 deletions

File tree

mcp-registry.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "hashlock",
3-
"description": "OTC crypto trading with HTLC atomic settlement. Create trades, lock assets, and settle trustlessly across Ethereum and Bitcoin.",
4-
"vendor": "HashLock Tech",
3+
"description": "OTC crypto trading with HTLC atomic settlement. Create trades, lock assets, and settle trustlessly across Ethereum, Bitcoin, and Sui.",
4+
"vendor": "Hashlock-Tech",
55
"sourceUrl": "https://github.com/Hashlock-Tech/hashlock-mcp",
6-
"homepage": "https://hashlock.tech",
6+
"homepage": "https://hashlock.markets",
77
"license": "MIT",
88
"runtime": "node",
99
"transport": ["stdio"],
@@ -39,17 +39,17 @@
3939
}
4040
],
4141
"installation": {
42-
"npm": "@hashlock/mcp",
43-
"command": "npx -y @hashlock/mcp",
42+
"npm": "@hashlock-tech/mcp",
43+
"command": "npx -y @hashlock-tech/mcp",
4444
"env": {
4545
"HASHLOCK_ACCESS_TOKEN": {
46-
"description": "JWT authentication token from HashLock platform",
46+
"description": "7-day JWT issued via SIWE login at https://hashlock.markets/sign/login (Ethereum wallet signature). Re-sign after expiry.",
4747
"required": true
4848
},
4949
"HASHLOCK_ENDPOINT": {
50-
"description": "GraphQL API endpoint",
50+
"description": "GraphQL API endpoint override. Defaults to the production endpoint; rarely needs to be changed.",
5151
"required": false,
52-
"default": "http://142.93.106.129/graphql"
52+
"default": "https://hashlock.markets/api/graphql"
5353
}
5454
}
5555
}

smithery.yaml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Smithery.ai config for HashLock OTC MCP server.
2+
# Published: https://www.npmjs.com/package/@hashlock-tech/mcp
3+
# Source: https://github.com/Hashlock-Tech/hashlock-mcp
4+
# Registry: io.github.Hashlock-Tech/hashlock
5+
6+
runtime: "stdio"
7+
start:
8+
command: "npx"
9+
args: ["-y", "@hashlock-tech/mcp"]
10+
11+
config:
12+
type: "object"
13+
required: ["HASHLOCK_ACCESS_TOKEN"]
14+
properties:
15+
HASHLOCK_ACCESS_TOKEN:
16+
type: "string"
17+
title: "HashLock access token"
18+
description: >-
19+
Bearer token obtained from https://hashlock.markets/sign/login.
20+
Issued via SIWE (Sign-In with Ethereum); valid for 7 days.
21+
Re-sign after expiry.
22+
HASHLOCK_ENDPOINT:
23+
type: "string"
24+
title: "GraphQL endpoint"
25+
description: "Override the HashLock GraphQL endpoint. Default is production."
26+
default: "https://hashlock.markets/api/graphql"
27+
28+
metadata:
29+
name: "HashLock OTC"
30+
description: >-
31+
Institutional-grade OTC crypto trading with HTLC atomic settlement
32+
on Ethereum, Bitcoin, and Sui. Counterparty-risk-free via on-chain
33+
hash time-locked contracts. 6 tools: create_htlc, withdraw_htlc,
34+
refund_htlc, get_htlc, create_rfq, respond_rfq.
35+
homepage: "https://hashlock.markets"
36+
repository: "https://github.com/Hashlock-Tech/hashlock-mcp"
37+
license: "MIT"
38+
categories:
39+
- "finance"
40+
- "defi"
41+
- "trading"
42+
tags:
43+
- "htlc"
44+
- "atomic-swap"
45+
- "otc"
46+
- "ethereum"
47+
- "bitcoin"
48+
- "sui"
49+
- "cross-chain"
50+
- "rfq"

0 commit comments

Comments
 (0)