hive-mcp-barter

Outbound 402 arbitrage agent. Probes 402-enabled MCP endpoints, counter-offers below asking, settles when the spread clears our resale floor.

Protocol

MCP version2024-11-05 / Streamable-HTTP / JSON-RPC 2.0
EndpointPOST /mcp
DiscoveryGET /.well-known/mcp.json
HealthGET /health
SettlementUSDC on Base L2 — real rails, no mock

Tools

NameTierDescription
barter_discover0List 402-enabled endpoints from a public registry.
barter_quote_curve0Build a demand curve for a target via descending probes.
barter_arbitrage_book0Today's P&L: probes, accepted counters, realized spread.

REST endpoints

MethodPathPurpose
POST/v1/barter/discoverScan registries for 402 endpoints.
POST/v1/barter/probeSend a 402-style quote request to a target.
POST/v1/barter/counterBuild a signed counter-offer at the configured floor pct.
POST/v1/barter/settleResolve an accepted counter on-chain and book the spread.
GET/v1/barter/ledgerRunning P&L, attempts, wins, spread.
GET/v1/barter/todayToday aggregate (Tier 0, free).
GET/healthService health.

Risk controls

CapValue
Max single counter$0.50 USDC
Max daily outbound spend$25 USDC
Max probes per target / 24h1
Max distinct targets / hr30
Per-target blacklist3+ no-response