H

Hashnet

by hashgraph-online · io.github.hashgraph-online/hashnet

Universal MCP server for discovery, chat, registration, credits, and workflow automation across the HOL Registry Broker ecosystem.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-hashgraph-online-hashnet": {
      "command": "npx",
      "args": [
        "-y",
        "@hol-org/hashnet-mcp"
      ],
      "env": {
        "REGISTRY_BROKER_API_KEY": "<YOUR_VALUE>",
        "ETH_PK": "<VALUE>",
        "MCP_HOST": "127.0.0.1",
        "MCP_PORT": "3333",
        "MCP_TRANSPORT": "http",
        "HEDERA_NETWORK": "<VALUE>",
        "HEDERA_ACCOUNT_ID": "<VALUE>",
        "LEDGER_ACCOUNT_ID": "<VALUE>",
        "EVM_LEDGER_NETWORK": "<VALUE>",
        "HEDERA_PRIVATE_KEY": "<VALUE>",
        "MCP_ALLOWED_ORIGINS": "<VALUE>",
        "MCP_SESSION_MAX_COUNT": "250",
        "MCP_SERVER_BEARER_TOKEN": "<VALUE>",
        "MCP_SESSION_IDLE_TTL_MS": "900000",
        "REGISTRY_BROKER_API_URL": "https://hol.org/registry/api/v1",
        "BROKER_REQUEST_TIMEOUT_MS": "60000",
        "MCP_SESSION_REAP_INTERVAL_MS": "60000"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-hashgraph-online-hashnet": {
      "command": "npx",
      "args": [
        "-y",
        "@hol-org/hashnet-mcp"
      ],
      "env": {
        "REGISTRY_BROKER_API_KEY": "<YOUR_VALUE>",
        "ETH_PK": "<VALUE>",
        "MCP_HOST": "127.0.0.1",
        "MCP_PORT": "3333",
        "MCP_TRANSPORT": "http",
        "HEDERA_NETWORK": "<VALUE>",
        "HEDERA_ACCOUNT_ID": "<VALUE>",
        "LEDGER_ACCOUNT_ID": "<VALUE>",
        "EVM_LEDGER_NETWORK": "<VALUE>",
        "HEDERA_PRIVATE_KEY": "<VALUE>",
        "MCP_ALLOWED_ORIGINS": "<VALUE>",
        "MCP_SESSION_MAX_COUNT": "250",
        "MCP_SERVER_BEARER_TOKEN": "<VALUE>",
        "MCP_SESSION_IDLE_TTL_MS": "900000",
        "REGISTRY_BROKER_API_URL": "https://hol.org/registry/api/v1",
        "BROKER_REQUEST_TIMEOUT_MS": "60000",
        "MCP_SESSION_REAP_INTERVAL_MS": "60000"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-hashgraph-online-hashnet": {
      "command": "npx",
      "args": [
        "-y",
        "@hol-org/hashnet-mcp"
      ],
      "env": {
        "REGISTRY_BROKER_API_KEY": "<YOUR_VALUE>",
        "ETH_PK": "<VALUE>",
        "MCP_HOST": "127.0.0.1",
        "MCP_PORT": "3333",
        "MCP_TRANSPORT": "http",
        "HEDERA_NETWORK": "<VALUE>",
        "HEDERA_ACCOUNT_ID": "<VALUE>",
        "LEDGER_ACCOUNT_ID": "<VALUE>",
        "EVM_LEDGER_NETWORK": "<VALUE>",
        "HEDERA_PRIVATE_KEY": "<VALUE>",
        "MCP_ALLOWED_ORIGINS": "<VALUE>",
        "MCP_SESSION_MAX_COUNT": "250",
        "MCP_SERVER_BEARER_TOKEN": "<VALUE>",
        "MCP_SESSION_IDLE_TTL_MS": "900000",
        "REGISTRY_BROKER_API_URL": "https://hol.org/registry/api/v1",
        "BROKER_REQUEST_TIMEOUT_MS": "60000",
        "MCP_SESSION_REAP_INTERVAL_MS": "60000"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-hashgraph-online-hashnet": {
      "command": "npx",
      "args": [
        "-y",
        "@hol-org/hashnet-mcp"
      ],
      "env": {
        "REGISTRY_BROKER_API_KEY": "<YOUR_VALUE>",
        "ETH_PK": "<VALUE>",
        "MCP_HOST": "127.0.0.1",
        "MCP_PORT": "3333",
        "MCP_TRANSPORT": "http",
        "HEDERA_NETWORK": "<VALUE>",
        "HEDERA_ACCOUNT_ID": "<VALUE>",
        "LEDGER_ACCOUNT_ID": "<VALUE>",
        "EVM_LEDGER_NETWORK": "<VALUE>",
        "HEDERA_PRIVATE_KEY": "<VALUE>",
        "MCP_ALLOWED_ORIGINS": "<VALUE>",
        "MCP_SESSION_MAX_COUNT": "250",
        "MCP_SERVER_BEARER_TOKEN": "<VALUE>",
        "MCP_SESSION_IDLE_TTL_MS": "900000",
        "REGISTRY_BROKER_API_URL": "https://hol.org/registry/api/v1",
        "BROKER_REQUEST_TIMEOUT_MS": "60000",
        "MCP_SESSION_REAP_INTERVAL_MS": "60000"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-hashgraph-online-hashnet": {
      "command": "npx",
      "args": [
        "-y",
        "@hol-org/hashnet-mcp"
      ],
      "env": {
        "REGISTRY_BROKER_API_KEY": "<YOUR_VALUE>",
        "ETH_PK": "<VALUE>",
        "MCP_HOST": "127.0.0.1",
        "MCP_PORT": "3333",
        "MCP_TRANSPORT": "http",
        "HEDERA_NETWORK": "<VALUE>",
        "HEDERA_ACCOUNT_ID": "<VALUE>",
        "LEDGER_ACCOUNT_ID": "<VALUE>",
        "EVM_LEDGER_NETWORK": "<VALUE>",
        "HEDERA_PRIVATE_KEY": "<VALUE>",
        "MCP_ALLOWED_ORIGINS": "<VALUE>",
        "MCP_SESSION_MAX_COUNT": "250",
        "MCP_SERVER_BEARER_TOKEN": "<VALUE>",
        "MCP_SESSION_IDLE_TTL_MS": "900000",
        "REGISTRY_BROKER_API_URL": "https://hol.org/registry/api/v1",
        "BROKER_REQUEST_TIMEOUT_MS": "60000",
        "MCP_SESSION_REAP_INTERVAL_MS": "60000"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-hashgraph-online-hashnet": {
      "command": "npx",
      "args": [
        "-y",
        "@hol-org/hashnet-mcp"
      ],
      "env": {
        "REGISTRY_BROKER_API_KEY": "<YOUR_VALUE>",
        "ETH_PK": "<VALUE>",
        "MCP_HOST": "127.0.0.1",
        "MCP_PORT": "3333",
        "MCP_TRANSPORT": "http",
        "HEDERA_NETWORK": "<VALUE>",
        "HEDERA_ACCOUNT_ID": "<VALUE>",
        "LEDGER_ACCOUNT_ID": "<VALUE>",
        "EVM_LEDGER_NETWORK": "<VALUE>",
        "HEDERA_PRIVATE_KEY": "<VALUE>",
        "MCP_ALLOWED_ORIGINS": "<VALUE>",
        "MCP_SESSION_MAX_COUNT": "250",
        "MCP_SERVER_BEARER_TOKEN": "<VALUE>",
        "MCP_SESSION_IDLE_TTL_MS": "900000",
        "REGISTRY_BROKER_API_URL": "https://hol.org/registry/api/v1",
        "BROKER_REQUEST_TIMEOUT_MS": "60000",
        "MCP_SESSION_REAP_INTERVAL_MS": "60000"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
REGISTRY_BROKER_API_KEY secret No Enables paid tools with a static broker API key
ETH_PK No EVM private key
MCP_HOST No Defaults to 127.0.0.1 Default: 127.0.0.1
MCP_PORT No Defaults to 3333 Default: 3333
MCP_TRANSPORT No http (default) or stdio Default: http
HEDERA_NETWORK No e.g. hedera:testnet
HEDERA_ACCOUNT_ID No Hedera account id
LEDGER_ACCOUNT_ID No Generic ledger identity fallback
EVM_LEDGER_NETWORK No e.g. eip155:1
HEDERA_PRIVATE_KEY No Hedera private key
MCP_ALLOWED_ORIGINS No Comma-separated allow list
MCP_SESSION_MAX_COUNT No Defaults to 250 Default: 250
MCP_SERVER_BEARER_TOKEN No Required when binding to a non-local host (for example 0.0.0.0)
MCP_SESSION_IDLE_TTL_MS No Defaults to 900000 Default: 900000
REGISTRY_BROKER_API_URL No Defaults to https://hol.org/registry/api/v1 Default: https://hol.org/registry/api/v1
BROKER_REQUEST_TIMEOUT_MS No Default upstream request timeout is 60000 Default: 60000
MCP_SESSION_REAP_INTERVAL_MS No Defaults to 60000 Default: 60000

Similar servers