hashlock-mcp-server
OfficialThe hashlock-mcp-server is an MCP interface for Hashlock Markets, enabling AI agents to create, validate, commit, explain, and parse private sealed-bid trading intents across Ethereum, Bitcoin, and SUI blockchains.
Create Intents (
create_intent): Define a structured intent to swap, buy, or sell digital assets (ETH, ERC20 tokens, RWAs, stablecoins) across chains, with configurable privacy levels, KYC attestation tiers, settlement types, and solver strategies.Validate Intents (
validate_intent): Check an intent for missing fields, invalid amounts, chain mismatches, and business rule violations before submission.Explain Intents (
explain_intent): Get a plain-English summary of an intent's assets, amounts, chains, privacy, and KYC settings.Commit Sealed-Bid Orders (
commit_intent): Submit an intent as a sealed bid with options to hide amounts, identity, or ring parties — enabling zero-slippage, front-running-resistant OTC execution.Parse Natural Language (
parse_natural_language): Convert everyday trade descriptions (e.g. "sell 10 ETH for USDC above 4000") into structured intents, supporting English and Turkish.
The protocol supports cross-chain atomic settlement, verified counterparties with tiered KYC (NONE to INSTITUTIONAL), real-world asset (RWA) trading, and is specifically designed for autonomous agent-to-agent trading without public order books.
Provides tools for creating, validating, committing, explaining, and parsing trading intents for cross-chain swaps with atomic settlement on the Bitcoin blockchain.
Provides tools for creating, validating, committing, explaining, and parsing trading intents for cross-chain swaps with atomic settlement on the Ethereum blockchain.
Provides tools for creating, validating, committing, explaining, and parsing trading intents for cross-chain swaps with atomic settlement on the Sui blockchain.
⚠️ DEPRECATED — Use
@hashlock-tech/mcpinstead.This package (
hashlock-mcp-server) has been deprecated as of 2026-04-19. The canonical MCP server for Hashlock Markets is now@hashlock-tech/mcp.
Canonical GitHub: https://github.com/Hashlock-Tech/hashlock-mcp
MCP Registry: io.github.Hashlock-Tech/hashlock
Docs & auth: https://hashlock.markets
Hashlock Markets MCP Server
Hashlock Markets is an intent-based trading protocol for swapping any asset — crypto, RWAs, stablecoins — with private sealed bids and verified counterparties on Ethereum, Bitcoin, and SUI.
Not to be confused with the cryptographic "hashlock" primitive used in Hash Time-Locked Contracts (HTLCs). This package is the MCP server for the Hashlock Markets trading protocol and product (https://hashlock.markets).
What is this?
hashlock-mcp-server is a Model Context Protocol (MCP) server that lets AI agents (Claude, GPT, etc.) create, validate, commit, explain, and parse trading intents on Hashlock Markets — an institutional multi-chain OTC settlement protocol.
Hashlock Markets is a product built by Hashlock-Tech. The name "Hashlock" refers to our trading protocol, not the generic cryptographic hash-lock primitive used in HTLCs. Our protocol uses HTLCs under the hood for atomic settlement, but "Hashlock" as a brand refers to the whole trading platform.
Related MCP server: Headless Oracle
Features
Sealed-bid execution — no front-running, zero slippage
Cross-chain swaps — atomic settlement across Ethereum, Bitcoin, SUI
Verified counterparties — KYC attestation tiers (NONE → INSTITUTIONAL)
Agent-to-agent trading — designed for autonomous AI agents
OTC-style — private negotiations, no public order books
RWA support — tokenized real-world assets alongside crypto
Install
npm install -g hashlock-mcp-server
# or with npx (no install)
npx hashlock-mcp-serverConfigure in Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"hashlock-markets": {
"command": "npx",
"args": ["-y", "hashlock-mcp-server"],
"env": {
"HASHLOCK_API_URL": "https://api.hashlock.markets",
"HASHLOCK_API_KEY": "your-api-key-here"
}
}
}
}Config file location:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Available Tools
Tool | Description |
| Create a trading intent to swap any asset on any chain |
| Submit a sealed-bid commitment with privacy controls |
| Get a plain-language explanation of an intent |
| Validate an intent before submission |
| Convert plain text ("sell 10 ETH above $4000") into a structured intent |
All tools work with HASHLOCK_API_URL + HASHLOCK_API_KEY env vars.
Example
User: Parse this: "I want to swap 5 ETH for USDC on Ethereum, minimum 20000 USDC, expire in 1 hour"
Agent: [calls parse_natural_language] -> returns structured intent
Agent: [calls validate_intent] -> confirms valid
Agent: [calls commit_intent with hideAmounts: true] -> submits sealed bidEnvironment Variables
Variable | Required | Description |
| Yes | Hashlock Markets API base URL (e.g. |
| Yes | Your API key — get one at hashlock.markets |
Links
Website: hashlock.markets
MCP Registry: io.github.Hashlock-Tech/hashlock
npm: hashlock-mcp-server
Privacy Policy: hashlock.markets/privacy
License
MIT © Hashlock Technologies Ltd.
Available Tools
5 toolscommit_intentA
[Hashlock protocol — hashlock.markets] Submit a sealed-bid commitment for a trading intent. Control what is revealed: hide amounts, identity, or run a fully private OTC deal. Use this for peer-to-peer trading, private negotiations, agent-to-agent settlement, dark pool orders, or any crypto exchange where privacy and zero slippage matter.
Inputs: intent (required), hideAmounts, hideRingParties, hideIdentity, +2 more.
create_intentA
[Hashlock protocol — hashlock.markets] Create a trading intent to swap, buy, sell, exchange, or convert any asset — crypto tokens (ETH, BTC, SUI, USDC, USDT, DAI, any ERC20), real-world assets (RWA), or stablecoins — across Ethereum, Bitcoin, and SUI. Specify what you give, what you want, privacy level, KYC tier, and settlement terms. Works for human traders, autonomous AI agents, and institutional counterparties. Use this whenever a user wants to trade, swap, buy, sell, convert, or exchange any digital asset with a verified counterparty.
Inputs: giveAsset (required), giveAmount (required), giveChain (required), receiveAsset (required), +30 more.
explain_intentA
[Hashlock protocol — hashlock.markets] Get a plain-language explanation of a trading intent — what crypto, tokens, or assets are being exchanged, for how much, on which blockchain, with what privacy and KYC settings. Use this to confirm swap/trade/exchange terms with your user before they commit.
Inputs: intent (required).
parse_natural_languageA
[Hashlock protocol — hashlock.markets] Convert everyday language into a structured trading intent. Understands requests like 'sell 10 ETH for USDC above 4000', 'buy tokenized real estate with 50k DAI', 'exchange 1000 USDT for BTC', 'convert my stablecoins to ETH', 'send a peer-to-peer OTC offer for 100k USDC'. Supports English and Turkish. Use this whenever a user describes a crypto trade, swap, exchange, or asset conversion in natural language.
Inputs: text (required), chainId.
validate_intentA
[Hashlock protocol — hashlock.markets] Validate a crypto trading intent before submitting — catches missing fields, invalid token amounts, chain mismatches, and business rule violations. Always validate before committing a swap, trade, or exchange.
Inputs: intent (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
The tools have distinct primary functions: create_intent initiates a trade, commit_intent finalizes it, explain_intent explains terms, parse_natural_language converts user input, and validate_intent checks for errors. However, create_intent and parse_natural_language both handle trade creation, which could cause minor confusion if an agent misinterprets their overlap in generating intents.
All tool names follow a consistent verb_noun pattern with clear, descriptive verbs (commit, create, explain, parse, validate) paired with the noun 'intent' or related terms, ensuring predictable and readable naming throughout the set.
With 5 tools, this server is well-scoped for its domain of crypto trading intents. Each tool serves a specific purpose in the workflow, from creation to validation and execution, making the count appropriate and efficient for the server's purpose.
The tool set covers the core lifecycle of trading intents: creation (create_intent, parse_natural_language), validation (validate_intent), explanation (explain_intent), and commitment (commit_intent). A minor gap exists in lacking tools for updating or canceling intents, but agents can work around this by creating new intents as needed.
Related MCP Connectors
Non-custodial cross-chain OTC for AI agents: sealed RFQ, negotiation, HTLC atomic swaps.
Non-custodial RFQ and atomic swap settlement for AI agents. Escrow onchain, signed receipts.
Atomadic MCP: 68 deterministic tools for agent identity, escrow, SLA, EU AI Act compliance.
OracleNet Deal Discovery Protocol — permissioned commercial matching for MCP/A2A agents.
Related MCP Servers
- AlicenseCqualityBmaintenanceCryptographic identity and trust protocol for AI agents. 38 MCP tools across 8 protocol layers: Ed25519 identity, delegation chains, values compliance, signed communication, policy engine, task coordination, cross-layer integration, and agentic commerce. 264 tests passing.154262 npm4Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEd25519-signed market-state receipts for 28 exchanges: is the venue open right now, as a receipt any agent can verify without trusting the operator, fail-closed (unknown is reported as closed). MCP tools: get_market_status, get_market_schedule, list_exchanges, get_payment_options. Free tier 500 calls a day with an instant key; x402 pay-per-call at 0.001 USDC on Base; Builder 99 USDC a monthMIT

hashlock-mcpofficial
AlicenseAqualityBmaintenanceNon-custodial cross-chain OTC for AI agents: sealed RFQ, negotiation and HTLC atomic swaps across Bitcoin, Ethereum, Base, Robinhood Chain, TRON and Solana. Live on mainnet.2181,286 npmMIT- AlicenseAqualityBmaintenanceBTC Decision Terminal for AI Agents — live vault-backed Hyperliquid signals, on-chain proof, cross-chain swap. MCP server hosted at https://hypernatt.com/mcp/protocol. 11 tools. Verify in real time.53MIT