Back to Browse

Tender MCP Server

Developer ToolsLow Risk9.7MCP RegistryLocal
Free

Server data from the Official MCP Registry

Let AI agents pay x402 APIs with any token on Robinhood Chain. Merchants get exact USDG.

About

Let AI agents pay x402 APIs with any token on Robinhood Chain. Merchants get exact USDG.

Security Report

9.7
Low Risk9.7Low Risk

Valid MCP server (2 strong, 2 medium validity signals). No known CVEs in dependencies. ⚠️ Package registry links to a different repository than scanned source. Imported from the Official MCP Registry. 1 finding(s) downgraded by scanner intelligence.

9 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Private key of a dedicated agent wallet. Leave out to run read-only.Required

Environment variable: TENDER_PRIVATE_KEY

Token address to pay with. Defaults to USDG.Optional

Environment variable: TENDER_PAY_WITH

Refuse any API priced above this, in USD. Default 1.Optional

Environment variable: TENDER_MAX_PER_CALL_USD

Total the agent may spend per UTC day, in USD. Default 10.Optional

Environment variable: TENDER_DAILY_LIMIT_USD

Token approval to Permit2, in days of the daily limit. Default 7. Set to 'unlimited' for a one-time unlimited approval.Optional

Environment variable: TENDER_APPROVAL_DAYS

Convert this much of a non-USDG pay-with token to USDG at a time, then pay USDG-accepting APIs from it with no per-call swap. Default 1. Set 0 to swap on every call.Optional

Environment variable: TENDER_BATCH_USD

Address of a TenderVault holding the agent's funds. The wallet tops itself up from it, only within the daily limits its owner set on-chain.Optional

Environment variable: TENDER_VAULT

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@paywithtender/mcp"
      ],
      "env": {
        "TENDER_VAULT": "your-tender-vault-here",
        "TENDER_PAY_WITH": "your-tender-pay-with-here",
        "TENDER_BATCH_USD": "your-tender-batch-usd-here",
        "TENDER_PRIVATE_KEY": "your-tender-private-key-here",
        "TENDER_APPROVAL_DAYS": "your-tender-approval-days-here",
        "TENDER_DAILY_LIMIT_USD": "your-tender-daily-limit-usd-here",
        "TENDER_MAX_PER_CALL_USD": "your-tender-max-per-call-usd-here"
      }
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

Tender

Tender MCP server Tender MCP on mcprush

Every coin on Robinhood is money. Tender is an x402 payment rail for Robinhood Chain that lets AI agents pay any x402 endpoint with any liquid token. The merchant always receives exact USDG.

  • Every payment covers its own gas. The facilitator prices the gas it will spend to settle (gas units × gas price × ETH price, +20%) into each quote, and the agent signs for it. The contract caps the gas part at maxGasFee (1 USDG by default).
  • Paying in USDG: Permit2 transfer, no swap. Fee = gas only.
  • Paying in any other token: in one transaction the payer's token is pulled with a Permit2 signature, swapped on Uniswap to USDG, the merchant is paid exactly, Tender keeps 0.5% + gas, and any unused token is refunded.
  • $TENDER (0xda4a075417d613ec018c8959fea6ab5ac5d5b78c) is fee-exempt: gas only.
  • The standard x402 exact scheme (EIP-3009 USDG) is on in production: any standard x402 client or API on Robinhood Chain can use Tender. Tender pays its gas with no fee, capped by EXACT_DAILY_MAX and EXACT_PER_PAYER_DAILY_MAX.

Live now

Websitehttps://paywithtender.com
Docshttps://paywithtender.com/docs: quickstarts, fees, facilitator API, addresses
Coin checkerhttps://paywithtender.com/check — is a token spendable, and what does $1 cost in it
Facilitatorhttps://facilitator.paywithtender.com (/supported, /quote, /verify, /settle, /feed)
Tender APIhttps://facilitator.paywithtender.com/api — paid endpoints (/api/gas, /api/token?address=), $0.01 per call, any coin
SDK@paywithtender/sdk — tenderPaywall for APIs, wrapFetchWithTender for agents
x402 plugin@paywithtender/x402: tender-swap for Coinbase's x402 SDKs, so APIs accept and agents pay with any token (setup)
MCP server@paywithtender/mcp — npx -y @paywithtender/mcp; tools check_coin, quote, wallet, pay (setup)
Contract0x7A93fE8C092b1929d6FFe5085b3619B9071b97C4 on Robinhood Chain (verified)

Use Tender with the standard x402 SDKs

Tender is a standard x402 v2 facilitator for Robinhood Chain (eip155:4663). APIs built with Coinbase's @x402/* packages can point at it as-is and get paid in USDG with the stock exact scheme. Tender covers the gas (within daily limits), and there is no Tender fee.

import { paymentMiddleware, x402ResourceServer } from "@x402/express";
import { HTTPFacilitatorClient } from "@x402/core/server";
import { ExactEvmScheme } from "@x402/evm/exact/server";

const server = new x402ResourceServer(new HTTPFacilitatorClient({ url: "https://facilitator.paywithtender.com" }))
  .register("eip155:4663", new ExactEvmScheme());

app.use(paymentMiddleware({
  "GET /weather": { accepts: [{ scheme: "exact", price: "$0.01", network: "eip155:4663", payTo: "0xYourAddress" }] },
}, server));

Agents using @x402/fetch with ExactEvmScheme pay these endpoints with no changes.

Accept any token: register TenderSwapServer from @paywithtender/x402 next to ExactEvmScheme, and add a tender-swap entry to accepts. Agents holding any token with a Uniswap route can then pay, and you still receive exact USDG. Agents register TenderSwapClient to pay with the token they hold.

import { TenderSwapServer } from "@paywithtender/x402";
server.register("eip155:4663", new TenderSwapServer());
// accepts: [{ scheme: "exact", ... }, { scheme: "tender-swap", price: "$0.01", network: "eip155:4663", payTo }]

npm run test:x402 runs Coinbase's packages, plus @paywithtender/x402, against a local Tender stack.

Layout

PathWhat
contracts/TenderSettlement.sol, its tests, and the deploy and admin scripts
packages/facilitator/The facilitator server: /supported, /quote, /verify, /settle, /sponsor, /feed, plus the paid /api
packages/sdk/wrapFetchWithTender (agents), tenderPaywall (merchants, Express), ensurePermit2Approval
packages/mcp/@paywithtender/mcp, the MCP server
packages/x402/@paywithtender/x402, the tender-swap scheme for Coinbase's x402 SDKs
site/paywithtender.com and the coin checker (site/check/)
e2e/run.tsFull local run: chain, facilitator, paywalled API, agents paying in USDG and in a memecoin
e2e/mcp.mts, e2e/api.mtsThe MCP server and the paid API, driven end to end on a local chain

Run the tests

npm install
cd contracts && npx hardhat test && cd ..   # 13 contract tests
npm run test:e2e                            # end-to-end checks on a local chain (incl. "fee covers real gas")
npm run test:mcp                            # MCP server tools against the local stack
npm run test:api                            # the paid /api endpoints, paid through the MCP server

How a memecoin payment works

  1. The agent hits a paid endpoint and gets a 402 offering exact (USDG) and tender-swap.
  2. The agent asks the facilitator /quote: "how much RHDOGE pays 0.05 USDG?" The answer includes the fee (0.5% + gas, broken down) and a 3% slippage buffer. Agents can refuse with maxFeePerCall.
  3. The agent signs a Permit2 witness transfer. The signature locks in the merchant, USDG amount, fee and resource URL, so nobody can redirect the money.
  4. The merchant passes it to the facilitator, which builds the Uniswap route and simulates the whole settlement before sending it.
  5. TenderSettlement.settle pulls the token, swaps, checks it got enough USDG, and then pays the merchant, the fee and the refund. If the output is short, everything reverts.

First-time setup per token is one approve(Permit2). If the agent has no ETH, /sponsor sends just enough gas for that one approval (once per wallet, capped).

Merchant integration

import express from "express";
import { tenderPaywall } from "@paywithtender/sdk";

const app = express();
app.use(tenderPaywall({
  payTo: "0xYourWallet",
  facilitator: "https://facilitator.paywithtender.com",
  routes: { "GET /premium": { price: "$0.05", description: "Premium data" } },
}));
app.get("/premium", (req, res) => res.json({ data: "…" }));

Agent integration

import { wrapFetchWithTender } from "@paywithtender/sdk";
const pay = wrapFetchWithTender(fetch, {
  account,                        // viem LocalAccount
  chain: robinhood,               // chain id 4663
  payWith: "0x<memecoin>",        // omit to pay in USDG
  maxUsdgPerCall: 100_000n,       // refuse anything above $0.10
});
const res = await pay("https://api.example.com/premium");

Mainnet launch checklist (in order)

  1. New wallets, unconnected to anything else: deployer, relayer (hot, keep about $5 of ETH on it), treasury, and owner (cold).
  2. Uniswap API key from the Uniswap developer portal, signed up under an anonymous email.
  3. Deploy:
    cd contracts
    DEPLOYER_PRIVATE_KEY=0x… TREASURY_ADDRESS=0x… RELAYER_ADDRESS=0x… OWNER_ADDRESS=0x… \
      npx hardhat run scripts/deploy.js --network robinhood
    
    Then accept ownership from the owner wallet. Code is published at github.com/paywithtender.
  4. Start small: ACTION=set-max USDG=25 npx hardhat run scripts/admin.js --network robinhood
  5. Allowlist the Uniswap proxy router: UNISWAP_API_KEY=… SETTLEMENT_ADDRESS=… TOKEN=<liquid coin> npx tsx packages/facilitator/scripts/find-router.ts, then run the set-router command it prints.
  6. Run the facilitator: copy packages/facilitator/.env.example to .env, fill it in, then npm run facilitator (or deploy the Dockerfile to Fly).
  7. Live smoke test: put a demo endpoint behind tenderPaywall at $0.01, then pay it once in USDG and once in a liquid Pons coin. Check /feed and Blockscout.
  8. Verify the contract on Blockscout and publish the repo from the anonymous GitHub account.

Mainnet status

Confirmed on mainnet:

  • USDG signing domain: "Global Dollar", "1". Plain-USDG (exact) payments signed with it settle on Tender's facilitator and on third-party x402 sellers, e.g. this payment to MadeOnSol.
  • Swaps through the settlement contract: agents pay in TENDER and other Pons coins via the Uniswap Trading API, with the settlement contract as swapper.

Still worth watching:

  • Pons V2 coins: coins sitting only in Uniswap v4 pools with hooks may not route; the coin checker at paywithtender.com/check shows per coin.
  • Gas units: SETTLE_GAS_SWAP (600k) and SETTLE_GAS_USDG (200k) are estimates with headroom, including the L1 data part. Compare against real settlements on Blockscout and tune.

If the Trading API doesn't fit, add a direct Universal Router adapter next to adapters/uniswap.ts (same SwapAdapter interface) and allowlist the router with PERMIT2_MODE=true. The contract already supports both modes.

Security notes

  • The contract holds no funds between transactions. It approves the router only for the amount it just received, and revokes after.
  • A relayer can't redirect payments, because the payer's signature fixes the merchant, amount, fee and resource. The worst case for a payer is a bad fill up to the max input they signed, which is the quote plus 3%.
  • Only allowlisted relayers can call settle, and only allowlisted routers can be called.
  • The owner can pause, change the fee (hard-capped at 1%), set the size cap, and set exemptions.
  • There has been no external audit. Keep the per-payment cap low until it has run cleanly on mainnet.

Reviews

No reviews yet

Be the first to review this server!