Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI โ†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE โ†— (opens in a new tab)
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿ’ฐ Finance & Fintech
  3. Hashlock MCP
Hashlock MCP logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 6:01:32 PM

Hashlock MCP

User RatingsBe the first to rate and review this MCP server!
View RepositoryVisit Website

Non-custodial cross-chain OTC trading with sealed-bid RFQ and HTLC atomic settlement for BTC, ETH, TRON, and SUI testnets.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON โ–พ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "hashlock-tech-hashlock-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hashlock-tech/mcp"
      ]
    }
  }
}

๐Ÿ’ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Tool Schemas (14) Directory Badge Claim listing Alternatives๐Ÿ’ฐ More in Finance & Fintech

Overview

This MCP server enables AI agents to perform cross-chain over-the-counter trades using sealed request-for-quote (RFQ) and hashed timelock contract (HTLC) atomic swaps without bridges or custodians. It supports browsing assets, posting and responding to RFQs, negotiating deals, and tracking settlement states. Settlement signing is done locally by the userโ€™s wallet, ensuring no keys or funds are held by the server. Currently supports testnets for Ethereum Sepolia, TRON Nile, and Bitcoin signet.

Use cases

โ€ขBrowse asset registry and public RFQ board
โ€ขPost public or private RFQ orders
โ€ขRespond to and negotiate RFQ deals
โ€ขTrack and manage HTLC swap settlements
โ€ขRetrieve swap secrets for claim execution

Key features

โ€ขSealed-bid RFQ posting and negotiation
โ€ขHTLC atomic settlement ensuring all-or-nothing swaps
โ€ขNon-custodial operation with local key management
โ€ขSupports BTC, EVM-compatible chains, TRON, and SUI testnets
โ€ขTwo deployment modes: local stdio and remote hosted HTTP
โ€ขAuthentication via chain-specific keys or JWT tokens

Capabilities & Tool Schemas (14) ~211 tokensApproximate context cost of this serverโ€™s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server โ€” may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by Hashlock MCP.

list_assets

Asset registry (`SYMBOL@chain` refs, decimals)

list_open_rfqs

Public RFQ board, filterable

get_rfq

One RFQ / private order

create_rfq

Post a public RFQ or private fixed-price order

cancel_rfq

Cancel your own request

respond_to_rfq

Respond with a price โ†’ opens a deal thread

Documentation Overview

@hashlock-tech/mcp

Hashlock Markets โ€” the settlement layer for the agent economy, as MCP tools. Non-custodial cross-chain OTC: sealed RFQ + price negotiation + HTLC atomic settlement โ€” both legs settle or both refund; no bridge, no custodian, no counterparty risk. BTC โ†” EVM / TRON.

โš ๏ธ Testnets only for now (Ethereum Sepolia ยท TRON Nile ยท Bitcoin signet). Mainnet comes after the security-hardening gate โ€” do not send real funds.

npm License: MIT

What is this?

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

  1. Browse the asset registry and the public RFQ board
  2. Post a public RFQ or a private fixed-price order (shareable link)
  3. Respond to requests with a price; negotiate (counter / accept / decline) in the deal thread
  4. Agree โ€” both parties accept โ†’ an HTLC swap is created
  5. Track settlement โ€” who funded, timelocks, tx hashes โ€” and manage receive/refund addresses

Settlement signing (funding and claiming the HTLCs) stays with your own wallet โ€” the server never holds keys or funds. The swap secret is generated locally on your machine and only its sha256 hashlock is sent; retrieve it with get_deal_secret when it's time to claim.

Two ways to run

  • Local (stdio) โ€” the npm package below. You run it on your machine with your own keys; it can settle autonomously (SIWE login + on-chain signing with HASHLOCK_*_KEY). Full trust in yourself.
  • Remote (hosted, Streamable HTTP) โ€” a public URL (https://dev.hashlock.markets/mcp) anyone can add from Claude / ChatGPT / any MCP client; one-click OAuth, no install. Multi-tenant, so it is strictly non-custodial: settlement returns unsigned transactions you sign with your own wallet, and the server never holds keys or your swap preimage. See Remote (hosted) below.

Install

Local stdio via npx (Claude Desktop / Cursor / Windsurf mcpServers config):

config.json
{
  "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)>"
      }
    }
  }
}

Auth โ€” autonomous, per chain

The agent owns its key(s); the server does the login itself (nonce โ†’ sign โ†’ JWT, refreshed on expiry). The first configured key (EVM โ†’ TRON โ†’ BTC) mints the session; each key also signs settlement on its chain.

Env varChainLogin
HASHLOCK_EVM_KEYEVMSIWE personal_sign
HASHLOCK_TRON_KEYTRONsignMessageV2
HASHLOCK_BTC_KEYBitcoinBIP-322
HASHLOCK_TOKENโ€”a ready JWT (alternative to a key)

With none set, read-only tools (list_assets, list_open_rfqs, get_rfq) still work. Use dedicated testnet keys.

Other env: HASHLOCK_API_URL (default https://dev.hashlock.markets/api), HASHLOCK_APP_URL (share links; default derived), HASHLOCK_EVM_RPC (default a public Sepolia RPC), HASHLOCK_TRON_HOST (default Nile), HASHLOCK_SECRETS_PATH (default ~/.hashlock/mcp-secrets.json, mode 0600).

Remote (hosted)

The same server also runs as a remote MCP over Streamable HTTP so anyone can connect by URL โ€” no install. This is the multi-tenant, non-custodial surface: browse, RFQ, negotiate, and get unsigned fund/claim/refund transactions you sign with your own wallet (there is no autonomous key-in-env signing and no server-side secret storage here โ€” you supply your own hashlock and keep your own preimage).

Connect from a client: add the server URL. Nothing else โ€” the client discovers that it needs authorization, sends you to Hashlock to sign in and approve, and receives its own key:

Code
URL: https://dev.hashlock.markets/mcp

The grant then appears under Developers as an ordinary API key and can be revoked there at any time. Clients that do not speak OAuth can still send a key they created themselves as Authorization: Bearer hk_โ€ฆ.

How the OAuth flow works

Standard OAuth 2.1, so any compliant MCP client drives it unattended:

StepEndpoint
Unauthorized call names its metadata401 + WWW-Authenticate: โ€ฆ resource_metadata=โ€ฆ (RFC 9728)
Client reads the resource + server metadata/.well-known/oauth-protected-resource, /.well-known/oauth-authorization-server (RFC 8414)
Client registers itselfPOST /oauth/register (RFC 7591)
You sign in and approve, in the browser/oauth/authorize
Client redeems the code for a keyPOST /oauth/token โ€” PKCE S256 required (RFC 7636)

Codes are single-use and expire in 60 seconds; redirect URIs are allowlisted, with loopback permitted per RFC 8252. The issued token IS the API key, so a grant is revocable from the same list as every other key.

Testnets only until the hardening gate.

Run the hosted service yourself:

Terminal
docker build -t hashlock-mcp-http .
docker run -p 8080:8080 -e HASHLOCK_V1_URL=https://api-dev.hashlock.markets/v1 hashlock-mcp-http
# or, from source:
pnpm build && HASHLOCK_V1_URL=https://api-dev.hashlock.markets/v1 PORT=8080 pnpm start:http

Env: HASHLOCK_V1_URL (developer-API base, default https://api.hashlock.markets/v1) ยท PORT (default 8080). Put it behind your reverse proxy at /mcp; GET /health is a liveness probe.

Tools (16)

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
my_rfqs, my_dealsYour requests and deal threads
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
fund_legAutonomous: fund your side of a swap on-chain with the agent's own key (EVM/TRON/BTC)
claim_legAutonomous: claim your receive leg with the preimage (reveals the secret on-chain)

Amounts are human decimal strings ("0.5"); prices are the total quote-asset amount, not per-unit. Errors return a structured envelope { error: { code, is_retryable, recovery_hint } } agents can branch on.

Fully autonomous loop

With a key set for each chain a swap touches, an agent can run end to end with no human: create_rfq/respond_to_rfq โ†’ negotiate (accept) โ†’ set_settlement_address (both chains) โ†’ fund_leg โ†’ claim_leg. Funding/claiming is signed locally with the agent's keys; the swap secret is generated + stored locally and only its hashlock leaves the machine. Use dedicated testnet keys.

How atomic settlement works

Both parties lock funds in HTLCs bound to the same sha256(secret) hashlock โ€” BTC as a P2WSH script, EVM/TRON as contracts. The initiator funds the long-timelock leg first (asymmetric timelocks, so nobody gets a free option). Claiming one leg reveals the secret on-chain, which unlocks the other leg. Either both legs settle, or both refund after their timelocks. The recipient of each leg is fixed at funding time โ€” revealing the secret cannot redirect funds.

Development

sh
pnpm install
pnpm run build    # tsup โ†’ dist/
pnpm run lint     # tsc --noEmit
pnpm test         # vitest

Node โ‰ฅ 20. MIT.

Read the full README โ†’View source on GitHub โ†’

Related MCP Servers

View all in Finance & Fintech View all alternatives
  • Brazilian Central Bank (BCB) MCP logoBrazilian Central Bank (BCB) MCP
    Verified

    MCP server for the Brazilian Central Bank (Banco Central do Brasil): SGS time series (Selic, IPCA, exchange rates, GDP and 139 curated, source-verified indicators), the Focus market-expectations survey and PTAX official exchange rates. 15 tools, 3 resources and 3 prompts, with provenance metadata on every response. Runs locally via npx (stdio) or through the hosted endpoint at https://bcb.sidneybissoli.com/mcp โ€” no API key or signup required.

    ๐Ÿ’ฐ Finance & Fintech7 views
    Compare vs Brazilian Central Bank (BCB) MCP โ†’
  • Tonnode MCP logoTonnode MCP

    Direct liteserver access to The Open Network (TON) over native ADNL: GRAM balances, account state, transaction history and contract get-methods. Works with the free public config or a private/hosted endpoint. npx -y @tonnode/mcp

    ๐Ÿ’ฐ Finance & Fintech2 views
    Compare vs Tonnode MCP โ†’
  • Alchemy MCP Server logoAlchemy MCP Server

    Allow AI agents to interact with Alchemy's blockchain APIs.

    ๐Ÿ’ฐ Finance & Fintech3 views
    Compare vs Alchemy MCP Server โ†’
  • Tasty Agent logoTasty Agent

    Tastyworks API integration to handle trading activities on Tastytrade

    ๐Ÿ’ฐ Finance & Fintech4 views
    Compare vs Tasty Agent โ†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks โ€” not a rating.

npm downloads
642
Package downloads in the last 30 days.
Last commit
4d ago
Most recent push to the default branch.
Tools exposed
14
Callable tools this server registers over MCP.
Directory activity
1 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet โ€” be the first to share how this listing worked for you.

Frequently Asked Questions about Hashlock MCP

Supports Bitcoin signet, Ethereum Sepolia, TRON Nile testnets, and SUI for cross-chain swaps.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewHashlock MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/hashlock-tech-hashlock-mcp?style=directory)](https://allmcps.com/mcp/hashlock-tech-hashlock-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/hashlock-tech-hashlock-mcp"><img src="https://allmcps.com/api/badge/hashlock-tech-hashlock-mcp?style=directory" alt="Hashlock MCP on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿ’ฐFinance & Fintech
More technical detailsExpand โ–พ
TransportSTDIO
RuntimeNode.js
Last updatedSep 7, 2026
10/10 checks healthy over the last 32d
Views1
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars0
GitHub Star CountTotal stargazers on GitHub representing community popularity (0 stars).
Last commit4d ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Sep 7, 2026
npm downloads642/mo
Monthly npm DownloadsAverage monthly package installs recorded from npm registry statistics.
59Quality signal: Good ยท 59/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools27/30
Adoption & activity7/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 28d ago via OSV.dev ยท @hashlock-tech/mcp (npm)

โ˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge โ€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it โ€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿ’ฐ Finance & Fintech โ†’Best MCP servers for Finance & Fintech โ†’Alternatives to Hashlock MCP โ†’Install in Claude DesktopInstall in CursorInstall in VS Code