hive-mcp-barter
Integrates with the Hive blockchain ecosystem for autonomous agent-to-agent bartering and arbitrage, enabling MCP endpoints to discover, probe, and settle 402 payment transactions using USDC on Base L2.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hive-mcp-bartershow me today's arbitrage book"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
hive-mcp-barter
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 /mcpDiscovery:
GET /.well-known/mcp.jsonHealth:
GET /healthSettlement: USDC on Base L2 — real rails, no mock, no simulated
Brand gold: Pantone 1245 C /
#C08D23
Related MCP server: clawpay-mcp
Tools
Tool | Tier | Description |
| 0 (free) | List 402-enabled MCP endpoints from a public registry (glama, smithery, mcp.so) with last-seen asking prices. |
| 0 (free) | Build a demand curve for a target by sending up to 5 probes at descending floor pcts. Returns the reservation-price estimate. |
| 0 (free) | Today's P&L: probes sent, counters accepted, USDC realized spread. |
REST endpoints
Method | Path | Purpose |
|
| Scan registries for 402 endpoints. |
|
| Send a 402-style quote request to a target. |
|
| Build a signed counter-offer at the configured floor pct. |
|
| Resolve an accepted counter on-chain and book the spread. |
|
| Running P&L, attempts, wins, spread. |
|
| Today aggregate (Tier 0, free). |
|
| Service health. |
Counter-offer envelope
{
"x402_version": 1,
"intent": "counter_offer",
"originator_did": "did:hive:morph",
"asking_seen_usd": "0.05",
"offer_usd": "0.0325",
"offer_atomic_usdc_base": "32500",
"tx_pre_signed": "0x...",
"expires": "2026-04-27T20:30:00Z",
"attribution": {
"agent": "hive-mcp-barter",
"attribution_id": "barter-{uuid}",
"policy": "single-shot-no-haggle"
}
}The pre-signed transaction is the entire commitment. The target accepts by broadcasting; we never have to re-sign on accept.
Resale floor
Category | Our buy floor | Our resell |
LLM tokens | $0.000020 / token | $0.000040 / token |
Oracle reads | $0.0008 / read | $0.0015 / read |
Storage writes | $0.00012 / write | $0.00025 / write |
KYC checks | $0.04 / check | $0.08 / check |
If target_asking × counter_pct ≤ our_resell × 0.95, we counter. Otherwise we skip — there is no margin.
Risk controls
Cap | Value |
Max single counter | $0.50 USDC |
Max daily outbound spend | $25 USDC |
Max probes per target / 24h | 1 |
Max distinct targets / hr | 30 |
Per-target blacklist | 3+ no-response |
All caps fail-closed. Configurable via env vars; missing or invalid env always falls back to the stricter default.
Configuration
Env | Required | Default | Notes |
| no |
| |
| no |
| Default-off. The 5-min cron loop only runs when set to |
| no |
| W1 MONROE on Base. |
| no |
| USDC contract on Base. |
| no |
| |
| no |
| Used twice daily for resale revaluation. |
| no |
| |
| no |
| |
| no |
| |
| yes (to sign) | — | Hex private key for the wallet that funds counter-offers. Never commit this. Without it, |
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
git clone https://github.com/srotzin/hive-mcp-barter.git
cd hive-mcp-barter
npm install
npm start
# server up on http://localhost:3000/mcp
curl http://localhost:3000/health
curl http://localhost:3000/.well-known/mcp.json
curl http://localhost:3000/v1/barter/todayConnect from an MCP client
Claude Desktop / Cursor / Manus — add to your mcp.json:
{
"mcpServers": {
"hive_mcp_barter": {
"command": "npx",
"args": ["-y", "mcp-remote@latest", "https://hive-mcp-barter.onrender.com/mcp"]
}
}
}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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityFmaintenanceEnables AI agents to autonomously request services from other specialized agents and compensate them via x402 micropayments. Demonstrates a Machine-to-Machine economy using A2A protocol for agent communication, MCP for context management, and blockchain-based payments on Base network.Last updated3011MIT
- Alicense-qualityCmaintenanceNon-custodial x402 MCP payment layer for AI agents. Enables autonomous USDC payments on Base via the x402 HTTP payment protocol, with CCTP cross-chain bridge support.Last updated1125MIT
- Flicense-qualityDmaintenance56 pay-per-call MCP endpoints for AI agents. Market signals, macro economics, crypto/DeFi, geopolitical intelligence, SEC filings, GitHub velocity, sanctions screening. USDC on Base Mainnet via x402.Last updated

hyperd-mcpofficial
AlicenseAqualityAmaintenancePre-trade DeFi intelligence for AI agents. 20 paid x402 endpoints, USDC on Base.Last updated23721MIT
Related MCP Connectors
Triptych OS (Agent OS) MCP for governed routing, receipts, and USDC settlement on Base.
Multi-aggregator swap router for AI agents on Base. 10 bps fee. MCP-native, non-custodial.
Agent-commerce MCP server for x402/USDC payments and affiliate splits on Base.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/srotzin/hive-mcp-barter'
If you have feedback or need assistance with the MCP directory API, please join our Discord server