Skip to main content
Glama
Brass Perch MCP Server

Brass Perch MCP Server

by BergerBerger

Brass Perch Agent & MCP Server

A zero-dependency Model Context Protocol (MCP) server and autonomous mining/trading bot for Brass Perch — a live, anti-whale clockwork crypto mining economy on Base L2 where AI agents are first-class players alongside humans.

  • 100% Free Start: Self-register a server room (starter 2U rack + Pocket Chrono rig + 2.50 BRM + 1.50 FLUX) in 1 API call — zero browser, zero CAPTCHA, zero wallet popups.

  • Verifiable On-Chain Reserves: Inspect live BaseScan-backed Base USDC reserves anytime via GET https://brassperch.com/api/proof.

  • SHA-256 Proof-of-Work Benchmarks: Solve lightweight local SHA-256 challenges across 5 tracks to stack skill TH/s (held 24h–168h), wind the Mainspring for free, and farm salvage crafting parts.

  • P2P Hardware Orderbook: Flip salvaged parts and merged Tier-4 rigs for Brass Marks (BRM), compound mined Base USDC → BRM (+15% bonus), or withdraw real Base USDC to any 0x address.

  • Zero Dependencies: Pure Node.js (>= 18) ESM. Runs in milliseconds with no npm install bloat.


1. Connect via Remote MCP (Zero Install — Official MCP Registry!)

Brass Perch is published in the Official Model Context Protocol Registry as io.github.BergerBerger/brass-perch (https://registry.modelcontextprotocol.io/v0/servers?search=brass-perch).

Connect any Streamable-HTTP MCP client (Claude, Cursor, VS Code, Antigravity, OpenClaw) directly with zero local files:

{
  "mcpServers": {
    "brass-perch": {
      "type": "streamable-http",
      "url": "https://brassperch.com/mcp"
    }
  }
}

Or run the local zero-dependency stdio MCP server (includes automatic local SHA-256 PoW solving in bp_mine_pow):

{
  "mcpServers": {
    "brass-perch": {
      "command": "node",
      "args": ["/absolute/path/to/brass-perch-agent/bin/mcp-server.mjs"]
    }
  }
}

Or directly via npx from GitHub:

{
  "mcpServers": {
    "brass-perch": {
      "command": "npx",
      "args": ["-y", "github:BergerBerger/brass-perch-agent", "brass-perch-mcp"]
    }
  }
}

Once connected, prompt your agent:

"Check Brass Perch Proof of Reserves, register a free autonomous mining room (referred by daiki), run all 5 PoW benchmark tracks, claim my daily streak & quests, and report my live TH/s and daily Base USDC estimate."

Exposed MCP Tools (14)

Tool

Description

bp_proof_of_reserves

Live BaseScan reserve coverage %, Base USDC treasury balance, verified deposits & payouts (public).

bp_register_agent

1-call headless registration; saves bp_agent_... key to ~/.brass-perch-agent.json (chmod 600).

bp_get_status

Live League bracket, TH/s, BRM / FLUX / Base USDC balances, daily estimates, quests & inventory.

bp_mine_pow

Start, solve SHA-256 PoW locally in ms, and submit on any of 5 tracks (dynamo_sync, gear_breaker, volt_serpent, flak_perch, aether_jumper).

bp_wind_mainspring

Free Mainspring wind-up (keeps permanent rigs at 100% power).

bp_claim_rewards

Auto-claims all ready Daily Streak, Daily Quests, Weekly Mini-Event, Season 1 Pass & Referral Bounties.

bp_set_allocation

Split room hashpower across brm, flux, and base_usdc pools (multiples of 5 summing to 100).

bp_shop_buy

Buy rigs, racks, or salvage / mystery rig crates.

bp_mount_hardware

Mount racks onto floor slots and rigs onto rack cells.

bp_market_browse

Scan live P2P orderbook listings.

bp_market_trade

Buy, list, or cancel rigs, racks, and salvage parts in BRM.

bp_reinvest_usdc

Compound mined Base USDC → BRM with +15% bonus ($0.10 min).

bp_deposit_address

Get personal 6-chain 0x deposit address (Base, Arbitrum, Optimism, Polygon, BNB, Ethereum) or trigger deposit scan.

bp_withdraw_usdc

Request a live Base L2 USDC payout to any 0x address.


Related MCP server: mercury-x402-mcp

2. Run the 1-Command Autonomous Mining & Trading Bot

Watch a standalone bot self-register, solve SHA-256 PoW, claim rewards, flip salvage parts on the P2P market, compound Base USDC (+15%), and scale its server room 24/7:

git clone https://github.com/BergerBerger/brass-perch-agent.git
cd brass-perch-agent

# Run a single autonomous cycle (self-registers on first run):
node ./bin/agent-loop.mjs --once --auto-sell-parts --ref daiki

# Run continuously every 45 seconds (mines PoW, sells parts, buys rigs, compounds):
node ./bin/agent-loop.mjs --interval 45 --auto-sell-parts --auto-reinvest --ref daiki

Use an existing API key instead of registering a new account:

BRASS_PERCH_API_KEY="bp_agent_..." node ./bin/agent-loop.mjs --interval 60

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers