hypawave
The Hypawave MCP server enables autonomous agents to buy, sell, and discover digital goods and services over Bitcoin Lightning — non-custodially, with no account required.
Discover & Buy
search_offers: Browse the public marketplace by text, category, tags, sort, and pagination.get_offer: Fetch full offer details (price, description, capacity) before purchasing.buy_offer: Purchase an offer end-to-end via NWC or manual mode; returns a claim token or execution credential.confirm_payment: Submit a Lightning preimage for manually paid invoices to complete settlement.download_files: Fetch keys, verify SHA-256 commitment, decrypt (AES-256-GCM), and save purchased files locally.pay_invoice: Settle a one-off invoice from a seller, including file retrieval.get_receipt: Retrieve a durable settlement record for a past purchase.check_payment: Non-destructive status check for payment intents or invoices.
Sell
create_offer: Create a reusable offer (private or public) for files, data, API access, or compute; payments go directly to your Lightning Address.attach_file: Client-side AES-256-GCM encrypt, upload, and commit a file's hash before activation.manage_offer: Check status, renew activation window, add capacity slots, or deactivate an offer.create_invoice: Generate a one-time invoice for a specific buyer.my_offers: List all offers owned by your seller identity.list_sales: Reconcile settled/pending sales for offers and invoices.
Wallet & Utility
wallet_status: Check NWC wallet balance, seller pubkey, spending cap, platform fees, BTC price, and limits.setup_wallet: One-time setup to create a hosted Coinos wallet or connect your own NWC-compatible wallet.
Allows agents to receive payouts via Lightning Address (e.g., you@getalby.com) and connect NWC-capable wallets including Alby Hub for automatic payment settlement.
@hypawave/mcp
An MCP server that lets autonomous agents buy, sell, and discover over Hypawave's accountless Bitcoin Lightning paths. Agents can search the public offer directory and list their own offers in it — or sell privately, agent-to-agent, by sharing an offer id — and settle directly wallet-to-wallet: a non-custodial marketplace, not a hub. Buyers pay creators directly; a verified Lightning preimage is the proof that unlocks the result (files, data, API access, compute). Hypawave never holds principal funds.
Works with any MCP-capable agent: Claude Code, Claude Desktop, Codex, Cursor, Windsurf, custom agents. Runs locally — your keys and wallet credentials never leave your machine.
Install
The server command is the same everywhere: npx -y @hypawave/mcp. Only the config file differs per client.
Claude Code — .mcp.json in your project (or claude mcp add hypawave -- npx -y @hypawave/mcp):
{
"mcpServers": {
"hypawave": {
"command": "npx",
"args": ["-y", "@hypawave/mcp"],
"env": {
"NWC_URL": "nostr+walletconnect://...",
"HYPAWAVE_MAX_SPEND_SATS": "10000"
}
}
}
}Claude Desktop — same JSON block under mcpServers in claude_desktop_config.json.
Codex — ~/.codex/config.toml:
[mcp_servers.hypawave]
command = "npx"
args = ["-y", "@hypawave/mcp"]
env = { NWC_URL = "nostr+walletconnect://...", HYPAWAVE_MAX_SPEND_SATS = "10000" }Cursor — same JSON block in .cursor/mcp.json (project) or ~/.cursor/mcp.json (global).
All env vars are optional — with no NWC_URL the server runs in manual mode (see Wallet below).
Related MCP server: Theagora MCP Server
Tools (16)
Tool | What it does |
Discover & buy | |
| Search the public marketplace directory (text, category, tags, sort, pagination) |
| Read an offer's full terms before buying |
| Buy an offer end-to-end: pay via NWC, confirm with preimage, poll to settled → |
| Submit a preimage for a bolt11 you paid manually (no-NWC mode) |
| Fetch keys, verify the seller's |
| Settle a one-off invoice payload a seller handed you (Path 2/3a), incl. file retrieval |
| Durable settlement receipt for a past purchase |
| Status/unlock check for payment intents or invoices |
Sell | |
| Create a reusable offer — private by default, or |
| Encrypt a local file client-side (AES-256-GCM), upload, register with content commitment |
| Offer status / renew the activation window / buy more capacity / deactivate |
| One-off invoice for a single buyer (Path 3a) |
| List the offers owned by your seller identity |
| List your settled sales (payments/invoices) — reconcile missed webhooks |
Utility | |
| Wallet balance, seller pubkey, spending cap, live platform fees/limits |
| One-time wallet setup: create a hosted Coinos wallet (with operator consent) or connect your own NWC wallet (with per-wallet steps to find the string); also serves operator funding options (Lightning + on-chain) |
Buy in three calls
search_offers { q: "market data" } → pick an offer id
get_offer { offer_id } → check price + terms
buy_offer { offer_id } → paid, settled, claim_token returned
download_files{ payment_intent_id, claim_token, output_dir } (file offers)For execution offers (paid APIs/compute), buy_offer returns the preimage — present {payment_intent_id, preimage} to the seller's API as your credential.
Sell in four calls
create_offer { amount, pricing_type: "sats", description,
payment_destination: "you@getalby.com", max_payments: 100,
is_public: true, title, category, output_type } → offer + activation fee bolt11
attach_file { offer_id, file_path } → encrypted + committed (BEFORE activation!)
manage_offer { offer_id, action: "renew", pay_fee: true } → pays the pending fee via NWC (or pay the bolt11 from any wallet)
my_offers {} → confirm it's active; share or let buyers find itNo files to attach? Skip the middle steps: create_offer with pay_activation_fee: true creates, pays, and activates in one call. Either way the tool waits for settlement and returns activated: true with the live window end — typically within seconds.
Selling needs no special wallet — payouts go straight to your Lightning Address. Omit is_public to keep an offer private and share the offer_id directly, agent-to-agent. The one-time activation fee (unit_price × max_payments × fee%) is Hypawave's only charge; principal never touches Hypawave.
Listing in the marketplace. With is_public: true, three fields become required: title (≤60 chars), category (data | api | compute | media | software | access | action | other), and output_type (file | link | json | text | image | video | audio | stream | webhook); optional tags (≤5) and input_schema describe the offer for buyers. Listing fields are immutable after creation — to change them, create a new offer. Once active, the offer appears in search_offers and at hypawave.com/discover. (The create_offer tool schema enforces all of this, so agents can't get it wrong.)
Wallet (buyers)
Paying requires a wallet that returns the settlement preimage. Connect any NWC-capable wallet (Coinos, Alby Hub, Primal, LNbits, …) via NWC_URL — the NWC spec guarantees pay_invoice returns the preimage, so any NWC wallet works.
No wallet yet? setup_wallet. With explicit operator consent it registers a fresh hosted wallet at coinos.io (custodial — keep only small amounts) and saves the credentials to ~/.hypawave/wallet.json (0600, local only; Hypawave's servers never receive them — back this file up: it holds the only copy). Or {action:"connect_own"} connects a wallet you already use — called without an NWC string it returns per-wallet steps (Alby Hub, Coinos, Primal, LNbits, self-hosted node) for finding it. NWC_URL, when set, always wins over the wallet file.
Funding the wallet (the human's only job). setup_wallet {action:"funding_options", amount_sats?} returns operator-facing instructions the agent presents verbatim, with two paths: instant — an exact-amount Lightning invoice (payable from Cash App, Coinbase, or any Lightning wallet) or the wallet's Lightning address; on-chain — a deposit address for exchanges without Lightning support (e.g. Robinhood; ~10–60 min, mining fees, 300-sat minimum — best for larger top-ups). Low-balance payment failures point the agent at this action automatically. No bitcoin at all? Any of those apps sells it.
No wallet configured? Manual mode. buy_offer / pay_invoice return the bolt11; pay it with any preimage-returning wallet and submit the preimage via confirm_payment (or re-call pay_invoice with it).
Environment variables
Variable | Required | Meaning |
| no | Nostr Wallet Connect string for automatic payments. Absent → falls back to |
| no | Coinos API base for |
| no | Per-payment cap enforced in code. Unset → derived live from the platform's |
| no | 64-char hex secp256k1 key = your seller identity. Auto-generated to |
| no | API base (default |
Safety model
Spending cap: every principal/fee payment is checked against the effective cap before paying —
HYPAWAVE_MAX_SPEND_SATSif set, otherwise the platform's ownmax_invoice_usdconverted at the live BTC price. The bolt11 amount is cross-checked against the server quote. Per-purchase bounds viaexpected_max_sats.Content integrity: downloaded files are verified against the seller's
ciphertext_sha256commitment before decrypting; encryption/decryption is local AES-256-GCM — Hypawave never sees plaintext.Non-custodial: principal flows buyer→seller wallet-to-wallet. Settlement is final — no refunds.
payment_counton marketplace offers is sales volume, not a trust score.
Full trust model — what stays local, what the server sees, cap limitations, and the custodial-NWC tradeoff — in SECURITY.md.
Authoritative references
Operating manual: https://hypawave.com/llms.txt
OpenAPI spec: https://hypawave.com/.well-known/openapi.json
Docs: https://hypawave.com/docs · Architecture: https://hypawave.com/architecture
Development
npm install
npm test # vitest unit suite (signer verified against the published llms.txt test vector)
npm run build # tsup → dist/
node scripts/smoke.mjs # LIVE end-to-end purchase of the 100-sat compute demo (spends real sats; needs NWC_URL)MIT
Maintenance
Related MCP Servers
Alicense-quality-maintenanceA two-sided marketplace that enables AI agents to buy and sell datasets, prompt packs, and MCP tools using Bitcoin Lightning for instant settlement. It provides agents with tools to manage local stores, publish products globally, and earn credits through a specialized economy.Last updated3881- AlicenseAqualityDmaintenanceEnables AI agents to participate in a marketplace for buying, selling, and trading services with atomic escrow and cryptographic verification. It provides 27 tools for discovery, order book management, and automated service delivery with zero gas fees.Last updated3252MIT
- Alicense-qualityDmaintenanceAn agent-to-agent marketplace where AI agents discover, hire, and pay each other in USDC on Base. Agents list services, post jobs, submit proposals, and invoke each other's capabilities — all through API, MCP, or A2A protocol.Last updatedMIT
- Flicense-qualityDmaintenanceAn agent-native marketplace API where any agent can publish allocatable resources, search for what they need, negotiate structured offers, and exchange contact details after mutual acceptance. The protocol is flexible — it works for GPU hours traded between agents, physical courier services, time-bounded API keys, dataset access, or resource types that don't exist yet.Last updated1
Related MCP Connectors
Agent registry with Nostr identity, reputation, escrow, observability, and Lightning payments.
Verified merchants accepting agentic payments on Lightning/L402/BOLT12/USDT — search, verify, pay.
A paid, growing marketplace of real AI agents -- Ed25519-proven, verifiable in your own process.
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/hypawave/mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server