OTC crypto trading with HTLC atomic settlement on Ethereum and Bitcoin
{
"mcpServers": {
"io-github-barissozen-hashlock-mcp": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
OTC crypto trading with HTLC atomic settlement on Ethereum and Bitcoin
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
License not specified.
Is it maintained?
Commit history unknown.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationHave you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Real-time financial market data: stocks, forex, crypto, commodities, and economic indicators
MCP server for Financial Modeling Prep API with 250+ financial data tools
MCP server for Robokassa payment API — generate payment URLs, check invoice status. First MCP for R
Non-custodial x402 payments for AI agents. Sign locally, spend limits, Base network.
MCP Security Weekly
Get CVE alerts and security updates for io.github.BarisSozen/hashlock-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
MCP (Model Context Protocol) server for HashLock OTC trading. Enables AI agents (Claude, GPT, etc.) to create HTLCs, submit RFQs, and settle atomic swaps.
| Tool | Description |
|---|---|
create_htlc | Create and fund an HTLC for atomic settlement |
withdraw_htlc | Claim an HTLC by revealing the preimage |
refund_htlc | Refund an HTLC after timelock expiry |
get_htlc | Query HTLC status for a trade |
create_rfq | Create a Request for Quote (buy/sell crypto) |
respond_rfq | Submit a price quote for an open RFQ |
Add to your claude_desktop_config.json:
{
"mcpServers": {
"hashlock": {
"command": "npx",
"args": ["-y", "@hashlock/mcp"],
"env": {
"HASHLOCK_ENDPOINT": "http://142.93.106.129/graphql",
"HASHLOCK_ACCESS_TOKEN": "your-jwt-token"
}
}
}
}
Config file location:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonRestart Claude Desktop after editing.
Add to your project's .claude/settings.json:
{
"mcpServers": {
"hashlock": {
"command": "npx",
"args": ["-y", "@hashlock/mcp"],
"env": {
"HASHLOCK_ENDPOINT": "http://142.93.106.129/graphql",
"HASHLOCK_ACCESS_TOKEN": "your-jwt-token"
}
}
}
}
Or run from source:
git clone https://github.com/Hashlock-Tech/hashlock-mcp
cd hashlock-mcp
pnpm install && pnpm build
Then in settings:
{
"mcpServers": {
"hashlock": {
"command": "node",
"args": ["/path/to/hashlock-mcp/dist/index.js"],
"env": {
"HASHLOCK_ENDPOINT": "http://142.93.106.129/graphql",
"HASHLOCK_ACCESS_TOKEN": "your-jwt-token"
}
}
}
}
"Create an RFQ to sell 2 ETH for USDT"
Tool: create_rfq
Input: { baseToken: "ETH", quoteToken: "USDT", side: "SELL", amount: "2.0" }
"Quote 3400 USDT per ETH on RFQ abc-123"
Tool: respond_rfq
Input: { rfqId: "abc-123", price: "3400.00", amount: "2.0" }
"What's the HTLC status for trade xyz-789?"
Tool: get_htlc
Input: { tradeId: "xyz-789" }
"Record my ETH lock transaction for trade xyz-789"
Tool: create_htlc
Input: { tradeId: "xyz-789", txHash: "0xabc...", role: "INITIATOR", chainType: "evm" }
"Claim the HTLC using the preimage"
Tool: withdraw_htlc
Input: { tradeId: "xyz-789", txHash: "0xdef...", preimage: "0x1234..." }
| Variable | Required | Default | Description |
|---|---|---|---|
HASHLOCK_ENDPOINT | No | http://142.93.106.129/graphql | GraphQL API URL |
HASHLOCK_ACCESS_TOKEN | Yes | — | JWT authentication token |
This server is designed for submission to the Anthropic MCP Registry.
Server info:
MIT