Skip to main content
Glama

@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.

npm License: MIT MCP Registry

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.json

  • Windows: %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.

  1. Besuchen Sie hashlock.markets/sign/login

  2. Signieren Sie eine Nachricht mit Ihrem Ethereum-Wallet

  3. Erhalten Sie ein 7-Tage-JWT

  4. Setzen Sie es als HASHLOCK_ACCESS_TOKEN (stdio) oder Authorization: Bearer <token> Header (remote)

  5. Nach Ablauf erneut signieren

Verfügbare Tools

Tool

Beschreibung

create_rfq

Erstellt eine Preisanfrage (RFQ) für den OTC-Kauf oder -Verkauf von Krypto. Wird zur Beantwortung mit versiegelten Geboten an Market Maker gesendet.

respond_rfq

Market-Maker-Seite: Übermittelt ein Preisangebot als Antwort auf eine offene RFQ.

create_htlc

Finanziert einen Hash Time-Locked Contract für die atomare OTC-Abwicklung (zeichnet den On-Chain-Lock-Transaktions-Hash auf).

withdraw_htlc

Beansprucht ein HTLC durch Offenlegung des 32-Byte-Preimages — schließt den atomaren Swap ab.

refund_htlc

Erstattet ein abgelaufenes HTLC nach Ablauf der Zeitbindung — nur für den ursprünglichen Absender, nur nach Ablauf der Frist.

get_htlc

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

HASHLOCK_ACCESS_TOKEN

Ja

7-Tage-SIWE-JWT von hashlock.markets/sign/login

HASHLOCK_ENDPOINT

Nein

https://hashlock.markets/api/graphql

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.2026

  • langchain-hashlock (PyPI) — ersetzt für MCP-basierte Integrationen

Lizenz

MIT © Hashlock Corp.

Install Server
A
license - permissive license
A
quality
A
maintenance

Maintenance

Maintainers
Response time
0dRelease cycle
2Releases (12mo)
Commit activity
Issues opened vs closed

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

  • A
    license
    Not graded
    quality
    C
    maintenance
    Cryptographically 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
  • A
    license
    A
    quality
    D
    maintenance
    Hashlock 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).
    5
    21
    MIT
  • A
    license
    A
    quality
    F
    maintenance
    MCP 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.
    7
    68
    2
    MIT
  • F
    license
    Not graded
    quality
    B
    maintenance
    Settlement 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

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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