Escrow for AI agent purchases on NEAR testnet: pay only when a TEE verifies the delivery.
Connect Runs on your machine
claude mcp add horkos -e HORKOS_AGENT=<HORKOS_AGENT> -e HORKOS_OWNER=<HORKOS_OWNER> -e HORKOS_AGENT_KEY=<HORKOS_AGENT_KEY> -e HORKOS_CONTRACT=<HORKOS_CONTRACT> -e NEAR_RPC_URL=<NEAR_RPC_URL> -- npx -y [email protected]
{
"mcpServers": {
"horkos": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"HORKOS_AGENT": "<HORKOS_AGENT>",
"HORKOS_OWNER": "<HORKOS_OWNER>",
"HORKOS_AGENT_KEY": "<HORKOS_AGENT_KEY>",
"HORKOS_CONTRACT": "<HORKOS_CONTRACT>",
"NEAR_RPC_URL": "<NEAR_RPC_URL>"
}
}
}
}
{
"mcpServers": {
"horkos": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"HORKOS_AGENT": "<HORKOS_AGENT>",
"HORKOS_OWNER": "<HORKOS_OWNER>",
"HORKOS_AGENT_KEY": "<HORKOS_AGENT_KEY>",
"HORKOS_CONTRACT": "<HORKOS_CONTRACT>",
"NEAR_RPC_URL": "<NEAR_RPC_URL>"
}
}
}
}
{
"servers": {
"horkos": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"HORKOS_AGENT": "<HORKOS_AGENT>",
"HORKOS_OWNER": "<HORKOS_OWNER>",
"HORKOS_AGENT_KEY": "<HORKOS_AGENT_KEY>",
"HORKOS_CONTRACT": "<HORKOS_CONTRACT>",
"NEAR_RPC_URL": "<NEAR_RPC_URL>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
HORKOS_AGENTRequired | Agent account with a function-call key for create_order and cancel_order |
HORKOS_OWNERRequired | Mandate owner whose budget the agent spends |
HORKOS_AGENT_KEYOptional, secret | ed25519 function-call key of the agent; if unset, read from ~/.near-credentials/testnet/<agent>/ |
HORKOS_CONTRACTOptional | Escrow contract (default escrow.horkos.testnet) |
NEAR_RPC_URLOptional | NEAR testnet RPC (default https://test.rpc.fastnear.com) |
Details
| Package | [email protected] (NPM, stdio) |
| First published | 14 Nov 2026 |
| Last updated | 14 Nov 2026 |
| Registry name | io.github.iusserhat/horkos |
More developer tools servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
