Rein MCP
Rein MCP implements the Guard as an MCP server, allowing any MCP-capable harness to provide agents with a spend-governed fetch. It enforces policy checks before payments are constructed, ensuring agents operate within defined budgets and caps while maintaining a non-custodial architecture where funds never pass through Rein.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Wrap agent fetch calls with policy enforcement
- Enforce per-payment caps and rolling budgets
- Provide read-only introspection of spending rules
- Deny payments before they are signed or sent
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@reinconsole/mcp 0.8.0
{
"version": "0.8.0",
"transport": "stdio",
"identifier": "@reinconsole/mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "REIN_AGENT_FILE",
"format": "filepath",
"description": "Path to the rein-agent.json written by `npx @reinconsole/init` (engine URL, agent id, API key, wallet)."
},
{
"name": "REIN_ENGINE_URL",
"description": "Policy engine base URL. Required unless REIN_AGENT_FILE is set."
},
{
"name": "REIN_AGENT_ID",
"description": "The one agent this server speaks for. Required unless REIN_AGENT_FILE is set."
},
{
"name": "REIN_ENGINE_API_KEY",
"description": "Bearer key for the engine, ideally an evaluate key narrowed to this agent."
},
{
"name": "REIN_PAYER_PRIVATE_KEY",
"description": "Agent wallet key. Omit for advisory mode: policy is checked, nothing is paid."
},
{
"name": "REIN_NETWORK_PROFILE",
"description": "testnet (default) or mainnet: which network's 402s this server will pay."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"rein-mcp": {
"command": "npx",
"args": [
"-y",
"@reinconsole/mcp@0.8.0"
],
"env": {
"REIN_AGENT_FILE": "<YOUR_REIN_AGENT_FILE>",
"REIN_ENGINE_URL": "<YOUR_REIN_ENGINE_URL>",
"REIN_AGENT_ID": "<YOUR_REIN_AGENT_ID>",
"REIN_ENGINE_API_KEY": "<YOUR_REIN_ENGINE_API_KEY>",
"REIN_PAYER_PRIVATE_KEY": "<YOUR_REIN_PAYER_PRIVATE_KEY>",
"REIN_NETWORK_PROFILE": "<YOUR_REIN_NETWORK_PROFILE>"
}
}
}
}Cline
{
"mcpServers": {
"rein-mcp": {
"command": "npx",
"args": [
"-y",
"@reinconsole/mcp@0.8.0"
],
"env": {
"REIN_AGENT_FILE": "<YOUR_REIN_AGENT_FILE>",
"REIN_ENGINE_URL": "<YOUR_REIN_ENGINE_URL>",
"REIN_AGENT_ID": "<YOUR_REIN_AGENT_ID>",
"REIN_ENGINE_API_KEY": "<YOUR_REIN_ENGINE_API_KEY>",
"REIN_PAYER_PRIVATE_KEY": "<YOUR_REIN_PAYER_PRIVATE_KEY>",
"REIN_NETWORK_PROFILE": "<YOUR_REIN_NETWORK_PROFILE>"
}
}
}
}VS Code
{
"servers": {
"rein-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@reinconsole/mcp@0.8.0"
],
"env": {
"REIN_AGENT_FILE": "<YOUR_REIN_AGENT_FILE>",
"REIN_ENGINE_URL": "<YOUR_REIN_ENGINE_URL>",
"REIN_AGENT_ID": "<YOUR_REIN_AGENT_ID>",
"REIN_ENGINE_API_KEY": "<YOUR_REIN_ENGINE_API_KEY>",
"REIN_PAYER_PRIVATE_KEY": "<YOUR_REIN_PAYER_PRIVATE_KEY>",
"REIN_NETWORK_PROFILE": "<YOUR_REIN_NETWORK_PROFILE>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"rein-mcp": {
"command": "npx",
"args": [
"-y",
"@reinconsole/mcp@0.8.0"
],
"env": {
"REIN_AGENT_FILE": "<YOUR_REIN_AGENT_FILE>",
"REIN_ENGINE_URL": "<YOUR_REIN_ENGINE_URL>",
"REIN_AGENT_ID": "<YOUR_REIN_AGENT_ID>",
"REIN_ENGINE_API_KEY": "<YOUR_REIN_ENGINE_API_KEY>",
"REIN_PAYER_PRIVATE_KEY": "<YOUR_REIN_PAYER_PRIVATE_KEY>",
"REIN_NETWORK_PROFILE": "<YOUR_REIN_NETWORK_PROFILE>"
}
}
}
}Let your agent find its tools
Find servers like Rein MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.