Rein
io.github.bugiiiii11/rein
About Rein
Rein is an MCP server published by the GitHub account bugiiiii11. Spend limits for AI agents that pay with x402: every paywall is policy-checked before a cent moves.
It runs on your own machine: your AI client starts it from the npm package @reinconsole/mcp at version 0.8.0.
It asks for 2 secrets: REIN_ENGINE_API_KEY and REIN_PAYER_PRIVATE_KEY. Give it a key with the least access that still works.
Version 0.8.0 was published on 18 October 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 0 warn, 0 fail, 2 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
REIN_AGENT_FILE | No | No | Path to the rein-agent.json written by `npx @reinconsole/init` (engine URL, agent id, API key, wallet). |
REIN_ENGINE_URL | No | No | Policy engine base URL. Required unless REIN_AGENT_FILE is set. |
REIN_AGENT_ID | No | No | The one agent this server speaks for. Required unless REIN_AGENT_FILE is set. |
REIN_ENGINE_API_KEY | No | Yes | Bearer key for the engine, ideally an evaluate key narrowed to this agent. |
REIN_PAYER_PRIVATE_KEY | No | Yes | Agent wallet key. Omit for advisory mode: policy is checked, nothing is paid. |
REIN_NETWORK_PROFILE | No | No | testnet (default) or mainnet: which network's 402s this server will pay. |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/bugiiiii11/rein |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Info | Asks for 2 secrets: REIN_ENGINE_API_KEY, REIN_PAYER_PRIVATE_KEY |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account bugiiiii11 |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | @reinconsole/mcp@0.8.0 runs nothing at install |
| Code red flags | Pass | Read 7 files in @reinconsole/mcp@0.8.0: no obfuscation, encoded execution, credential reads or data-collection endpoints found |
| Text aimed at the AI | Pass | No hidden characters or instructions to the AI in 7 files, including comments and the README |
Popularity & health: 60 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
0 forks, 3 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
No Hacker News threads link to its source code.
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | io.github.bugiiiii11/rein |
|---|---|
| Publisher | GitHub account bugiiiii11 |
| How the name is verified | Name verified via GitHub account bugiiiii11. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | npm @reinconsole/mcp 0.8.0 (stdio) |
| Version | 0.8.0 |
| Published | |
| Last updated | |
| Source repository | https://github.com/bugiiiii11/rein |
| Website | https://reinconsole.com |
| Category | Agent safety & governance (assigned by keyword rule, not by hand) |
Related servers in Agent safety & governance
- Rein Agent Risk Scale4/4Agent Risk Rating, A–D (NR = not rated): self-declared and…
- mnki-mcp7/7MCP proxy that checks every tools/call against Agent Trust policy,…
- Cedulon7/7Policy-gated agent spend with signed receipts and rail-extract audit
- intentplane7/7Gateway in front of MCP tools: critical arguments are checked…
- Provenza7/7Governed MCP gateway: approved tools only, each call policy-checked…
- opsgate4/4The safety gate between AI agents and your servers: typed,…