razorpay-mcp-guard
razorpay-mcp-guard
Razrpray の MCP サーバー向けの支出ポリシー強制ミドルウェアです。
Razpray の公式 MCP サーバーは、指示されたことをそのまま実行します。スタック内のどの層も、エージェントが指示してよい内容を審査することはありません。razorpay-mcp-guard は、LLM エージェントと Razorpay の MCP ツールの間に位置する MCP ミドルウェアで、次のポリシーを強制します。
エージェントごとの支出上限 — 日次 / 月次 / 通算の制限をパイサ単位で適用します。
カテゴリ許可リスト — 許可されたツールカテゴリ(例:
payments、settlements)のみアクセスでき、その他はすべてゲートでブロックされます。承認しきい値 — 設定可能なルピー額を超える呼び出しは、Razorpay に到達する前に、明示的な人間による承認が必要です。
すべての判定(許可、ブロック、エスカレーション)は、追記専用の監査台帳に記録され、各エントリはハッシュチェーンで連結されているため、記録そのものの改ざんを検知できます。
┌─────────────┐ 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 Gateステータス
作業中 — docs/architecture.md を参照してください。
Related MCP server: MandateGuard
ライセンス
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