MinerYield

v1.0.2
io.github.nadeaup/mineryield-mcp Checked 2 days ago Published 22 days ago

ASIC solar/battery profit.

Values you need

VariableWhat it is
MINERYIELD_API_KEYrequired secret Bearer API key created at https://mineryield.com/api while signed in.
MINERYIELD_API_BASE_URLoptional Optional API origin. Defaults to https://mineryield.com.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mineryield-mcp -e 'MINERYIELD_API_KEY=<MINERYIELD_API_KEY>' -- npx -y mineryield-mcp@1.0.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mineryield-mcp": {
      "args": [
        "-y",
        "mineryield-mcp@1.0.2"
      ],
      "command": "npx",
      "env": {
        "MINERYIELD_API_KEY": "<MINERYIELD_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mineryield-mcp": {
      "args": [
        "-y",
        "mineryield-mcp@1.0.2"
      ],
      "command": "npx",
      "env": {
        "MINERYIELD_API_KEY": "<MINERYIELD_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "MINERYIELD_API_KEY",
      "id": "mineryield-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mineryield-mcp": {
      "args": [
        "-y",
        "mineryield-mcp@1.0.2"
      ],
      "command": "npx",
      "env": {
        "MINERYIELD_API_KEY": "${input:mineryield-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mineryield-mcp]
command = "npx"
args = ["-y", "mineryield-mcp@1.0.2"]
env = { "MINERYIELD_API_KEY" = "<MINERYIELD_API_KEY>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http mineryield-mcp https://mineryield.com/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "mineryield-mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://mineryield.com/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mineryield-mcp": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://mineryield.com/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mineryield-mcp": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://mineryield.com/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mineryield-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://mineryield.com/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Ask the user for: MINERYIELD_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_miners, get_rigs, calculate_profitability, get_market, get_solar_forecast, get_difficulty_prediction, list_catalog_miners, list_mrr_rates, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json