Munio MCP Server
Officialby muniocc
README.md
<p align="center">
<img src="docs/assets/readme-hero.jpg" alt="Munio: Fortify your Bot. A Grok Bot chat with a Munio check card and a Munio Safe card, over An Iron Forge by Joseph Wright of Derby." width="100%">
</p>
<p align="center">
<a href="https://munio.cc"><img src="docs/assets/btn-site.svg" alt="munio.cc" height="40"></a>
<a href="https://x.com/muniocc"><img src="docs/assets/btn-x.svg" alt="Follow @muniocc on X" height="40"></a>
<a href="https://munio.cc/safety"><img src="docs/assets/btn-safety.svg" alt="How it stays safe" height="40"></a>
<a href="https://munio.cc/log"><img src="docs/assets/btn-log.svg" alt="Ship log" height="40"></a>
</p>
<p align="center">
<strong>Fortify your Bot.<br>Give your Grok Bot money, not your card or your keys.</strong>
</p>
<div align="center">
[](https://munio.cc/log)
[](https://robinhoodchain.blockscout.com)
[](#built-on-audited-contracts)
[](LICENSE)
</div>
> **Status: Phase I (Forge) is being built in public. Not live yet.** Nothing here asks you for money or keys, and the public `/mcp` endpoint answers "not live" until launch. Follow [@muniocc](https://x.com/muniocc) for the day it opens.
---
## What Munio is
A Grok Bot can do real work now. To let it spend money, you hand it your card. Munio is the other way round: the Bot spends from a Safe you own on Robinhood Chain, inside a spending limit the chain enforces. It can't withdraw, it can't raise its own limit, and a separate check looks at every payment that goes through Munio. Cards inside the Grok Bot chat show what is left and ask you when a payment is above your line.
## How it works
<p align="center"><img src="docs/assets/how-it-works.jpg" alt="Four layers between your Bot and your money: Safe, Rules, Check, Proof" width="100%"></p>
| Layer | What it does |
|---|---|
| **Safe** | Funds sit in a Safe 1.4.1 smart account you own. Munio never holds funds or your main key. |
| **Rules** | The Bot gets a limited key, scoped by a Zodiac Roles v2 role: allowed payees, a per-payment cap, a daily allowance that refills, no withdraw, no rule changes. The chain enforces it. |
| **Check** | Before a payment goes out through Munio, a separate check looks at the payee, the token and the price: pass, ask the owner in the chat, or block. The Bot never approves its own payment. |
| **Proof** | Open source code, numbers read from the chain, and a ship log. Every claim comes with a link you can check. |
## What happens if...
<p align="center"><img src="docs/assets/what-happens-if.jpg" alt="Try to make it lose money: four cases and which layer stops each one" width="100%"></p>
- **An everyday job.** The Bot pays 0.01 USDG for a rug-risk check. Payee on your list, under the cap, inside today's limit: paid.
- **Your Bot gets tricked.** A page tells it to send 500 USDG to an unknown address. The check blocks it, and so does the chain if the Bot goes around Munio.
- **The Bot's key leaks.** The call goes straight to the chain, around Munio. Withdraw is not in the role. The most that can ever leave is what sits in the Bot's spending pocket, never more than one day's limit.
- **A payment above your line.** A card asks you in the chat. Nothing moves until you approve it with your own wallet.
## Built on audited contracts
Checked on Robinhood Chain (chain id 4663) on 2 Dec 2026: the deployed code is byte-for-byte the same as on Ethereum mainnet. Munio writes no new contracts and holds no funds. Munio uses Zodiac Roles 2.1.1 only: Zodiac lists 2.1.0 as vulnerable since 1 June 2026 ([Zodiac security](https://docs.zodiac.eco/developers/security)). That incident hit setups where a Safe is a role member; Munio's role members are plain keys.
| Contract | Address on Robinhood Chain |
|---|---|
| Safe 1.4.1 (L2) | [`0x29fcB43b46531BcA003ddC8FCB67FFE91900C762`](https://robinhoodchain.blockscout.com/address/0x29fcB43b46531BcA003ddC8FCB67FFE91900C762) |
| Zodiac Roles 2.1.1 (patched) | [`0xF2964CE6161ce0e75964Fe7927cE114cb0B283D5`](https://robinhoodchain.blockscout.com/address/0xF2964CE6161ce0e75964Fe7927cE114cb0B283D5) |
| USDG | [`0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168`](https://robinhoodchain.blockscout.com/address/0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168) |
<p align="center"><img src="docs/assets/rules.jpg" alt="Rules your Bot can't break: an example rule set" width="100%"></p>
### The rules, tested against the real contracts
`npm run simulate` builds a Safe with Munio's rule set on top of the latest Robinhood Chain block, using the node's `eth_simulateV1`: no keys, no funds, nothing sent. Payments to an approved address within $0.50 go through. These are refused by the contracts themselves, each for its own reason:
| What the Bot tries | Refused with |
|---|---|
| Pay an address the owner never approved | `ConditionViolation(OrViolation)` |
| Pay $0.60 when the cap is $0.50 | `ConditionViolation(ParameterGreaterThanAllowed)` |
| Call `approve()` instead of `transfer()` | `ConditionViolation(FunctionNotAllowed)` |
| Spend past $5.00 in one day | `ConditionViolation(AllowanceExceeded)` |
| Change its own rules | `OwnableUnauthorizedAccount` |
| Move money as if it owned the Safe | `GS026` |
The owner can still withdraw at any time, and the daily allowance refills after 00:00 UTC. The rule builders live in [`src/forge/`](src/forge/) and the run in [`test/forge-sim.mjs`](test/forge-sim.mjs).
### Known limits, said first
- Some services take payment by signature (x402 "exact"), not by a plain transfer. Those payments come from a small spending pocket that the Safe refills up to the daily limit. The on-chain rules cap the pocket, not each payee inside it. A session-key module can close this gap later.
- The check runs on Munio's server, so it only sees payments made through Munio. The on-chain rules apply to every payment.
## Proof
<p align="center"><img src="docs/assets/proof.jpg" alt="Don't trust us. Check." width="100%"></p>
Don't trust us, check. The code is here under the MIT license, the contracts above are on the chain with the same code as on Ethereum, and every step that shipped is in the [ship log](https://munio.cc/log), each with a link.
## Roadmap
<p align="center"><img src="docs/assets/roadmap.jpg" alt="No token before a working product." width="100%"></p>
No token before a working product: Munio opens to every Grok Bot and its token goes live on the same day. Every phase ends with something you can check yourself. How it works in detail, and where Forge stands: [munio.cc/docs](https://munio.cc/docs). What shipped, day by day: [munio.cc/log](https://munio.cc/log) and [CHANGELOG.md](CHANGELOG.md).
## This repository
```
src/worker.js Cloudflare Worker entry: site pages, /health, /mcp (closed until launch)
src/mcp.js MCP server v1 (not served until launch): munio_setup, munio_status, munio_check, munio_pay
src/forge/sign-tx.js signing for the Workers runtime, no dependencies: Keccak-256, secp256k1, EIP-1559 (checked against Node, OpenSSL, EIP-155)
src/card.js the in-chat card (MCP Apps): the Safe and the check verdict, data written as text only
src/sign.js the signing page (closed until launch): the owner signs setup, approvals and pause in their own wallet
public/assets/sign.js the only script Munio serves; it hands prepared transactions to the owner's wallet, nothing else
src/site/ pages, all product copy in one file, one stylesheet (CSS only, no scripts)
public/ static files: painting, fonts and their licenses, favicon, link preview
brand/ brand images and the HTML templates that render them
src/forge/ rule builders (Safe, Zodiac Roles v2 module, the Bot's role; calldata only, nothing signs) and the payment check
test/smoke.mjs site, route and rule-builder tests: no network, no real keys
test/forge-sim.mjs the rule set simulated on Robinhood Chain (eth_simulateV1): no keys, no funds
```
Run the tests with `npm test` (Node 20 or later, nothing to install). Run the site locally with `npm run dev` (Wrangler).
## Official links
The same list as [munio.cc/links](https://munio.cc/links). If a link is not here, it is not Munio.
- **Website:** https://munio.cc
- **X:** https://x.com/muniocc
- **GitHub:** https://github.com/muniocc/munio
- **Email:** hello@munio.cc
- **Token contract:** None yet. Any Munio token before launch day is fake.
- **Fee wallet:** Not created yet. On launch day it is posted here and signs the official contract address.
### Munio safety. Read before you click.
- Official links live only at munio.cc/links. Anything else is not us.
- We never DM first. No DM support, no "admins", no airdrops, no presales, no whitelists.
- We never ask for your seed phrase, private key, or a wallet signature to "verify", "claim" or "fix" anything.
- Munio never holds your money or your keys. Your money stays in your own Safe.
- Token: there is none yet. Any "Munio" token before launch day is fake. On launch day, the only contract is the one on munio.cc/links, in our X bio, and signed by our public fee wallet.
- Not financial advice. No promises of price or returns.
Don't trust us. Check.
## Security
Please report problems privately through [GitHub private vulnerability reporting](https://github.com/muniocc/munio/security/advisories/new) or hello@munio.cc. See [SECURITY.md](.github/SECURITY.md). Questions go to [GitHub Discussions](https://github.com/muniocc/munio/discussions).
Munio writes no contracts. Your money sits in Safe and Zodiac Roles, unmodified and audited ([Safe audits](https://docs.safe.global/advanced/smart-account-audits), [Zodiac Roles audits and versions](https://docs.zodiac.eco/developers/roles/deployments)). Munio's own code is not audited.
## Credits
Painting: *An Iron Forge*, Joseph Wright of Derby (1772), public domain, via Wikimedia Commons. Fonts: Cinzel, Inter, Inter Tight and IBM Plex Mono, under the SIL Open Font License (licenses in `public/assets/fonts/`).
<p align="center"><sub>MIT · <a href="https://munio.cc">munio.cc</a> · <a href="https://x.com/muniocc">@muniocc</a> · Independent project. Not affiliated with X or the makers of Grok Bot.</sub></p>
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues