Comparison · For creators

Build your own MCP billing, or use Nexus402?

Charging per call for an MCP tool looks like an afternoon with a payments library. It is closer to building a small bank: keys, a meter that never double-charges, refunds, payouts, disputes and a ledger that adds up. Here is the list, so you can decide with your eyes open.

6 min read

What you would build

  1. Accounts and API keys: issuing, hashing, revoking and rotating keys without breaking callers mid-rotation.
  2. Payments in: card checkout with 3D Secure, a wallet balance, and limits that stop a stolen card from being drained through your tool.
  3. A meter that charges each call exactly once, even when an agent retries the same request or fires a hundred in parallel.
  4. Spend caps, so a developer's looping agent cannot run up a bill overnight.
  5. Refunds for failures: deciding, per call, whether your server failed or the caller did.
  6. Request signing, so only paid calls reach your server and a stranger with your URL gets nothing.
  7. Payouts, if anyone else's tools run through it: onboarding, holds for disputes, withdrawals and their fees.
  8. A ledger and reconciliation, so the money you think you have is the money you have.

The parts that bite

Charging exactly once

Agents retry. Networks drop answers. A meter that reads a balance, decides, then writes it back will double-charge or overspend the moment two calls arrive together. Nexus402 deducts in one atomic step and treats a retried request as the same request, and its build runs a 10,000-request concurrent double-spend test on every change.

Not charging for failures, fairly

If your server times out, the developer should not pay. If the developer sends a bad request, you should not be blamed. Getting that line right, per call, is what keeps both sides trusting the price. Nexus402 refunds a call that fails before any output reaches the agent.

Disputes and chargebacks

A card payment can be disputed for months after it is spent on calls. Someone has to hold money back for that, and decide how much. Nexus402 sells each call itself and handles the card side, and holds creator earnings in stages so a late dispute does not land on you as a surprise debt.

Money that adds up

Rounded floating-point amounts and an editable balance column are how billing systems drift. Nexus402 keeps money as exact integers and posts every movement to an append-only, double-entry ledger that is never edited after the fact.

Side by side

Build it yourselfNexus402
Time to the first paid callWeeks to monthsPublish a version
Your serverYours, plus the billing systemYours, unchanged behind a verifier
Developers reach you withAn account with youThe one key they already use
Card fraud, disputes, refundsYours to handleHandled; earnings held in stages
What it costsEngineering time, then upkeepA margin on each call sold
Pricing controlAnything you buildA fixed price per call, free calls

When building is right

Build your own when billing is your product, when you need pricing Nexus402 does not offer (subscriptions, seats, negotiated contracts), or when your tool serves only your own team and nobody pays for it. For a tool you want agents everywhere to be able to pay for today, the list above is the work you skip.

You can do both: keep a direct contract for one large customer and publish on Nexus402 for every agent that finds you. Your server is the same either way.

Keep your tool. Skip the billing system.

Publish a version, set a price per call, and get paid through Stripe Connect.