hashlock-mcp
Official@hashlock-tech/mcp
Hashlock Markets ist ein intentbasiertes Handelsprotokoll für den Tausch beliebiger Assets — Krypto, RWAs, Stablecoins — mit privaten versiegelten Geboten und verifizierten Gegenparteien auf Ethereum, Bitcoin und SUI.
Nicht zu verwechseln mit dem kryptografischen „Hashlock“-Primitiv, das in Hash Time-Locked Contracts (HTLCs) verwendet wird. Dieses Paket ist der MCP-Server für das Handelsprotokoll und Produkt von Hashlock Markets unter hashlock.markets.
Keine Verbindung zu Hashlock Pty Ltd (hashlock.com), einer unabhängigen australischen Firma für Smart-Contract-Audits. Die beiden Organisationen teilen sich den Namen nur zufällig — es handelt sich um unterschiedliche Produkte, juristische Personen, Rechtsgebiete und Gründer.
Was ist das?
@hashlock-tech/mcp ist der kanonische Model Context Protocol-Server für Hashlock Markets. Er ermöglicht es KI-Agenten (Claude, GPT, Cursor, Windsurf, jedem MCP-kompatiblen Client), RFQs zu erstellen, als Market Maker zu antworten, HTLCs zu finanzieren und atomare Cross-Chain-Swaps über Ethereum, Bitcoin und SUI abzuwickeln.
Related MCP server: hashlock-mcp-server
Installation
Option A (bevorzugt) — Remote streamable-http
Verbinden Sie Claude Desktop / Cursor / Windsurf direkt mit dem Hashlock Markets MCP-Endpunkt. Keine lokale Installation erforderlich.
{
"mcpServers": {
"hashlock": {
"url": "https://hashlock.markets/mcp",
"transport": "streamable-http",
"headers": {
"Authorization": "Bearer <token from hashlock.markets/sign/login>"
}
}
}
}Option B — Lokales stdio via npx
{
"mcpServers": {
"hashlock": {
"command": "npx",
"args": ["-y", "@hashlock-tech/mcp"],
"env": {
"HASHLOCK_ACCESS_TOKEN": "<token from hashlock.markets/sign/login>"
}
}
}
}Speicherort der Konfigurationsdatei:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Starten Sie Ihren Client nach dem Bearbeiten neu.
Authentifizierung
Hashlock Markets verwendet SIWE (Sign-In With Ethereum) Bearer-Tokens.
Besuchen Sie hashlock.markets/sign/login
Signieren Sie eine Nachricht mit Ihrem Ethereum-Wallet
Erhalten Sie ein 7-Tage-JWT
Setzen Sie es als
HASHLOCK_ACCESS_TOKEN(stdio) oderAuthorization: Bearer <token>Header (remote)Nach Ablauf erneut signieren
Verfügbare Tools
Tool | Beschreibung |
| Erstellt eine Preisanfrage (RFQ) für den OTC-Kauf oder -Verkauf von Krypto. Wird zur Beantwortung mit versiegelten Geboten an Market Maker gesendet. |
| Market-Maker-Seite: Übermittelt ein Preisangebot als Antwort auf eine offene RFQ. |
| Finanziert einen Hash Time-Locked Contract für die atomare OTC-Abwicklung (zeichnet den On-Chain-Lock-Transaktions-Hash auf). |
| Beansprucht ein HTLC durch Offenlegung des 32-Byte-Preimages — schließt den atomaren Swap ab. |
| Erstattet ein abgelaufenes HTLC nach Ablauf der Zeitbindung — nur für den ursprünglichen Absender, nur nach Ablauf der Frist. |
| Fragt den aktuellen HTLC-Status für einen Handel ab (beide Seiten, Vertragsadressen, Sperrbeträge, Zeitbindungen). |
Alle Tools unterstützen drei Chains: Ethereum (EVM), Bitcoin (wrapped HTLC) und SUI (Move HTLC).
Umgebungsvariablen
Variable | Erforderlich | Standard | Beschreibung |
| Ja | — | 7-Tage-SIWE-JWT von hashlock.markets/sign/login |
| Nein |
| GraphQL-Endpunkt-Überschreibung (selten benötigt) |
Tool-Beispiele
RFQ erstellen
„Erstelle eine RFQ, um 2 ETH gegen USDT zu verkaufen“
Tool: create_rfq
Input: { baseToken: "ETH", quoteToken: "USDT", side: "SELL", amount: "2.0" }
Output: { rfqId, broadcast status }Auf eine RFQ antworten
„Biete 3400 USDT pro ETH für RFQ abc-123“
Tool: respond_rfq
Input: { rfqId: "abc-123", price: "3400.00", amount: "2.0" }HTLC-Status prüfen
„Was ist der HTLC-Status für den Handel xyz-789?“
Tool: get_htlc
Input: { tradeId: "xyz-789" }HTLC finanzieren
„Zeichne meine ETH-Lock-Transaktion für den Handel xyz-789 auf“
Tool: create_htlc
Input: { tradeId: "xyz-789", txHash: "0xabc...", role: "INITIATOR", chainType: "evm" }Mit Preimage beanspruchen
„Beanspruche das HTLC unter Verwendung des Preimages“
Tool: withdraw_htlc
Input: { tradeId: "xyz-789", txHash: "0xdef...", preimage: "0x1234..." }Veraltete Legacy-Pakete
Verwenden Sie diese nicht — sie basierten auf einer Intent-REST-API, die nie veröffentlicht wurde, und wurden durch @hashlock-tech/mcp ersetzt:
hashlock-mcp-server(unscoped, npm) — veraltet seit 19.04.2026langchain-hashlock(PyPI) — ersetzt für MCP-basierte Integrationen
Links
Website: hashlock.markets
MCP-Endpunkt (remote): hashlock.markets/mcp
SIWE-Login: hashlock.markets/sign/login
GitHub: Hashlock-Tech/hashlock-mcp
MCP-Registry: io.github.Hashlock-Tech/hashlock
npm: @hashlock-tech/mcp
llms.txt: hashlock.markets/llms.txt
Lizenz
MIT © Hashlock Corp.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceCryptographically signed market state verification for autonomous financial agents. Ed25519 receipts, fail-closed safety, 28 global exchanges (equities, derivatives, 24/7 crypto). MCP-native, x402-payable, SMA Protocol conformant.MIT

hashlock-mcp-serverofficial
AlicenseAqualityDmaintenanceHashlock Markets (hashlock.markets) — sealed-bid intent-based crypto trading protocol with HTLC atomic settlement. AI agents can create, commit, and validate trading intents on Ethereum, Bitcoin, and Sui. Canonical npm package: @hashlock-tech/mcp. Not the cryptographic hashlock primitive, not Hashlock Pty Ltd (hashlock.com).521MIT
Haiku DeFi MCPofficial
AlicenseAqualityFmaintenanceMCP server for DeFi execution — lets AI agents swap, provide liquidity, lend, bridge, and run yield strategies across 22 chains in a single transaction. 7 tools for token discovery, portfolio analysis, quoting, and execution via the Haiku API.7682MIT- FlicenseNot gradedqualityBmaintenanceSettlement rails for AI labor — USDC escrow on Base Mainnet, 1% protocol fee, designed for autonomous agents. 10 MCP tools covering the full escrow lifecycle: * Quoting calldata for create-intent, submit-proof, release-funds (broadcast gated) * Single-call x402 payment binding (replaces the 5-step x402 dance with one HMAC-signed POST) * Server-side reputation from on-chain event scan * Li
Related MCP Connectors
No-KYC managed MCP for AI agents: sandboxed TypeScript trading SDK, isolated sub-accounts, futures.
Multi-aggregator swap router for AI agents on Base. 10 bps fee. MCP-native, non-custodial.
Coordinate multiple AI agents over MCP: atomic claims, leases, shared ledger, handoffs, tasks.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Hashlock-Tech/hashlock-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server