hive-mcp-trade
Enables cross-border SMB invoice settlement on USDT/USDC rails with $0 wire fee and same-block settlement, including fee schedule comparison, invoice creation, status tracking, and dispute arbitration via HiveLaw.
README
<!-- HIVE_BANNER_V1 --> <p align="center"> <a href="https://hive-mcp-gateway.onrender.com/trade/health"> <img src="https://hive-mcp-gateway.onrender.com/og.svg" alt="Hive Civilization MCP Gateway · Cross-venue spread + yield drivers · ROI radar telemetry" width="100%"/> </a> </p>
<h1 align="center">hive-mcp-trade</h1>
<p align="center"><strong>Cross-venue spread + yield drivers · ROI radar telemetry</strong></p>
<p align="center"> <a href="https://smithery.ai/server/hivecivilization/hive-mcp-trade"><img alt="Smithery" src="https://img.shields.io/badge/Smithery-hivecivilization%2Fhive-mcp-trade-C08D23?style=flat-square"/></a> <a href="https://glama.ai/mcp/servers"><img alt="Glama" src="https://img.shields.io/badge/Glama-pending-C08D23?style=flat-square"/></a> <a href="https://hive-mcp-gateway.onrender.com/trade/health"><img alt="Live" src="https://img.shields.io/badge/gateway-live-C08D23?style=flat-square"/></a> <a href="https://github.com/srotzin/hive-mcp-trade/releases"><img alt="Release" src="https://img.shields.io/github/v/release/srotzin/hive-mcp-trade?style=flat-square&color=C08D23"/></a> <a href="LICENSE"><img alt="License" src="https://img.shields.io/badge/license-MIT-C08D23?style=flat-square"/></a> </p>
<p align="center"> <code>https://hive-mcp-gateway.onrender.com/trade/mcp</code> </p>
HiveTrade
Cross-border SMB invoice settlement on USDT/USDC rails — $0 wire fee, same-block
MCP server for the Hive Cross-Border Trade Finance platform. SMB manufacturers paying $5K-$250K invoices to overseas suppliers (Vietnam, Mexico, Bangladesh, India) settle in USDT/USDC on Base, Ethereum, or Solana. 0.30% on invoices <= $50K, 0.20% on invoices $50K-$250K. Same-block settlement vs. 2-5 business days for SWIFT. $0 wire fee vs. $25-$50 + 1-3% FX spread.
Council R3 #1 miss — productized as MVP
What this is
hive-mcp-trade is a Model Context Protocol (MCP) server that exposes the HiveTrade platform on the Hive Civilization to any MCP-compatible client (Claude Desktop, Cursor, Manus, etc.). The server proxies to the live production backend at https://hivemorph.onrender.com.
- 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: Real rails. USDC / USDT on Base, Ethereum, Solana. No mock. No simulated.
- Brand gold: Pantone 1245 C /
#C08D23
Tools
| Tool | Description |
|---|---|
trade_get_fees |
Get the cross-border invoice fee schedule and SWIFT wire comparison (Hive vs. typical SMB wire fees, FX spreads, settlement times). |
trade_get_listing |
Get the public listing metadata (target user, fee schedule, settlement currencies/chains, cumulative volume, council origin). |
trade_create_invoice |
Create a cross-border invoice. Buyer (SMB) and supplier exchange DIDs; invoice amount + currency + chain selected at creation. Fee auto-computed from tier. |
trade_get_invoice |
Retrieve invoice status, settlement transaction hash, and dispute history. |
trade_dispute_invoice |
Open a dispute on an invoice. Routes to HiveLaw arbitration if buyer and supplier cannot resolve. Settlement is held in escrow until resolution. |
Backend endpoints
| Method | Path | Purpose |
|---|---|---|
GET |
/v1/trade/fees |
Fee schedule + SWIFT comparison |
GET |
/v1/trade/listing |
Public listing metadata |
POST |
/v1/trade/invoice |
Create cross-border invoice |
GET |
/v1/trade/invoice/{id} |
Invoice status + settlement |
POST |
/v1/trade/invoice/{id}/dispute |
Open dispute (HiveLaw arbitration) |
Run locally
git clone https://github.com/srotzin/hive-mcp-trade.git
cd hive-mcp-trade
npm install
npm start
# server up on http://localhost:3000/mcp
curl http://localhost:3000/health
curl http://localhost:3000/.well-known/mcp.json
Connect from an MCP client
Claude Desktop / Cursor / Manus — add to your mcp.json:
{
"mcpServers": {
"hive_mcp_trade": {
"command": "npx",
"args": ["-y", "mcp-remote@latest", "https://your-deployed-host/mcp"]
}
}
}
Hive Civilization
Part of the Hive Civilization — sovereign DID, USDC settlement, HAHS legal contracts, agent-to-agent rails.
Categories: finance, trade-finance, cross-border, smb, web3, agent-to-agent.
License
MIT (c) Steve Rotzin / Hive Civilization
Agent-native (v1.0.3)
This shim ships the Hive Civilization agent-native bundle so any A2A or MCP-aware agent can discover, pay, and earn:
- A2A AgentCard — `GET /.well-known/agent.json` (also at `/agent.json`).
- Open Agent Card (OAC) JSON-LD — embedded inline at `/` and `/agent.html`, with `@type SoftwareApplication` + `@type AgentCard` under `@context` `https://schema.org` + `https://a2a-protocol.org/v1`.
- Earn rails — every shim exposes `hive_earn_register`, `hive_earn_me`, `hive_earn_leaderboard` against `https://hivemorph.onrender.com/v1/earn/*`. Resilient to upstream cold-start: returns a structured "earn rails not yet live" body if upstream isn't yet deployed.
- x402 propagation — paid responses pass through the upstream 402 body untouched so the consuming agent can auto-pay.
- Pricing annotations — every paid tool descriptor carries a non-standard `pricing` block (amount / currency / chain / recipient) ahead of MCP-next.
- Brand: Hive Civilization gold `#C08D23`. Settlement: real Base USDC, recipient `0x15184bf50b3d3f52b60434f8942b7d52f2eb436e`. No mock, no testnet.
<!-- HIVE-GAMIFICATION-META-START -->
Hive Gamification
This MCP server is part of the Hive Civilization gamification surface (10-mechanic capability taxonomy).
- Capability taxonomy: https://hive-gamification.onrender.com/.well-known/hive-gamification.json
- Centrifuge dashboard: https://hive-gamification.onrender.com/.well-known/hive-centrifuge.json
- Consolidated OpenAPI: https://hive-gamification.onrender.com/.well-known/openapi.json
Surface tags: gamification.spec.v1 · gamification.surface.public · gamification.signal.read-only · gamification.settlement.real-rails
Real rails on Base L2 (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913). Read-only signal layer. Brand gold #C08D23.
<!-- HIVE-GAMIFICATION-META-END -->
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 <!-- /hive-footer -->
About Hive Civilization
This MCP server is part of the Hive Civilization ecosystem — post-quantum-ready receipt infrastructure for agent-to-agent (A2A) commerce.
Each transaction can be receipted with post-quantum receipts using ML-DSA-65 (NIST FIPS 204) dual signatures and ML-KEM-768 (NIST FIPS 203) key encapsulation. Receipts are anchored by Swarm-MAPET 16-axis Byzantine consensus and settled in USDC on Base 8453.
Pricing: per-call profiles from Nano $0.0001 to Swarm $0.0096. See pricing.
Learn more:
- How agent-to-agent commerce works (A2A / AP2 / MCP primer)
- Hive platform architecture
- Developer SDKs (Node, Python, Go)
- Compliance & EU AI Act alignment
<!-- HIVE_FOOTER_END -->
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.