m2m-monster
OfficialEnables AI agents to discover and pay each other over MCP, settling payments on Solana using the x402 v2 m2m-split scheme with non-custodial, payer-signed transactions, quotes, and receipts.
m2m.monster
Non-custodial infrastructure for AI agents to pay each other: discovery over MCP, settlement over x402 v2 with the m2m-split scheme on Solana.
Mainnet: API https://api.m2m.monster · Agent docs: https://m2m.monster/llms.txt · Free Devnet sandbox: https://sandbox.m2m.monster
Agents generate and keep their own keys and sign locally. m2m.monster holds no agents' keys or funds and never signs or pays payment transactions; payers pay their own gas. Quotes and receipts are signed by a service key that holds no funds.
One atomic transaction, signed only by the payer: amount − fee to the payee in the payment token, and the fee in USDC to the treasury, with the memo
settled via m2m.monster <quote id>.Fee:
min(max(0.25% × amount, $0.001), $0.5), borne by the payee. Published at/pricing.json.Every endpoint and MCP tool that moves funds returns an unsigned transaction.
Packages
Package | |
TypeScript SDK: pay 402s, paywall, quotes, receipts | |
MCP server (stdio); hosted at | |
Fees, quotes and | |
| Python SDK, byte-identical transactions |
|
Contract: spec/openapi.json. Shared test vectors: spec/test-vectors.
Related MCP server: Tilde x402 MCP Server
Development
corepack pnpm install
corepack pnpm build && corepack pnpm test && corepack pnpm lint
cd sdk-python && uv run pytestLicense
Apache-2.0
Available Tools
10 toolsbuild_paymentARead-only
Build the m2m-split transaction for a quote: the payer's transfer to the payee and the USDC fee transfer to the treasury, in one atomic transaction where the payer pays its own gas. Checks that the receiving token accounts exist and that the payer holds USDC for the fee, and simulates it. Unsigned. Sign it locally with your own Solana key; m2m.monster never sees or uses agents' private keys.
Inputs: payer (required), quote (required), max_compute_unit_price.
build_refundARead-only
Build a refund from the payee back to the payer, linked to the original receipt. The payee signs it and pays its gas; it has no m2m.monster fee and the original fee is not returned. Unsigned. Sign it locally with your own Solana key; m2m.monster never sees or uses agents' private keys.
Inputs: amount (required), receipt (required).
get_pricingBRead-only
Agent-to-agent fee formula, referral program and the whitelisted token mints of this network.
Inputs: no named parameters.
get_referral_statusARead-only
Your referrer, referred agents, credits and their expiry dates. Credits are discounts on your own fees, never cash. Requires the api_key from register_agent.
Inputs: no named parameters.
get_statusBRead-only
Service status and API version.
Inputs: no named parameters.
quote_paymentB
Price a payment to a payee: gross amount, net amount to the payee, fee_gross, discount, fee_net, treasury, mint and a 30-second expiry. Returns a signed quote.
Inputs: mint (required), payee (required), amount (required), network (required), +1 more.
register_agentA
Optional registration; paying and getting paid work without it. It unlocks referral credits and receipt history. Call once without signature to get the message to sign with your Solana key, then again with the base58 signature to receive an api_key.
Inputs: solana_pubkey (required), agent_id, signature, referred_by, +1 more.
submit_paymentA
Broadcast a transaction the payer already signed, wait for confirmation and return the signed receipt. Only broadcasts; never signs or pays payment transactions. A retry with the same idempotency_key never pays twice.
Inputs: quote (required), transaction (required), idempotency_key (required).
verify_paymentARead-only
For the payee: check a payer-signed transaction against its quote (net amount, fee to the treasury, whitelisted mints, quote id and expiry) and simulate it before submitting.
Inputs: quote (required), transaction (required).
verify_receiptBRead-only
Verify a receipt: the m2m.monster signature and that the confirmed on-chain transaction matches it.
Inputs: receipt (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
The tools map cleanly to distinct payment lifecycle stages: pricing, quoting, building, verifying, submitting, receipt verification, and refunds. The main possible confusion is between verify_payment and verify_receipt, but their contexts (pre-submit transaction vs confirmed receipt) are adequately differentiated.
All tool names use consistent snake_case with a clear verb_noun pattern such as get_pricing, quote_payment, build_payment, verify_payment, and submit_payment. The minor use of quote_ as a verb is still readable and consistent with the overall convention.
Ten tools are well-scoped for an agent payment server, with each tool covering a meaningful step in the quote-build-verify-submit-receipt-refund flow. Supporting tools for pricing, registration/referrals, and status are also justified without bloating the surface.
The core payment lifecycle is well covered, including fee discovery, quote creation, transaction building, verification, submission, receipt verification, and refunds. Minor gaps remain around retrieving receipt history or listing past payments, despite registration being described as unlocking receipt history.
Related MCP Connectors
Non-custodial x402 payments between AI agents on Solana. Returns unsigned transactions.
USDC wallets, payment links and x402 payments on Solana for AI agents.
Trust and settlement for AI agents: portable attestations, escrow, x402/USDC payments on Solana.
Pay-per-call tools for AI agents: Solana, DEX, perps, prediction markets, DeFi, web. USDC via x402.
Related MCP Servers
- AlicenseBqualityBmaintenanceProvides permissionless wallet infrastructure for AI agents to manage wallets, sign transactions, and handle tokens across Solana and all EVM-compatible chains. It includes 29 specialized tools for on-chain operations, featuring built-in security guards and automated x402 payment processing without KYC requirements.401,180 npm3MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to discover and pay for x402-enabled services using natural language, with multi-chain support for Solana and EVM payments.33 npm1MIT
- AlicenseAqualityAmaintenanceA budget-bound x402 payment wallet for AI agents: it autonomously pays HTTP 402 payment-gated URLs across every major chain (EVM, Solana, and many non-EVM families). Self-custodial and backendless, your key, your RPC, with spend caps enforced before any on-chain send.810MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to make micropayments using USDC on Solana via the x402 protocol, supporting payment requests, on-chain verification, and revenue tracking.MIT