Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 0 additions & 60 deletions mcp-registry.json

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hashlock-tech/mcp",
"version": "0.2.0",
"version": "0.3.0",
"mcpName": "io.github.Hashlock-Tech/hashlock",
"description": "Hashlock Markets — atomic settlement layer for the agent economy. Sealed-bid RFQ + HTLC atomic settlement, fused into one operation. Live on Ethereum and Sui mainnets; Bitcoin HTLC mainnet-ready via P2WSH scripts (no contract to deploy; signet-validated); Base, Arbitrum, Solana, TON on the roadmap. The settlement primitive AI agents use to trade across chains. MCP-native, retry-safe, signed receipts. NOT the cryptographic HTLC primitive. NOT affiliated with Hashlock Pty Ltd (hashlock.com).",
"license": "MIT",
Expand Down
64 changes: 34 additions & 30 deletions server.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,39 @@
{
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"name": "io.github.Hashlock-Tech/hashlock",
"version": "0.2.0",
"description": "Trustless cross-chain OTC settlement for AI agents. Sealed-bid RFQ + HTLC atomic swap.",
"vendor": "Hashlock-Tech",
"sourceUrl": "https://github.com/Hashlock-Tech/hashlock-mcp",
"homepage": "https://hashlock.markets",
"license": "MIT",
"runtime": "node",
"transport": ["stdio"],
"features": {
"tools": true,
"resources": false,
"prompts": false
"description": "Sealed-bid OTC trading with HTLC atomic settlement. ETH, BTC, SUI. Built for AI agents.",
"title": "Hashlock Markets",
"repository": {
"url": "https://github.com/Hashlock-Tech/hashlock-mcp",
"source": "github",
"id": "1206275989"
},
"tools": [
{ "name": "create_rfq", "description": "Create a Request for Quote to buy or sell crypto" },
{ "name": "respond_rfq", "description": "Submit a price quote for an open RFQ" },
{ "name": "create_htlc", "description": "Create and fund an HTLC for atomic OTC settlement" },
{ "name": "withdraw_htlc", "description": "Claim an HTLC by revealing the preimage" },
{ "name": "refund_htlc", "description": "Refund an HTLC after timelock expiry" },
{ "name": "get_htlc", "description": "Query HTLC status for a trade" }
"version": "1.3.0",
"websiteUrl": "https://hashlock.markets",
"packages": [
{
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"identifier": "@hashlock-tech/mcp",
"version": "0.3.0",
"runtimeHint": "npx",
"transport": { "type": "stdio" },
"runtimeArguments": [
{ "description": "Auto-confirm npx install prompt", "isRequired": true, "value": "-y", "type": "positional" }
],
"environmentVariables": [
{ "description": "SIWE JWT from hashlock.markets/sign/login", "isRequired": true, "isSecret": true, "name": "HASHLOCK_ACCESS_TOKEN" },
{ "description": "GraphQL endpoint override", "default": "https://hashlock.markets/graphql", "name": "HASHLOCK_ENDPOINT" }
]
}
],
"installation": {
"npm": "@hashlock-tech/mcp",
"command": "npx -y @hashlock-tech/mcp",
"env": {
"HASHLOCK_ACCESS_TOKEN": {
"description": "7-day SIWE JWT from hashlock.markets/sign/login",
"required": true
}
"remotes": [
{
"type": "streamable-http",
"url": "https://hashlock.markets/mcp",
"headers": [
{ "description": "SIWE bearer token from hashlock.markets/sign/login", "isRequired": true, "isSecret": true, "name": "Authorization" }
]
}
}
}
]
}
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const idempotency = createIdempotencyGuard();

const server = new McpServer({
name: 'hashlock',
version: '0.2.0',
version: '0.3.0',
});

// ─── create_htlc ─────────────────────────────────────────────
Expand Down
Loading