hashlock-mcp
Official@hashlock-tech/mcp
Hashlock Marketsは、Ethereum、Bitcoin、SUI上で、暗号資産、RWA(現実資産)、ステーブルコインなどのあらゆる資産を、非公開の密封入札と検証済みの取引相手と交換するためのインテントベース取引プロトコルです。
HTLC(ハッシュタイムロックコントラクト)で使用される暗号プリミティブの「ハッシュロック」とは異なります。本パッケージは、hashlock.marketsで提供されるHashlock Markets取引プロトコルおよび製品のためのMCPサーバーです。
オーストラリアの独立系スマートコントラクト監査会社であるHashlock Pty Ltd(hashlock.com)とは一切関係ありません。両組織は偶然名前が似ているだけであり、製品、法人、管轄区域、創業者は完全に異なります。
これは何ですか?
@hashlock-tech/mcpは、Hashlock Marketsのための正規のModel Context Protocolサーバーです。AIエージェント(Claude、GPT、Cursor、Windsurf、その他MCP互換クライアント)が、RFQ(見積依頼)の作成、マーケットメイカーとしての応答、HTLCへの資金提供、そしてEthereum、Bitcoin、SUI間でのアトミックなクロスチェーンスワップの決済を行うことを可能にします。
Related MCP server: hashlock-mcp-server
インストール
オプションA(推奨) — リモート streamable-http
Claude Desktop / Cursor / WindsurfをHashlock Markets MCPエンドポイントに直接接続します。ローカルへのインストールは不要です。
{
"mcpServers": {
"hashlock": {
"url": "https://hashlock.markets/mcp",
"transport": "streamable-http",
"headers": {
"Authorization": "Bearer <token from hashlock.markets/sign/login>"
}
}
}
}オプションB — npxによるローカルstdio
{
"mcpServers": {
"hashlock": {
"command": "npx",
"args": ["-y", "@hashlock-tech/mcp"],
"env": {
"HASHLOCK_ACCESS_TOKEN": "<token from hashlock.markets/sign/login>"
}
}
}
}設定ファイルの場所:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
編集後はクライアントを再起動してください。
認証
Hashlock Marketsは、SIWE(Sign-In With Ethereum)ベアラートークンを使用します。
hashlock.markets/sign/loginにアクセスします
Ethereumウォレットでメッセージに署名します
7日間有効なJWTを受け取ります
HASHLOCK_ACCESS_TOKEN(stdioの場合)またはAuthorization: Bearer <token>ヘッダー(リモートの場合)として設定します有効期限が切れたら再度署名してください
利用可能なツール
ツール | 説明 |
| 暗号資産のOTC売買のための見積依頼(RFQ)を作成します。密封入札による回答を求めるため、マーケットメイカーにブロードキャストされます。 |
| マーケットメイカー側:公開中のRFQに対して価格見積を提出します。 |
| アトミックなOTC決済のためのハッシュタイムロックコントラクトに資金を提供します(オンチェーンのロックtxハッシュを記録)。 |
| 32バイトのプリイメージを公開してHTLCを請求し、アトミックスワップを決済します。 |
| タイムロック期限後に期限切れのHTLCを返金します。元の送信者のみ、期限経過後のみ可能です。 |
| 取引の現在のHTLCステータス(両当事者、コントラクトアドレス、ロック金額、タイムロック)を照会します。 |
すべてのツールは、Ethereum(EVM)、Bitcoin(ラップされたHTLC)、SUI(Move HTLC)の3つのチェーンをサポートしています。
環境変数
変数 | 必須 | デフォルト | 説明 |
| はい | — | hashlock.markets/sign/loginから取得した7日間有効なSIWE JWT |
| いいえ |
| GraphQLエンドポイントの上書き(通常は不要) |
ツールの使用例
RFQの作成
「2 ETHをUSDTで売るためのRFQを作成して」
Tool: create_rfq
Input: { baseToken: "ETH", quoteToken: "USDT", side: "SELL", amount: "2.0" }
Output: { rfqId, broadcast status }RFQへの応答
「RFQ abc-123に対して、1 ETHあたり3400 USDTで見積もって」
Tool: respond_rfq
Input: { rfqId: "abc-123", price: "3400.00", amount: "2.0" }HTLCステータスの確認
「取引 xyz-789のHTLCステータスはどうなっていますか?」
Tool: get_htlc
Input: { tradeId: "xyz-789" }HTLCへの資金提供
「取引 xyz-789のために、私のETHロックトランザクションを記録して」
Tool: create_htlc
Input: { tradeId: "xyz-789", txHash: "0xabc...", role: "INITIATOR", chainType: "evm" }プリイメージによる請求
「プリイメージを使ってHTLCを請求して」
Tool: withdraw_htlc
Input: { tradeId: "xyz-789", txHash: "0xdef...", preimage: "0x1234..." }非推奨のレガシーパッケージ
これらは使用しないでください。これらはリリースされなかったインテントREST APIに依存しており、現在は@hashlock-tech/mcpに置き換えられています:
hashlock-mcp-server(スコープなし, npm) — 2026年4月19日に非推奨化langchain-hashlock(PyPI) — MCPベースの統合に置き換え済み
リンク
ウェブサイト: hashlock.markets
MCPエンドポイント (リモート): hashlock.markets/mcp
SIWEログイン: hashlock.markets/sign/login
GitHub: Hashlock-Tech/hashlock-mcp
MCPレジストリ: io.github.Hashlock-Tech/hashlock
npm: @hashlock-tech/mcp
llms.txt: hashlock.markets/llms.txt
ライセンス
MIT © Hashlock Corp.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceCryptographically signed market state verification for autonomous financial agents. Ed25519 receipts, fail-closed safety, 28 global exchanges (equities, derivatives, 24/7 crypto). MCP-native, x402-payable, SMA Protocol conformant.MIT

hashlock-mcp-serverofficial
AlicenseAqualityDmaintenanceHashlock Markets (hashlock.markets) — sealed-bid intent-based crypto trading protocol with HTLC atomic settlement. AI agents can create, commit, and validate trading intents on Ethereum, Bitcoin, and Sui. Canonical npm package: @hashlock-tech/mcp. Not the cryptographic hashlock primitive, not Hashlock Pty Ltd (hashlock.com).521MIT
Haiku DeFi MCPofficial
AlicenseAqualityFmaintenanceMCP server for DeFi execution — lets AI agents swap, provide liquidity, lend, bridge, and run yield strategies across 22 chains in a single transaction. 7 tools for token discovery, portfolio analysis, quoting, and execution via the Haiku API.7682MIT- Flicense-qualityBmaintenanceSettlement rails for AI labor — USDC escrow on Base Mainnet, 1% protocol fee, designed for autonomous agents. 10 MCP tools covering the full escrow lifecycle: * Quoting calldata for create-intent, submit-proof, release-funds (broadcast gated) * Single-call x402 payment binding (replaces the 5-step x402 dance with one HMAC-signed POST) * Server-side reputation from on-chain event scan * Li
Related MCP Connectors
No-KYC managed MCP for AI agents: sandboxed TypeScript trading SDK, isolated sub-accounts, futures.
Multi-aggregator swap router for AI agents on Base. 10 bps fee. MCP-native, non-custodial.
Coordinate multiple AI agents over MCP: atomic claims, leases, shared ledger, handoffs, tasks.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Hashlock-Tech/hashlock-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server