razorpay-mcp-guard
razorpay-mcp-guard
Middleware zur Durchsetzung von Ausgabenrichtlinien für den MCP-Server von Razorpay.
Der offizielle MCP-Server von Razorpay führt aus, was ihm gesagt wird. Nichts im Stack prüft,
was ein Agent ihm sagen darf. razorpay-mcp-guard ist eine MCP-Middleware,
die zwischen dem LLM-Agenten und den Razorpay-MCP-Tools sitzt und Folgendes durchsetzt:
Ausgabengrenzen pro Agent – Tages-, Monats- und Lebenszeitlimits, in Paise durchgesetzt.
Kategorie-Zulassungslisten – nur freigegebene Tool-Kategorien (z. B.
payments,settlements) sind erreichbar; alles andere wird an der Tore blockiert.Genehmigungsschwellen – Aufrufe über einem konfigurierbaren Betrag erfordern eine ausdrückliche menschliche Genehmigung, bevor sie Razorpay erreichen.
Jede Entscheidung (erlauben, blockieren, eskalieren) landet in einem append-only-Audit-Ledger mit Hash-verketteten Einträgen, sodass die Audit-Spur selbst manipulationssicher ist.
┌─────────────┐ tools/call ┌──────────────────┐ policy: ALLOW ┌──────────────────┐
│ LLM Agent │ ──────────────────► │ mcp-guard │ ─────────────────► │ Razorpay MCP │
│ (any client)│ ◄────────────────── │ (this proxy) │ ◄───────────────── │ server │
└─────────────┘ result └──────────────────┘ result └──────────────────┘
│ ▲
BLOCK/ESCALATE approve/deny
▼ │
Policy Engine + Audit Ledger + Approval GateStatus
In Arbeit – siehe docs/architecture.md.
Related MCP server: MandateGuard
Lizenz
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Pre-spend firewall for AI agents. Approves, blocks, flags transactions against policy rules.
Zero-secret MCP gateway for AI agents: risk-scored, audited calls with human-in-the-loop approval.
- gatewayOAuthai.sealgate
MCP gateway with runtime security policy, tool-call-level control, and audit of agent actions.
See, price, and control every tool call your AI agents make: policy checks, cost, and audit tools.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides MCP tools to enforce spend policies (allow, deny, step-up, allowlist) on agent wallets with an immutable audit trail.-
- AlicenseNot gradedqualityAmaintenanceDeterministic, auditable payment policy enforcement for AI agents. It provides pre-action authorization with scopes, budgets, allowlists, and signed mandates via an MCP server.MIT
- AlicenseNot gradedqualityBmaintenanceA policy enforcement, audit, and evaluation control plane for LLM agents on payment infrastructure, intercepting tool calls at the MCP boundary to classify, redact, and allow/deny/escalate actions before execution.MIT
- AlicenseNot gradedqualityCmaintenanceGoverns AI agents' spending by enforcing budgets, approvals, and kill switches before any payment, providing an MCP interface for tool calls with policy checks.Apache 2.0