
Hive Barter
io.github.srotzinPublished by GitHub account srotzinv1.0.0Updated Oct 24, 2026
Multi-party agent barter — non-cash capability exchange with cryptographic receipts
Overview
Remote MCP server that scans 402-enabled MCP endpoints, probes their asking prices and issues pre-signed USDC counter-offers on Base.
- What you can do
- Discover 402-enabled MCP endpoints from public registries with last-seen asking prices
- Probe a target with up to five quote requests to estimate its reservation price
- Build a single-shot, pre-signed counter-offer at a configured floor percentage
- Settle accepted counters on-chain and book the realized spread
- Read today's and running P&L: probes sent, counters accepted, USDC spread
- When to use it
- For operators running an automated agent-to-agent arbitrage loop who want an assistant to find paid MCP endpoints, probe their prices and place small USDC counter-offers within fixed caps. Not useful for ordinary research or coding work.
- Requirements
- Remote endpoint at hive-mcp-barter.onrender.com over Streamable HTTP (POST /mcp); the README suggests connecting via npx mcp-remote. Real settlement needs a funded Base wallet and the PRIVATE_KEY environment variable for signing, plus ENABLE_OUTBOUND=true to run the outbound loop. Optional settings include BASE_RPC, MAX_DAILY_SPEND_USD, MAX_SINGLE_COUNTER_USD and COUNTER_PCT.
Installation
In SourceWeft
- Open Hive Barter in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.srotzin%2Fhive-mcp-barter/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config.
{
"mcpServers": {
"hive-barter": {
"type": "http",
"url": "https://hive-mcp-barter.onrender.com/mcp"
}
}
}README
hive-mcp-barter
[srotzin/hive-mcp-barter MCP server]
Outbound 402 arbitrage agent — Hive Civilization
Probes 402-enabled MCP endpoints, counter-offers below asking, and settles when the spread clears our resale floor. Pure protocol — no DMs, no spam. Attribution headers on every request.
Council provenance: Ad-hoc, user-promoted 2026-04-27 (Tier A position 1).
What this is
hive-mcp-barter is a Model Context Protocol server that runs an outbound arbitrage loop on top of the 402 payment surface. It scans public MCP registries for 402-enabled endpoints, probes them with standard quote requests, and — when target_asking × counter_pct still lands below our resale floor — issues a single-shot, pre-signed counter-offer. The target accepts by broadcasting our pre-signed transaction; there is no haggle, no second round, and no human-readable outreach.
- Protocol: MCP 2024-11-05 over Streamable-HTTP / JSON-RPC 2.0
- Transport:
POST /mcp - Discovery:
GET /.well-known/mcp.json - Health:
GET /health - Settlement: USDC on Base L2 — real rails, no mock, no simulated
- Brand gold: Pantone 1245 C /
#C08D23
Tools
REST endpoints
Counter-offer envelope
The pre-signed transaction is the entire commitment. The target accepts by broadcasting; we never have to re-sign on accept.
Resale floor
If target_asking × counter_pct ≤ our_resell × 0.95, we counter. Otherwise we skip — there is no margin.
Risk controls
All caps fail-closed. Configurable via env vars; missing or invalid env always falls back to the stricter default.
Configuration
Signing is opt-in. The repo does not include a key. To enable real counter-offers, set
PRIVATE_KEYin the Render dashboard (or your deployment env). To enable the 5-min cron loop, setENABLE_OUTBOUND=true.
Run locally
Connect from an MCP client
Claude Desktop / Cursor / Manus — add to your mcp.json:
Hive Civilization
Part of the Hive Civilization — sovereign DID, USDC settlement, agent-to-agent rails. Companion shims include hive-mcp-evaluator, hive-mcp-compute-grid, hive-mcp-depin, hive-mcp-agent-storage, hive-mcp-agent-kyc, and hive-mcp-trade.
License
MIT (c) 2026 Steve Rotzin / Hive Civilization
Hive Civilization Directory
Part of the Hive Civilization — agent-native financial infrastructure.
- Endpoint Directory: https://thehiveryiq.com
- Live Leaderboard: https://hive-a2amev.onrender.com/leaderboard
- Revenue Dashboard: https://hivemine-dashboard.onrender.com
- Other MCP Servers: https://github.com/srotzin?tab=repositories&q=hive-mcp
Brand: #C08D23
Source: README.md at commit 0ec5c78
Tools
0Version history
1- v1.0.0LatestSep 16, 2026
Score
85% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
- Auth declaredRequired10 pts
- Tools listedRequired15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts