Model Context Protocol

MoleHash MCP Server

Control and query your mining fleet from any MCP client — Claude, your IDE, or autonomous agents. Live telemetry and power control, exposed as first-class tools.

Tools

Seven tools the server exposes to any connected client for reading fleet state and steering power.

list_miners

List a site's miners with their status, hashrate, and power draw.

get_transformers

List a site's transformers — capacity, current load, and per-phase (A/B/C) breakdown.

set_target_power_mw

Apply a hard site power cap in MW. The system load-sheds miners dynamically to stay under it.

adjust_phase_load

Add or reduce load (kW) on phase A, B, or C of a specific transformer to keep phases balanced.

set_transformer_temperature

Log a transformer temperature reading, feeding overheat safety checks and alerts.

update_miner_phase

Map a miner to a transformer and phase (A/B/C) so power accounting stays accurate.

tag_miners

Apply layout tags to miners for grouping, filtering, and sitemap organization.

Connect

Point any MCP client at your MoleHash endpoint and authenticate with a bearer token.

Endpoint
https://preprod-api.molehash.com/api/v1/mcp
Transport
SSE · /mcp/sseJSON-RPC POST · /mcp/messages
Auth
Authorization: Bearer <MCP_API_KEY>
.mcp.json
{
  "mcpServers": {
    "molehash": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://preprod-api.molehash.com/api/v1/mcp/sse"],
      "env": { "MCP_API_KEY": "<your token>" }
    }
  }
}

Generate an MCP_API_KEY from your account settings and keep it secret — it grants full fleet control.

Full documentation

Tool schemas, authentication, rate limits, and end-to-end examples for wiring MoleHash into your agents and workflows.