{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.Hashlock-Tech/hashlock",
  "slug": "io.github.hashlock-tech.hashlock",
  "title": "Hashlock Markets",
  "summary": "Non-custodial cross-chain OTC for AI agents: sealed RFQ, negotiation, HTLC atomic swaps.",
  "version": "1.16.0",
  "serverKey": "hashlock",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.hashlock-tech.hashlock",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.hashlock-tech.hashlock/install.md",
  "trust": {
    "score": 96,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T12:29:42.862494091Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@hashlock-tech/mcp@1.16.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add hashlock -e 'HASHLOCK_API_URL=<HASHLOCK_API_URL>' -- npx -y @hashlock-tech/mcp@1.16.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"hashlock\": {\n      \"args\": [\n        \"-y\",\n        \"@hashlock-tech/mcp@1.16.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"HASHLOCK_API_URL\": \"<HASHLOCK_API_URL>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"hashlock\": {\n      \"args\": [\n        \"-y\",\n        \"@hashlock-tech/mcp@1.16.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"HASHLOCK_API_URL\": \"<HASHLOCK_API_URL>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"HASHLOCK_API_URL\",\n      \"id\": \"hashlock-api-url\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"hashlock\": {\n      \"args\": [\n        \"-y\",\n        \"@hashlock-tech/mcp@1.16.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"HASHLOCK_API_URL\": \"${input:hashlock-api-url}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.hashlock]\ncommand = \"npx\"\nargs = [\"-y\", \"@hashlock-tech/mcp@1.16.0\"]\nenv = { \"HASHLOCK_API_URL\" = \"<HASHLOCK_API_URL>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    },
    {
      "id": "remote",
      "label": "Remote (hosted)",
      "transport": "streamable-http",
      "url": "https://hashlock.markets/mcp",
      "headers": [
        {
          "name": "Authorization",
          "description": "Optional: \"Bearer hk_live_…\" API key from https://hashlock.markets/developers. Without it, MCP clients sign in through OAuth.",
          "isSecret": true
        }
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add --transport http hashlock https://hashlock.markets/mcp --header 'Authorization: <Authorization>'"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)",
          "content": "{\n  \"mcpServers\": {\n    \"hashlock\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-remote\",\n        \"https://hashlock.markets/mcp\",\n        \"--header\",\n        \"Authorization: <Authorization>\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"hashlock\": {\n      \"headers\": {\n        \"Authorization\": \"<Authorization>\"\n      },\n      \"url\": \"https://hashlock.markets/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"hashlock\": {\n      \"headers\": {\n        \"Authorization\": \"<Authorization>\"\n      },\n      \"type\": \"http\",\n      \"url\": \"https://hashlock.markets/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.hashlock]\ncommand = \"npx\"\nargs = [\"-y\", \"mcp-remote\", \"https://hashlock.markets/mcp\", \"--header\", \"Authorization: <Authorization>\"]"
        }
      ]
    }
  ],
  "env": [
    {
      "name": "HASHLOCK_EVM_KEY",
      "required": false,
      "secret": true,
      "description": "EVM private key (0x, 32-byte) for autonomous SIWE login + EVM settlement — use a dedicated key",
      "help": "EVM private key (0x, 32-byte) for autonomous SIWE login + EVM settlement — use a dedicated key",
      "placeholder": "<HASHLOCK_EVM_KEY>"
    },
    {
      "name": "HASHLOCK_BANKR_API_KEY",
      "required": false,
      "secret": true,
      "description": "Bankr API key, instead of HASHLOCK_EVM_KEY: the EVM wallet is the Bankr wallet, Bankr signs and sends",
      "help": "Bankr API key, instead of HASHLOCK_EVM_KEY: the EVM wallet is the Bankr wallet, Bankr signs and sends",
      "placeholder": "<HASHLOCK_BANKR_API_KEY>"
    },
    {
      "name": "HASHLOCK_TRON_KEY",
      "required": false,
      "secret": true,
      "description": "TRON private key (64-hex) for autonomous login + TRON settlement",
      "help": "TRON private key (64-hex) for autonomous login + TRON settlement",
      "placeholder": "<HASHLOCK_TRON_KEY>"
    },
    {
      "name": "HASHLOCK_BTC_KEY",
      "required": false,
      "secret": true,
      "description": "Bitcoin WIF for autonomous BIP-322 login + BTC HTLC claims",
      "help": "Bitcoin WIF for autonomous BIP-322 login + BTC HTLC claims",
      "placeholder": "<HASHLOCK_BTC_KEY>"
    },
    {
      "name": "HASHLOCK_SOLANA_KEY",
      "required": false,
      "secret": true,
      "description": "Solana secret key (base58, 32- or 64-byte) for autonomous login + Solana HTLC settlement",
      "help": "Solana secret key (base58, 32- or 64-byte) for autonomous login + Solana HTLC settlement",
      "placeholder": "<HASHLOCK_SOLANA_KEY>"
    },
    {
      "name": "HASHLOCK_TOKEN",
      "required": false,
      "secret": true,
      "description": "A ready JWT (alternative to a key)",
      "help": "A ready JWT (alternative to a key)",
      "placeholder": "<HASHLOCK_TOKEN>"
    },
    {
      "name": "HASHLOCK_API_URL",
      "required": true,
      "secret": false,
      "description": "Hashlock Markets REST API base (required), e.g. https://hashlock.markets/api; the testnet sandbox is https://sandbox.hashlock.markets/api",
      "help": "Hashlock Markets REST API base (required), e.g. https://hashlock.markets/api; the testnet sandbox is https://sandbox.hashlock.markets/api",
      "placeholder": "<HASHLOCK_API_URL>"
    },
    {
      "name": "HASHLOCK_EVM_RPC",
      "required": false,
      "secret": false,
      "description": "EVM RPC the agent submits fund/claim through",
      "help": "EVM RPC the agent submits fund/claim through",
      "default": "https://ethereum-rpc.publicnode.com",
      "placeholder": "https://ethereum-rpc.publicnode.com"
    },
    {
      "name": "HASHLOCK_TRON_HOST",
      "required": false,
      "secret": false,
      "description": "TRON full host",
      "help": "TRON full host",
      "default": "https://api.trongrid.io",
      "placeholder": "https://api.trongrid.io"
    },
    {
      "name": "HASHLOCK_TRON_API_KEY",
      "required": false,
      "secret": true,
      "description": "TronGrid API key (TronGrid throttles requests without one)",
      "help": "TronGrid API key (TronGrid throttles requests without one)",
      "placeholder": "<HASHLOCK_TRON_API_KEY>"
    },
    {
      "name": "HASHLOCK_SOLANA_RPC",
      "required": false,
      "secret": false,
      "description": "Solana RPC the agent reads the counterparty's escrow through before funding",
      "help": "Solana RPC the agent reads the counterparty's escrow through before funding",
      "default": "https://api.mainnet-beta.solana.com",
      "placeholder": "https://api.mainnet-beta.solana.com"
    },
    {
      "name": "HASHLOCK_BTC_ESPLORA",
      "required": false,
      "secret": false,
      "description": "Esplora the agent reads the counterparty's Bitcoin escrow through (default: mempool.space for the network)",
      "help": "Esplora the agent reads the counterparty's Bitcoin escrow through (default: mempool.space for the network)",
      "placeholder": "<HASHLOCK_BTC_ESPLORA>"
    }
  ],
  "expectedTools": [
    "list_assets",
    "list_open_rfqs",
    "get_rfq",
    "create_rfq",
    "cancel_rfq",
    "set_profile",
    "respond_to_rfq",
    "negotiate",
    "my_rfqs",
    "my_deals",
    "deal_status",
    "set_settlement_address",
    "get_deal_secret",
    "reveal_claim",
    "whoami",
    "fund_leg",
    "refund_leg",
    "claim_leg"
  ],
  "agentSteps": [
    "Ask the user for: HASHLOCK_API_URL. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: list_assets, list_open_rfqs, get_rfq, create_rfq, cancel_rfq, set_profile, respond_to_rfq, negotiate, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T12:29:42.862494091Z"
}
