Agent Payments with the Reevit MCP Server

@reevit/mcp is an MCP server that gives AI agents scoped access to your Reevit account. The agent gets exactly the permissions of the API key you mint — nothing more.

Quick start

Create an API key in the dashboard (Developers → API keys) with only the scopes the agent should have, then:
# Claude Code
claude mcp add reevit -e REEVIT_API_KEY=rk_test_... -- npx -y @reevit/mcp
For Claude Desktop, Cursor, VS Code, Windsurf, Cline, Zed, Codex CLI, and Gemini CLI configs, see the README.

Tools

ToolScope required
create_payment_linkpayment_links:write
get_payment, list_paymentspayments:read
create_refundpayments:write
get_analytics_summarypayments:read

Safety model

  • Scopes are enforced by the Reevit backend on every call — a payments:read key cannot refund regardless of what the model asks.
  • Live-money gate: in live mode, create_refund refuses to run unless the call passes confirm: true, forcing the agent to surface the decision.
  • Idempotency: money-moving calls carry an Idempotency-Key, so retried tool calls can never double-charge or double-refund.
  • Start with a test-mode key (REEVIT_MODE=test, the default).

Remote use

Run the same server over streamable HTTP for agent platforms:
REEVIT_API_KEY=rk_test_... npx -y @reevit/mcp --http --port 8788
# endpoint: http://localhost:8788/mcp