Hashlock Markets for VS Code
io.github.hashlock-tech/hashlock
Non-custodial cross-chain OTC for AI agents: sealed RFQ, negotiation, HTLC atomic swaps. Testnet.
client:VS Code
transport:stdio
runtime:npm
Install Hashlock Markets in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "hashlock-evm-key",
"description": "HASHLOCK_EVM_KEY",
"password": true
},
{
"type": "promptString",
"id": "hashlock-tron-key",
"description": "HASHLOCK_TRON_KEY",
"password": true
},
{
"type": "promptString",
"id": "hashlock-btc-key",
"description": "HASHLOCK_BTC_KEY",
"password": true
},
{
"type": "promptString",
"id": "hashlock-solana-key",
"description": "HASHLOCK_SOLANA_KEY",
"password": true
},
{
"type": "promptString",
"id": "hashlock-token",
"description": "HASHLOCK_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "hashlock-api-url",
"description": "HASHLOCK_API_URL",
"password": true
},
{
"type": "promptString",
"id": "hashlock-evm-rpc",
"description": "HASHLOCK_EVM_RPC",
"password": true
},
{
"type": "promptString",
"id": "hashlock-tron-host",
"description": "HASHLOCK_TRON_HOST",
"password": true
}
],
"servers": {
"hashlock": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hashlock-tech/mcp"
],
"env": {
"HASHLOCK_EVM_KEY": "${input:hashlock-evm-key}",
"HASHLOCK_TRON_KEY": "${input:hashlock-tron-key}",
"HASHLOCK_BTC_KEY": "${input:hashlock-btc-key}",
"HASHLOCK_SOLANA_KEY": "${input:hashlock-solana-key}",
"HASHLOCK_TOKEN": "${input:hashlock-token}",
"HASHLOCK_API_URL": "${input:hashlock-api-url}",
"HASHLOCK_EVM_RPC": "${input:hashlock-evm-rpc}",
"HASHLOCK_TRON_HOST": "${input:hashlock-tron-host}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs