Rein for Cursor
io.github.bugiiiii11/rein
Spend limits for AI agents that pay with x402: every paywall is policy-checked before a cent moves.
client:Cursor
transport:stdio
runtime:npm
Install Rein in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"rein": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@reinconsole/mcp"
],
"env": {
"REIN_AGENT_FILE": "<REIN_AGENT_FILE>",
"REIN_ENGINE_URL": "<REIN_ENGINE_URL>",
"REIN_AGENT_ID": "<REIN_AGENT_ID>",
"REIN_ENGINE_API_KEY": "<REIN_ENGINE_API_KEY>",
"REIN_PAYER_PRIVATE_KEY": "<REIN_PAYER_PRIVATE_KEY>",
"REIN_NETWORK_PROFILE": "<REIN_NETWORK_PROFILE>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs