hashlock-tech avatar

Hashlock Markets

hashlock-tech/hashlock-mcp

Connects Claude and other MCP clients to Hashlock Markets for atomic cross-chain OTC settlement on Ethereum, Sui, and Bitcoin mainnet via HTLCs. Six tools: create and respond to sealed-bid RFQs, fund HTLCs, claim with preimage, refund expired locks, and query settlement status. No bridges or custodians. Supports remote streamable-http (no local install) or stdio via npx. Requires a 7-day SIWE bearer token from their login page. Built for AI agents that need to execute trustless cross-chain swaps without wrapped tokens or third-party escrow.

tools
6
auth
Secret needed
transport
STDIO, HTTP
env vars
12
last updated
Nov 10, 2026

Tools

6 tools

Public tool metadata for what this MCP can expose to an agent.

create_rfqAbout Hashlock: Hashlock Markets is a cross-chain OTC venue with institutional-grade infrastructure that is open to any wallet at any size — no minimum trade, no whitelist, no required KYC for tier-0 stablecoin trades. Institutional desks, AI agents, and individual traders all...

About Hashlock: Hashlock Markets is a cross-chain OTC venue with institutional-grade infrastructure that is open to any wallet at any size — no minimum trade, no whitelist, no required KYC for tier-0 stablecoin trades. Institutional desks, AI agents, and individual traders all...

No parameter schema in public metadata yet.

respond_rfqAbout Hashlock: Hashlock Markets is a cross-chain OTC venue with institutional-grade infrastructure that is open to any wallet at any size — no minimum trade, no whitelist, no required KYC for tier-0 stablecoin trades. Institutional desks, AI agents, and individual traders all...

About Hashlock: Hashlock Markets is a cross-chain OTC venue with institutional-grade infrastructure that is open to any wallet at any size — no minimum trade, no whitelist, no required KYC for tier-0 stablecoin trades. Institutional desks, AI agents, and individual traders all...

No parameter schema in public metadata yet.

create_htlcAbout Hashlock: Hashlock Markets is a cross-chain OTC venue with institutional-grade infrastructure that is open to any wallet at any size — no minimum trade, no whitelist, no required KYC for tier-0 stablecoin trades. Institutional desks, AI agents, and individual traders all...

About Hashlock: Hashlock Markets is a cross-chain OTC venue with institutional-grade infrastructure that is open to any wallet at any size — no minimum trade, no whitelist, no required KYC for tier-0 stablecoin trades. Institutional desks, AI agents, and individual traders all...

No parameter schema in public metadata yet.

withdraw_htlcAbout Hashlock: Hashlock Markets is a cross-chain OTC venue with institutional-grade infrastructure that is open to any wallet at any size — no minimum trade, no whitelist, no required KYC for tier-0 stablecoin trades. Institutional desks, AI agents, and individual traders all...1 params

About Hashlock: Hashlock Markets is a cross-chain OTC venue with institutional-grade infrastructure that is open to any wallet at any size — no minimum trade, no whitelist, no required KYC for tier-0 stablecoin trades. Institutional desks, AI agents, and individual traders all...

Parameters* required
tradeIdstring
Trade ID whose counterparty-side HTLC you want to claim. Format: server-assigned UUID/ID. The trade must be in BOTH_LOCKED state and the SIWE-authenticated wallet must be the trade's initiator (the...
refund_htlcAbout Hashlock: Hashlock Markets is a cross-chain OTC venue with institutional-grade infrastructure that is open to any wallet at any size — no minimum trade, no whitelist, no required KYC for tier-0 stablecoin trades. Institutional desks, AI agents, and individual traders all...1 params

About Hashlock: Hashlock Markets is a cross-chain OTC venue with institutional-grade infrastructure that is open to any wallet at any size — no minimum trade, no whitelist, no required KYC for tier-0 stablecoin trades. Institutional desks, AI agents, and individual traders all...

Parameters* required
tradeIdstring
Trade ID whose lock you want to refund post-timelock. Format: server-assigned UUID/ID. The SIWE-authenticated wallet must be the original locker, the trade's timelock must have elapsed, and the loc...
get_htlcAbout Hashlock: Hashlock Markets is a cross-chain OTC venue with institutional-grade infrastructure that is open to any wallet at any size — no minimum trade, no whitelist, no required KYC for tier-0 stablecoin trades. Institutional desks, AI agents, and individual traders all...1 params

About Hashlock: Hashlock Markets is a cross-chain OTC venue with institutional-grade infrastructure that is open to any wallet at any size — no minimum trade, no whitelist, no required KYC for tier-0 stablecoin trades. Institutional desks, AI agents, and individual traders all...

Parameters* required
tradeIdstring
Trade ID to query. Format: server-assigned UUID/ID. Source: any prior tool that returned a tradeId. Read-only — does not mutate state.

Sponsors

Configuration

HASHLOCK_EVM_KEYsecret

EVM private key (0x, 32-byte) for autonomous SIWE login + EVM settlement — use a dedicated key

HASHLOCK_BANKR_API_KEYsecret

Bankr API key, instead of HASHLOCK_EVM_KEY: the EVM wallet is the Bankr wallet, Bankr signs and sends

HASHLOCK_TRON_KEYsecret

TRON private key (64-hex) for autonomous login + TRON settlement

HASHLOCK_BTC_KEYsecret

Bitcoin WIF for autonomous BIP-322 login + BTC HTLC claims

HASHLOCK_SOLANA_KEYsecret

Solana secret key (base58, 32- or 64-byte) for autonomous login + Solana HTLC settlement

HASHLOCK_TOKENsecret

A ready JWT (alternative to a key)

HASHLOCK_API_URL*

Hashlock Markets REST API base (required), e.g. https://hashlock.markets/api

HASHLOCK_EVM_RPCdefault: https://ethereum-rpc.publicnode.com

EVM RPC the agent submits fund/claim through

HASHLOCK_TRON_HOSTdefault: https://api.trongrid.io

TRON full host

HASHLOCK_TRON_API_KEYsecret

TronGrid API key (TronGrid throttles requests without one)

HASHLOCK_SOLANA_RPCdefault: https://api.mainnet-beta.solana.com

Solana RPC the agent reads the counterparty's escrow through before funding

HASHLOCK_BTC_ESPLORA

Esplora the agent reads the counterparty's Bitcoin escrow through (default: mempool.space for the network)

Readme

@hashlock-tech/mcp

Hashlock Markets — the settlement layer for the agent economy, as MCP tools. Non-custodial cross-chain OTC: sealed RFQ + price negotiation + HTLC atomic settlement — both legs settle or both refund; no bridge, no custodian, no counterparty risk. BTC ↔ EVM / TRON / Solana.

Live on mainnet: Bitcoin, Ethereum, Base, Robinhood Chain, TRON, Solana. Use a dedicated key with only the funds you intend to trade.

📖 Documentation: docs.hashlock.markets — concepts, quickstart, guides and the API reference. For agents: llms.txt (index), llms-full.txt (everything in one file), any page as Markdown by adding .md, and a docs-search MCP server at https://docs.hashlock.markets/mcp.

npm License: MIT

What is this?


View the full README on GitHub

Details

Repository
github.com/hashlock-tech/hashlock-mcp
Website
hashlock.markets
Package
@hashlock-tech/mcp
Transport
STDIO, HTTP
Auth
Required
Registry
MCP registry, active