Think of it as Stripe, but for stablecoins — declarative, self-hosted, and yield-bearing.
Build, test, and deploy stablecoin payments right from your laptop. Define invoices, subscriptions, and pay-per-API billing as declarative YAML — then deploy anywhere. Open-source, portable, and x402-ready.
- Local-first sandbox — Spin up your entire payment stack locally (products, prices, billing rules, test accounts) without touching external APIs. Billing is code.
- Native x402 support — Test, iterate, and deploy x402 payment-gated API endpoints in minutes with an auto-provisioned local sandbox.
- MCP embedded, agent-ready — Built-in MCP runtime connects AI agents directly to your payment stack for autonomous payment strategy design and testing.
- Embedded yield (coming soon) — Idle stablecoin liquidity is automatically routed to yield strategies. Your cashflow earns by default.
- Stripe-compatible import — Import existing products, prices, and plans from Stripe. Migrate incrementally.
Homebrew (macOS)
brew install txtx/taps/moneymqFrom source
git clone https://github.com/txtx/moneymq.git && cd moneymq
cargo moneymq-installDocker
docker run moneymq/moneymq --versionVerify: moneymq --version
# Start a local payment sandbox
moneymq sandboxFrom there, you can:
- Define products, prices, and plans locally (or import from Stripe)
- Simulate checkout sessions and API metering
- Test x402-gated endpoints before going live
MoneyMQ is a Rust workspace organized into focused crates:
| Crate | Description |
|---|---|
crates/cli |
Command-line interface |
crates/core |
Core payment logic and API endpoints |
crates/mcp |
Embedded MCP server runtime |
crates/sdk |
SDK for integrations |
crates/stream |
Event streaming |
crates/studio |
Studio UI |
crates/types |
Shared type definitions |
crates/drivers/stripe |
Stripe driver |
crates/drivers/kit |
Driver toolkit |
Examples: examples/surfpool · examples/x402 · examples/agent-buyer · examples/agent-seller
- Discord — Join the conversation
- X / Twitter — Release updates
- Issues — Help wanted
We welcome contributions of all kinds. Here's how to get started:
- Check out issues labeled
good first issueorhelp wanted - Fork the repo, create a branch, and open a pull request
- Join Discord for questions and discussion
Please read our Code of Conduct before contributing.
MoneyMQ handles payment logic — security is a first-class concern.
If you discover a security vulnerability, please report it responsibly via security@txtx.io. Do not open a public issue for security vulnerabilities.
MoneyMQ is licensed under the Apache License 2.0.