Institutional-grade OTC crypto trading with HTLC atomic settlement on Ethereum, Bitcoin, and Sui. Counterparty-risk-free for AI agents — trades settle atomically via on-chain hash time-locked contracts. Six tools cover the full trade lifecycle: create_trade (RFQ), accept_quote, confirm_my_lock, confirm_my_claim, refund_my_lock, get_trade_status. Remote HTTP endpoint at mcp.hashlock.markets/mcp or install locally via npx @hashlock-tech/mcp.
Overview
HashLock OTC MCP Server
Atomic OTC crypto trading, accessible to AI agents.
What problem it solves
Every existing agent DEX integration has a trust assumption: AMMs have slippage and MEV, RFQ solvers can fail mid-trade. HashLock removes counterparty risk via Hash Time-Locked Contracts — if either side fails, both sides refund automatically. Deterministic, on-chain, and auditable.
Capabilities
- Multi-chain HTLC settlement (Ethereum, Bitcoin P2WSH, Sui Move)
- RFQ quote routing to institutional market makers
- Blind auction mode (hide counterparty identity)
- Cross-chain atomic swaps (ETH ↔ BTC, EVM ↔ Sui)
- Anonymous compliance caps ($1k/trade, $5k/24h) with KYC tier upgrades
Tools (6)
| Tool | What it does |
|---|---|
create_trade | Post an RFQ (BUY/SELL) |
accept_quote | Accept a market-maker quote |
confirm_my_lock | Build the on-chain HTLC lock tx for user to sign |
confirm_my_claim | Build the preimage-reveal claim tx |
refund_my_lock | Build the refund tx after timelock expiry |
get_trade_status | Query full trade + HTLC state |
Install (stdio, via npm)
{
"mcpServers": {
"hashlock": {
"command": "npx",
"args": ["-y", "@hashlock-tech/mcp"],
"env": { "HASHLOCK_ACCESS_TOKEN": "<token>" }
}
}
}
Install (remote HTTP, ChatGPT-compatible)
URL: https://mcp.hashlock.markets/mcp
Auth: Authorization: Bearer <token>
Get a token: https://hashlock.markets/mcp/auth — sign in with your Ethereum wallet (SIWE). No email, no password. Tokens are valid for 30 days.
Links
- Docs: https://hashlock.markets/docs
- NPM: https://www.npmjs.com/package/@hashlock-tech/mcp
- GitHub: https://github.com/Hashlock-Tech/hashlock-mcp
- Website: https://hashlock.markets
License
MIT