hashlock-mcp-server

hashlock-mcp-server

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

Category
Visit Server

README

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

npm License: MIT MCP Registry

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.

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-server

Configure 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.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Available Tools

Tool Description
create_intent Create a trading intent to swap any asset on any chain
commit_intent Submit a sealed-bid commitment with privacy controls
explain_intent Get a plain-language explanation of an intent
validate_intent Validate an intent before submission
parse_natural_language 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 bid

Environment Variables

Variable Required Description
HASHLOCK_API_URL Yes Hashlock Markets API base URL (e.g. https://api.hashlock.markets)
HASHLOCK_API_KEY Yes Your API key — get one at hashlock.markets

Links

License

MIT © Hashlock Technologies Ltd.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured