Prototipo · Versión preliminar: todos los servidores del registro oficial, sincronizados cada 30 minutos. Inicia sesión con Google para escribir reseñas.
PopNx MCPServidores MCP para quienes usan IA · explicados con palabras sencillas

Hashlock Markets

de Hashlock-Techversión 1.12.1i★ 0iComputadora o nube
Nombre en el registroio.github.Hashlock-Tech/hashlock

Cómo instalar

What it does

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

  • Connects Computadora o nube
  • Account or key Cloud: Needs Authorization · Local: Needs HASHLOCK_EVM_KEY, HASHLOCK_BANKR_API_KEY, HASHLOCK_TRON_KEY, HASHLOCK_BTC_KEY, HASHLOCK_SOLANA_KEY, HASHLOCK_TOKEN, HASHLOCK_API_URL, HASHLOCK_TRON_API_KEY
  • Category Cripto y blockchain

Instalación

Elige la app de IA que usas y copia la configuración.

Pasó 5/5 revisiones · Lo que preguntas pasa por el servidor del autor (hashlock.markets)

Primero: ¿qué IA usas?

Elige tu app y los pasos aparecen abajo.

Funciona con Claude · unos 5 min

Necesitas una clave de Hashlock Markets (créala en el sitio del autor) · Configúralo una vez en claude.ai o en la app de escritorio y úsalo en el chat · las cuentas gratis pueden añadir 1 · en Team/Enterprise lo añade un Owner

  1. Regístrate y crea una clave de Hashlock Markets

    Abre el sitio del autor, crea una cuenta y una clave de API para el siguiente paso. Consulta precios y planes gratis en su sitio.

    Abrir el sitio de Hashlock Markets ↗

  2. Abre la página Connectors de Claude

    CustomizeConnectors

    CustomizeConnectors1+ Add2https://…3Add4
  3. Pulsa “+ Add” → “Add custom connector” y completa estos 2 campos

    Copia cada valor al campo con el mismo nombre en Claude y pulsa Continue

    Name · NombreHashlock Markets
    Remote MCP server URL · Direcciónhttps://hashlock.markets/mcp

    En Request headers, añade este nombre y valor

    Nombre del headerAuthorization
    ValorBearer <pega tu clave aquí>

    Pega la clave solo en el campo de la app; nunca en un chat ni se la envíes a nadie

    Deja Authentication como lo detectó Claude y pulsa Add

  4. Actívalo en un chat

    +ConnectorsHashlock Markets

  5. Pruébalo

    Usa Hashlock Markets y dime qué puedes hacer por mí; luego muéstrame una cosa

    ✓ Si Claude dice que está usando Hashlock Markets o muestra una herramienta de Hashlock Markets en la respuesta, ya está conectado

Nombres de menú comprobados con la ayuda de Anthropic el 11 nov 2026 · tu pantalla puede variar un poco según la versión

ChatGPT todavía no puede conectar Hashlock Markets

Hashlock Markets necesita tu propia clave para conectarse, pero la ayuda de OpenAI solo describe el inicio de sesión con OAuth; no hay una opción de clave que hayamos podido verificar

Lo que puedes hacer en su lugar

A · Usa una app que pueda conectar Hashlock Markets

  • Necesitas una clave de Hashlock Markets (créala en el sitio del autor) · Configúralo una vez en claude.ai o en la app de escritorio y úsalo en el chat · las cuentas gratis pueden añadir 1 · en Team/Enterprise lo añade un Owner
  • Necesitas una clave de Hashlock Markets (créala en el sitio del autor)
  • Necesitas una clave de Hashlock Markets (créala en el sitio del autor)
  • Necesitas una clave de Hashlock Markets (créala en el sitio del autor)

B · Otros en Cripto y blockchain que funcionan con ChatGPT

Elegidos entre los más usados de la misma categoría, solo los que se conectan con una dirección y sin clave

Funciona con Claude Code · unos 5 min

Necesitas una clave de Hashlock Markets (créala en el sitio del autor)

  1. Regístrate y crea una clave de Hashlock Markets

    Abre el sitio del autor, crea una cuenta y una clave de API para el siguiente paso. Consulta precios y planes gratis en su sitio.

    Abrir el sitio de Hashlock Markets ↗

  2. Abre la Terminal

    Mac: pulsa Command+Espacio y escribe Terminal · Windows: abre PowerShell

  3. Pega este comando y pulsa Enter

    claude mcp add --transport http --scope user hashlock https://hashlock.markets/mcp --header 'Authorization: Bearer your-value'

    Cambia “your-value” por tu clave antes de pulsar Enter

    Pega la clave solo en el campo de la app; nunca en un chat ni se la envíes a nadie

  4. Escribe /mcp en Claude Code

    Deberías ver Hashlock Markets en la lista como conectado

  5. Pruébalo

    Usa Hashlock Markets y dime qué puedes hacer por mí; luego muéstrame una cosa

    ✓ Si Claude Code dice que está usando Hashlock Markets o muestra una herramienta de Hashlock Markets en la respuesta, ya está conectado

Nombres de menú comprobados con la ayuda de Anthropic el 11 nov 2026 · tu pantalla puede variar un poco según la versión

Funciona con Cursor · unos 5 min

Necesitas una clave de Hashlock Markets (créala en el sitio del autor)

  1. Regístrate y crea una clave de Hashlock Markets

    Abre el sitio del autor, crea una cuenta y una clave de API para el siguiente paso. Consulta precios y planes gratis en su sitio.

    Abrir el sitio de Hashlock Markets ↗

  2. Pulsa este botón para abrir Cursor

    Abrir en Cursor

    Cursor te pedirá confirmar; pulsa Install

  3. Escribe tu clave

    En la configuración de Hashlock Markets, Authorization está vacío; añade tu clave y guarda

    Pega la clave solo en el campo de la app; nunca en un chat ni se la envíes a nadie

  4. Abre el chat de IA de Cursor en modo Agent

  5. Pruébalo

    Usa Hashlock Markets y dime qué puedes hacer por mí; luego muéstrame una cosa

    ✓ Si Cursor dice que está usando Hashlock Markets o muestra una herramienta de Hashlock Markets en la respuesta, ya está conectado

Nombres de menú comprobados con la ayuda de Cursor el 11 nov 2026 · tu pantalla puede variar un poco según la versión

Funciona con VS Code · unos 5 min

Necesitas una clave de Hashlock Markets (créala en el sitio del autor)

  1. Regístrate y crea una clave de Hashlock Markets

    Abre el sitio del autor, crea una cuenta y una clave de API para el siguiente paso. Consulta precios y planes gratis en su sitio.

    Abrir el sitio de Hashlock Markets ↗

  2. Pulsa este botón para abrir VS Code

    Abrir en VS Code

    VS Code te pedirá confirmar; pulsa Install

  3. Escribe tu clave

    En la configuración de Hashlock Markets, Authorization está vacío; añade tu clave y guarda

    Pega la clave solo en el campo de la app; nunca en un chat ni se la envíes a nadie

  4. Abre el chat de IA de VS Code en modo Agent

  5. Pruébalo

    Usa Hashlock Markets y dime qué puedes hacer por mí; luego muéstrame una cosa

    ✓ Si VS Code dice que está usando Hashlock Markets o muestra una herramienta de Hashlock Markets en la respuesta, ya está conectado

Nombres de menú comprobados con la ayuda de VS Code el 11 nov 2026 · tu pantalla puede variar un poco según la versión

Otras apps que usan MCP, como Windsurf, Zed o Gemini CLI, añaden servidores de forma distinta. Míralo en la lista de apps

Ver todas las apps que usan MCP →

Dirección para apps que se conectan por la web

Direcciónhttps://hashlock.markets/mcp

La configuración JSON está en “Para desarrolladores”, abajo

¿Te atascaste? Pregunta a quien usa Hashlock Markets💬 Conversación →
Para desarrolladores: comandos de Terminal y configuración JSON

Por la web

Claude Code

claude mcp add --transport http --scope user hashlock https://hashlock.markets/mcp --header 'Authorization: Bearer your-value'

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "hashlock": {
      "url": "https://hashlock.markets/mcp",
      "headers": {
        "Authorization": "Bearer your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "hashlock": {
      "type": "http",
      "url": "https://hashlock.markets/mcp",
      "headers": {
        "Authorization": "Bearer your-value"
      }
    }
  }
}

Instalado en tu computadora

Claude Code

claude mcp add --scope user hashlock --env HASHLOCK_EVM_KEY=your-value --env HASHLOCK_BANKR_API_KEY=your-value --env HASHLOCK_TRON_KEY=your-value --env HASHLOCK_BTC_KEY=your-value --env HASHLOCK_SOLANA_KEY=your-value --env HASHLOCK_TOKEN=your-value --env HASHLOCK_API_URL=your-value --env HASHLOCK_EVM_RPC=your-value --env HASHLOCK_TRON_HOST=your-value --env HASHLOCK_TRON_API_KEY=your-value --env HASHLOCK_SOLANA_RPC=your-value --env HASHLOCK_BTC_ESPLORA=your-value -- npx -y @hashlock-tech/mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "hashlock": {
      "command": "npx",
      "args": [
        "-y",
        "@hashlock-tech/mcp"
      ],
      "env": {
        "HASHLOCK_EVM_KEY": "your-value",
        "HASHLOCK_BANKR_API_KEY": "your-value",
        "HASHLOCK_TRON_KEY": "your-value",
        "HASHLOCK_BTC_KEY": "your-value",
        "HASHLOCK_SOLANA_KEY": "your-value",
        "HASHLOCK_TOKEN": "your-value",
        "HASHLOCK_API_URL": "your-value",
        "HASHLOCK_EVM_RPC": "your-value",
        "HASHLOCK_TRON_HOST": "your-value",
        "HASHLOCK_TRON_API_KEY": "your-value",
        "HASHLOCK_SOLANA_RPC": "your-value",
        "HASHLOCK_BTC_ESPLORA": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "hashlock": {
      "command": "npx",
      "args": [
        "-y",
        "@hashlock-tech/mcp"
      ],
      "env": {
        "HASHLOCK_EVM_KEY": "your-value",
        "HASHLOCK_BANKR_API_KEY": "your-value",
        "HASHLOCK_TRON_KEY": "your-value",
        "HASHLOCK_BTC_KEY": "your-value",
        "HASHLOCK_SOLANA_KEY": "your-value",
        "HASHLOCK_TOKEN": "your-value",
        "HASHLOCK_API_URL": "your-value",
        "HASHLOCK_EVM_RPC": "your-value",
        "HASHLOCK_TRON_HOST": "your-value",
        "HASHLOCK_TRON_API_KEY": "your-value",
        "HASHLOCK_SOLANA_RPC": "your-value",
        "HASHLOCK_BTC_ESPLORA": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "hashlock": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@hashlock-tech/mcp"
      ],
      "env": {
        "HASHLOCK_EVM_KEY": "your-value",
        "HASHLOCK_BANKR_API_KEY": "your-value",
        "HASHLOCK_TRON_KEY": "your-value",
        "HASHLOCK_BTC_KEY": "your-value",
        "HASHLOCK_SOLANA_KEY": "your-value",
        "HASHLOCK_TOKEN": "your-value",
        "HASHLOCK_API_URL": "your-value",
        "HASHLOCK_EVM_RPC": "your-value",
        "HASHLOCK_TRON_HOST": "your-value",
        "HASHLOCK_TRON_API_KEY": "your-value",
        "HASHLOCK_SOLANA_RPC": "your-value",
        "HASHLOCK_BTC_ESPLORA": "your-value"
      }
    }
  }
}

Valores que debes completar

  • HASHLOCK_EVM_KEY secreto env
    EVM private key (0x, 32-byte) for autonomous SIWE login + EVM settlement — use a dedicated key
  • HASHLOCK_BANKR_API_KEY secreto env
    Bankr API key, instead of HASHLOCK_EVM_KEY: the EVM wallet is the Bankr wallet, Bankr signs and sends
  • HASHLOCK_TRON_KEY secreto env
    TRON private key (64-hex) for autonomous login + TRON settlement
  • HASHLOCK_BTC_KEY secreto env
    Bitcoin WIF for autonomous BIP-322 login + BTC HTLC claims
  • HASHLOCK_SOLANA_KEY secreto env
    Solana secret key (base58, 32- or 64-byte) for autonomous login + Solana HTLC settlement
  • HASHLOCK_TOKEN secreto env
    A ready JWT (alternative to a key)
  • HASHLOCK_API_URL obligatorio env
    Hashlock Markets REST API base (required), e.g. https://hashlock.markets/api
  • HASHLOCK_EVM_RPC env
    EVM RPC the agent submits fund/claim through
  • HASHLOCK_TRON_HOST env
    TRON full host
  • HASHLOCK_TRON_API_KEY secreto env
    TronGrid API key (TronGrid throttles requests without one)
  • HASHLOCK_SOLANA_RPC env
    Solana RPC the agent reads the counterparty's escrow through before funding
  • HASHLOCK_BTC_ESPLORA env
    Esplora the agent reads the counterparty's Bitcoin escrow through (default: mempool.space for the network)
  • Authorization secreto HTTP header
    Optional: "Bearer hk_live_…" API key from https://hashlock.markets/developers. Without it, MCP clients sign in through OAuth.

Esta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.

De un vistazo

Descargas por semanai
881/sem
Conexión
Computadora o nube
Transporte
stdio, streamable-http
Última versióni
1.12.1
Publicado en el registroi
10 nov 2026
Último cambio de códigoi
11 nov 2026
Creador
Hashlock-Tech
Paquetes
npm: @hashlock-tech/mcp
Estado en el registro
Activo

Qué apps pueden usarlo

Según cómo se conecta este servidor y la documentación de cada app, comprobado el 10 nov 2026.

Se conectan por internet en

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

Se ejecutan en tu computadora en

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

Todas las apps, con ventajas y desventajas →

Qué puede hacer

El servidor pide iniciar sesión antes de mostrar sus herramientas.

Revisiones básicasi

Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 12 nov 2026

  • ✓ Superada

    El creador coincide con el repo

    El nombre en el registro se verificó con la cuenta de GitHub Hashlock-Tech, dueña del repo

  • ✓ Superada

    Sigue en mantenimiento

    Último cambio de código: ayer

  • ✓ Superada

    Tiene licencia

    Usa MIT

  • ✓ Superada

    El endpoint responde

    Respondió en 50 ms (HTTP 401)

  • ✓ Superada

    Inicio de sesión con OAuth

    Declara inicio de sesión con OAuth, así que tu app de IA puede llevarte a iniciar sesión

  • … Aún sin revisar

    Sin instrucciones ocultas en las descripciones de herramientas

    Aún sin revisar; leemos la lista de herramientas cuando revisamos el endpoint

Conversación

Pregunta, comparte un consejo o avisa de que no funciona. Ordenado por lo que la gente marcó como útil.

Aún no hay publicaciones. Sé la primera persona en preguntar o compartir.

Lo publicado aquí lo escriben usuarios, no el equipo de PopNx.

Inicia sesión con Google para publicar

Reseñas de usuarios

Aún no hay reseñas

Inicia sesión con Google para escribir una reseña

Comparado con otros en Cripto y blockchaini

  • Más estrellas que el 0% de los otros 1659 servidores de esta categoría
  • Publicado en el registro más recientemente que el 95% de los otros 1659 servidores de esta categoría
  • Revisiones básicas iguales o mejores que el 100% de los otros 1659 servidores de esta categoría

Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.

Preguntas frecuentes

¿Es seguro Hashlock Markets?

Superó 5 de 5 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.

¿Qué claves o códigos necesita?

Debes completar: Authorization, HASHLOCK_EVM_KEY, HASHLOCK_BANKR_API_KEY, HASHLOCK_TRON_KEY, HASHLOCK_BTC_KEY, HASHLOCK_SOLANA_KEY, HASHLOCK_TOKEN, HASHLOCK_API_URL, HASHLOCK_TRON_API_KEY

¿Se ejecuta en mi computadora o en la nube?

Funciona de las dos formas: instálalo en tu computadora o conéctate a la versión en la nube.

¿Sigue en mantenimiento?

El repo de GitHub cambió por última vez ayer, y la última versión (1.12.1) llegó al registro anteayer.

¿Qué apps pueden usarlo?

Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. Se conecta por URL, así que también funciona en apps que aceptan MCP remoto, como ChatGPT Business o superior.

¿Qué puedo usar en su lugar?

En la misma categoría: Solana MCP by Vybe, Oracle3 prediction-market arbitrage checks, Polymarket Paper Trader

Otros de la misma categoría

Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.

Cómo leer una tarjeta:↓ Descargas por semanai★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi

Solana MCP by Vybe

Solana MCP developer toolkit: wallets, trades, markets, PnL, transfers, onchain, swaps & API tools.

de vybenetworkMuy usado★ 2,6 mil Estrellas de todo el repositorioActualizado hace 6 meses

Se ejecuta en la nube

Oracle3 prediction-market arbitrage checks

Kalshi and Polymarket data, venue fees, no-arbitrage checks and paper execution for AI agents.

de YichengYang-EthanEn crecimiento↓ 35/sem★ 569Actualizado hace 42 días

Se ejecuta en tu computadora

Polymarket Paper Trader

Polymarket paper trading for AI agents: $10k paper money, real order books, official fees.

de agent-nextEn crecimiento↓ 226/sem★ 504Actualizado hace 27 días

Se ejecuta en tu computadora

README del creador

Abrir el README

Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.

@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 / Solana.

Live on mainnet: Bitcoin, Ethereum, Base, Robinhood Chain, TRON, Solana. Use a dedicated key with only the funds you intend to trade.

📖 Documentation: docs.hashlock.markets — concepts, quickstart, guides and the API reference. For agents: llms.txt (index), llms-full.txt (everything in one file), any page as Markdown by adding .md, and a docs-search MCP server at https://docs.hashlock.markets/mcp.

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 — accept the other side's price → an HTLC swap is created (your own quote or counter already counts as your acceptance)
  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://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

HASHLOCK_API_URL=https://hashlock.markets/api npx -y @hashlock-tech/mcp

Minimal config (read-only — browse assets and the RFQ board, no key needed):

{

"mcpServers": { "hashlock": { "command": "npx", "args": ["-y", "@hashlock-tech/mcp"], "env": { "HASHLOCK_API_URL": "https://hashlock.markets/api" } } } }

To trade, add the agent's own key(s) — local stdio via npx (Claude Desktop / Cursor / Windsurf mcpServers config):

{

"mcpServers": { "hashlock": { "command": "npx", "args": ["-y", "@hashlock-tech/mcp"], "env": { "HASHLOCK_API_URL": "https://hashlock.markets/api", "HASHLOCK_EVM_KEY": "0x ", "HASHLOCK_TRON_KEY": " ", "HASHLOCK_BTC_KEY": " ", "HASHLOCK_SOLANA_KEY": " " } } } }

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 → Solana) 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_SOLANA_KEYSolanaed25519 signMessage
HASHLOCK_TOKEN—a ready JWT (alternative to a key)

HASHLOCK_SOLANA_KEY is base58 — the 64-byte export a wallet gives you, or a bare 32-byte seed. It mints the session when it is the only key set, and otherwise sits behind the others in the order above. Either way it proves ownership of the wallet (a signed, nonce-bearing message to /me/link-solana) the first time the agent posts, quotes, accepts or calls whoami, because an order whose give leg is Solana is refused without it — and because it is what puts the agent in the feed for a private order aimed at that wallet. If the account is already linked to a different Solana wallet, that link is left alone; nothing else is blocked, and whoami.solanaLink says so. Solana is also the one chain whose transactions this package does not build: the escrow's ADDRESS is a hash of the agreed terms, so the server composes each one and the agent signs the bytes it is handed. Set the agent's Solana address — whoami returns it as localSigners.addresses.solana — as its settlement address with set_settlement_address before funding.

With none set, read-only tools (list_assets, list_open_rfqs, get_rfq) still work. Use a dedicated key with only the funds you intend to trade.

Required: HASHLOCK_API_URL — the API base, e.g. https://hashlock.markets/api; there is no default. Other env: HASHLOCK_APP_URL (share links; default derived), HASHLOCK_EVM_RPC (default a public Ethereum mainnet RPC; another EVM chain takes HASHLOCK_EVM_RPC_ , e.g. HASHLOCK_EVM_RPC_BASE), HASHLOCK_TRON_HOST (default TronGrid mainnet), HASHLOCK_TRON_API_KEY (a TronGrid API key — TronGrid throttles requests without one), HASHLOCK_SOLANA_RPC (default Solana mainnet-beta; devnet for a testnet API) and HASHLOCK_BTC_ESPLORA (default mempool.space for the API's Bitcoin network) — where the agent reads the counterparty's escrow itself, 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:

URL: https://hashlock.markets/mcp

Approving takes a signature from your wallet — a signed-in session alone grants nothing. The grant then appears under Developers as an ordinary API key: it expires after 90 days, you are told in Telegram (when linked) whenever one is created, and it 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_….

Agents, with no browser: an agent that holds a wallet key mints its own hk_ key — GET https://hashlock.markets/api/v1/keys/nonce, sign Hashlock Markets — create an API key. plus Address: and Nonce: lines (optionally Key name: and Scopes:), and POST /api/v1/keys with { rail, address, message, signature }. The key belongs to the account that wallet signs in to, created on first use. A wallet-only account holds one key — signing again replaces it, which is also how a lost key is recovered; sign up at /developers with email, Google or Telegram to hold up to 10. See /api/v1/docs.

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 with a wallet signature, 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.

Which chains you can give on. An order that GIVES an asset needs a wallet you proved on that chain, and a key starts with only the address its owner signed in with — whoami lists both. To add another, call wallet_proof_message for the exact text, sign it with that wallet (EVM personal_sign · TRON signMessageV2 · Solana signMessage · Bitcoin BIP-322) and pass it to prove_wallet. A proof widens what you can trade and nothing else: it never becomes the account's payout address, which only a wallet session can set, and remove_wallet_proof takes it back.

Run the hosted service yourself:

docker build -t hashlock-mcp-http .

docker run -p 8080:8080 -e HASHLOCK_V1_URL=https://api.hashlock.markets/v1 hashlock-mcp-http

or, from source:

pnpm build && HASHLOCK_V1_URL=https://api.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 (17)

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 — accepting names the price you read, and is refused if it moved; your own quote or counter counts as your acceptance, so you accept only the other side's price; accept_proposal takes their counter and agrees the deal in one step
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_leg`Autonomous: fund your side of a swap on-chain with the agent's own key (EVM/TRON/BTC/Solana)
`claim_leg`Autonomous: claim your receive leg with the preimage (reveals the secret on-chain)
`refund_leg`Autonomous: take your funded leg back once its timelock has passed and nobody claimed it

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 a dedicated key with only the funds you intend to trade.

The agent never signs, funds or reveals a secret on the API's word alone:

  • The deal as agreed. A request the agent creates (taker)

Solo se muestra el principio; lee el resto en el repo