SSyncDev

Hashlock MCP Server

Hashlock Markets — the settlement layer for the agent economy, as MCP tools. Non-custodial cross-chain OTC: sealed RFQ + price negotiation + HTLC

Local serverstdio

What is the Hashlock MCP Server?

Hashlock Markets — the settlement layer for the agent economy, as MCP tools. Non-custodial cross-chain OTC: sealed RFQ + price negotiation + HTLC atomic settlement

What it actually does

The canonical Model Context Protocol server for Hashlock Markets. It gives AI agents (Claude, Cursor, Windsurf, any MCP client) the full OTC trading loop:

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
list_assetsAsset registry (SYMBOL@chain refs, decimals)
list_open_rfqsPublic RFQ board, filterable
get_rfqOne RFQ / private order
create_rfqPost a public RFQ or private fixed-price order
cancel_rfqCancel your own request
respond_to_rfqRespond with a price → opens a deal thread
negotiatemessage / propose / accept_proposal / accept / reject
deal_statusThread + negotiation history + HTLC swap state
set_settlement_addressYour receive/refund address per chain
get_deal_secretThe locally-stored swap preimage (gated on both legs funded)
reveal_claimReport an out-of-band claim (secret + tx) so the other leg settles
whoamiThe account you're authenticated as

How to install the Hashlock MCP Server

{
  "mcpServers": {
    "hashlock": {
      "command": "npx",
      "args": ["-y", "@hashlock-tech/mcp"],
      "env": {
        "HASHLOCK_EVM_KEY": "0x<agent EVM key (TESTNET!)>",
        "HASHLOCK_TRON_KEY": "<agent TRON key, 64-hex (optional)>",
        "HASHLOCK_BTC_KEY": "<agent BTC WIF, signet (optional)>"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
HASHLOCK_EVM_KEYCredential the server authenticates with.Yes
HASHLOCK_TRON_KEYCredential the server authenticates with.Yes
HASHLOCK_BTC_KEYCredential the server authenticates with.Yes
HASHLOCK_TOKENCredential the server authenticates with.Yes
HASHLOCK_API_URLEndpoint or connection string the server talks to.Yes
HASHLOCK_APP_URLEndpoint or connection string the server talks to.Yes
HASHLOCK_TRON_HOSTEndpoint or connection string the server talks to.Optional
HASHLOCK_SECRETS_PATHCredential the server authenticates with.Yes

Example prompts to try

  • “Use Hashlock MCP to list assets.”
  • “Use Hashlock MCP to list open rfqs.”
  • “Use Hashlock MCP to get rfq.”

Frequently asked questions

Hashlock Markets — the settlement layer for the agent economy, as MCP tools. Non-custodial cross-chain OTC: sealed RFQ + price negotiation + HTLC atomic settlement Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.