Hashlock Markets

io.github.Hashlock-Tech/hashlock

Non-custodial cross-chain OTC for AI agents: sealed RFQ, negotiation, HTLC atomic swaps.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "hashlock": {
      "command": "npx",
      "args": [
        "-y",
        "@hashlock-tech/mcp@1.11.1"
      ],
      "env": {
        "HASHLOCK_EVM_KEY": "<your HASHLOCK_EVM_KEY>",
        "HASHLOCK_TRON_KEY": "<your HASHLOCK_TRON_KEY>",
        "HASHLOCK_BTC_KEY": "<your HASHLOCK_BTC_KEY>",
        "HASHLOCK_SOLANA_KEY": "<your HASHLOCK_SOLANA_KEY>",
        "HASHLOCK_TOKEN": "<your HASHLOCK_TOKEN>",
        "HASHLOCK_API_URL": "<your HASHLOCK_API_URL>",
        "HASHLOCK_EVM_RPC": "https://ethereum-rpc.publicnode.com",
        "HASHLOCK_TRON_HOST": "https://api.trongrid.io",
        "HASHLOCK_TRON_API_KEY": "<your HASHLOCK_TRON_API_KEY>",
        "HASHLOCK_SOLANA_RPC": "https://api.mainnet-beta.solana.com"
      }
    }
  }
}
Environment variables
  • HASHLOCK_EVM_KEYsecretEVM private key (0x, 32-byte) for autonomous SIWE login + EVM settlement — use a dedicated key
  • HASHLOCK_TRON_KEYsecretTRON private key (64-hex) for autonomous login + TRON settlement
  • HASHLOCK_BTC_KEYsecretBitcoin WIF for autonomous BIP-322 login + BTC HTLC claims
  • HASHLOCK_SOLANA_KEYsecretSolana secret key (base58, 32- or 64-byte) for autonomous login + Solana HTLC settlement
  • HASHLOCK_TOKENsecretA ready JWT (alternative to a key)
  • HASHLOCK_API_URLrequiredHashlock Markets REST API base (required), e.g. https://hashlock.markets/api
  • HASHLOCK_EVM_RPCEVM RPC the agent submits fund/claim through
  • HASHLOCK_TRON_HOSTTRON full host
  • HASHLOCK_TRON_API_KEYsecretTronGrid API key (TronGrid throttles requests without one)
  • HASHLOCK_SOLANA_RPCSolana RPC the agent reads the counterparty's escrow through before funding

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
1.11.1
Registry
active
Published
11/5/2026

Remotes

  • streamable-httphttps://hashlock.markets/mcp
Browse all Developer Tools →

Add the badge to your site

Show visitors that Hashlock Markets is listed here — it’s also the link we check for a free listing.

Hashlock Markets — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-hashlock-tech-hashlock?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Hashlock Markets — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Hashlock Markets — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-hashlock-tech-hashlock?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.