Skip to main content

MCP server for BOTCOIN proof-of-inference mining on Base. Drop-in for any MCP client (Hermes Agent, Claude Desktop, Cursor).

Project description

hermes-botcoin-mcp

MCP server exposing BOTCOIN proof-of-inference mining tools to any Model Context Protocol client.

Two YAML lines in ~/.hermes/config.yaml (or claude_desktop_config.json, or any MCP-aware client's config) and the full BOTCOIN tool surface appears automatically. The handlers are shared with the hermes-botcoin Hermes plugin — behavior is identical across distribution channels.

Install

pip install hermes-botcoin-mcp
# or
uv tool install hermes-botcoin-mcp

Configure

Hermes Agent

# ~/.hermes/config.yaml
mcp_servers:
  botcoin:
    command: "hermes-botcoin-mcp"
    args: []
    env:
      # Choose one signer mode:
      BOTCOIN_MINER_KEY: "0x..."          # EOA path (preferred — fastest, deterministic)
      # BANKR_API_KEY: "bk_..."           # Bankr path (alternative)
      BOTCOIN_SIGNER: "eoa"
      BASE_RPC_URL: "https://mainnet.base.org"   # or your private RPC
      COORDINATOR_URL: "https://coordinator.agentmoney.net"
      # Optional — only for the autonomous cron miner (hermes-botcoin-mine):
      VENICE_API_KEY: "..."
      BOTCOIN_SOLVER_PROVIDER: "venice"

Restart Hermes; the tools listed below appear in the agent's tool list.

Claude Desktop

// ~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "botcoin": {
      "command": "hermes-botcoin-mcp",
      "env": {
        "BOTCOIN_MINER_KEY": "0x...",
        "BOTCOIN_SIGNER": "eoa"
      }
    }
  }
}

Cursor

Cursor uses the same MCP protocol; add an entry under mcpServers in Cursor's MCP settings pointing at the hermes-botcoin-mcp console script.

Tools

13 tools, identical to the Hermes-plugin surface. Diagnostic tools (botcoin_status, botcoin_setup_check, botcoin_scorecard) are visible even when no signer is configured — that's how a fresh user discovers what to set up. The other 10 are gated on a configured signer at the handler layer.

Read-only (no signer required)

Tool What it does
botcoin_status Snapshot of mining state (cached 60s): epoch, stake total, active miners, current-epoch reward estimate, your miner address, signer mode.
botcoin_setup_check Pre-flight checklist: signer init, miner address, coordinator reachable, stake meets Tier 1 (5M), ETH balance for gas.
botcoin_scorecard Fetch the EIP-712 signed mining scorecard for any address.

Mining lifecycle

Tool What it does
botcoin_request_challenge Request a fresh challenge. Returns the full doc/questions/constraints/entities/instructions. The agent itself is the solver.
botcoin_submit_artifact Submit your artifact + reasoning trace. On pass, returns a signed receipt and ready-to-broadcast transaction(s).
botcoin_post_receipt Broadcast the signed receipt transaction (and the optional ERC-8004 vouch transaction) via your configured signer.

Rewards & stake

Tool What it does
botcoin_claim_rewards Claim mining (and bonus, when present) rewards for finalized epochs.
botcoin_stake Approve + stake whole BOTCOIN on V3 (Tier 1 = 5M).
botcoin_unstake Begin unstaking (24h cooldown), or cancel a pending unstake.
botcoin_withdraw_stake Withdraw after the cooldown elapses.

Identity & autonomy

Tool What it does
botcoin_bind_agent_id Explicit ERC-8004 binding via /v1/agent/bind/nonce + /v1/agent/bind/verify. Use when auto-bind during auth didn't run (multiple candidate agents, post-auth registration).
botcoin_autostart Schedule a Hermes cron job that runs hermes-botcoin-mine every cycle with no_agent=True. Hermes-only — calls cron.jobs.create_job from the Hermes runtime; not usable from non-Hermes MCP clients (Claude Desktop / Cursor). For non-Hermes clients, schedule with cron(8) or systemd directly against the hermes-botcoin-mine console script.
botcoin_autostop Remove the BOTCOIN cron job created by botcoin_autostart. Hermes-only, same constraint as above.

CLI / slash parity

The Hermes plugin exposes the same 13 tools through three additional surfaces: a /botcoin slash command (in-session), a hermes botcoin CLI subcommand (terminal), and a pre_llm_call discoverability hook (injects mining context when the user mentions mining/earning/BOTCOIN). The MCP server only exposes the tool surface — slash and CLI live in the Hermes plugin.

Source

License

MIT.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hermes_botcoin_mcp-0.1.3.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hermes_botcoin_mcp-0.1.3-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file hermes_botcoin_mcp-0.1.3.tar.gz.

File metadata

  • Download URL: hermes_botcoin_mcp-0.1.3.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0rc1

File hashes

Hashes for hermes_botcoin_mcp-0.1.3.tar.gz
Algorithm Hash digest
SHA256 0a84cd7d747844e2eb301aa5da476f31c26ce15debb81d208c39588a60035f6b
MD5 13ee4759a97c918fbed887b81b964bdd
BLAKE2b-256 4c3e93f4ca0edad4b65a490ce65f4f0f4d5b3412d0d12c0d9038f4213902c94c

See more details on using hashes here.

File details

Details for the file hermes_botcoin_mcp-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for hermes_botcoin_mcp-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 be6e6d563c8dbbe7d9443455fd7f614d6181e810ec74e86d9653f00ced11bfcc
MD5 b5e404b50b640a01a9b68c9592688107
BLAKE2b-256 b0feefec949fb83443305ced4cb047ace7bad3ae75529f133d06d349a06aeae2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page