Skip to main content
Glama
alfred-HQbot

razorpay-mcp-guard

by alfred-HQbot

razorpay-mcp-guard

Spend-policy enforcement middleware for Razorpay's MCP server.

Razorpay's official MCP server executes what it's told. Nothing in the stack vets what an agent is allowed to tell it. razorpay-mcp-guard is an MCP middleware that sits between the LLM agent and the Razorpay MCP tools, enforcing:

  • Per-agent spend caps — daily / monthly / lifetime limits, enforced in paise.

  • Category allowlists — only whitelisted tool categories (e.g. payments, settlements) are reachable; everything else is blocked at the gate.

  • Approval thresholds — calls above a configurable rupee amount require explicit human approval before they reach Razorpay.

Every decision (allow, block, escalate) lands in an append-only audit ledger with hash-chained entries, so the trail itself is tamper-evident.

┌─────────────┐     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

Status

Work in progress — see docs/architecture.md.

Related MCP server: Proofpane

License

MIT

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Policy enforcement gateway for MCP tool calls, evaluating every tool invocation against declarative YAML policies (allow/deny/escalate-to-human), generating cryptographic hash-chained audit receipts, and including built-in content safety scanning.
    2
    MIT
  • A
    license
    B
    quality
    A
    maintenance
    A governance proxy for AI tools — every MCP/agent tool call is policy-gated, secret-redacted, and written to a hash-chained, offline-verifiable audit trail.
    13
    MIT

View all related MCP servers

Related MCP Connectors

  • See, price, and control every tool call your AI agents make: policy checks, cost, and audit tools.

  • Agent payments, API key vaulting, and governed mandates. Agents spend within user-defined limits.

  • Paid remote MCP for AI Studio Workspace approval gate MCP, structured receipts, audit logs, and revi

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alfred-HQbot/razorpay-mcp-guard'

If you have feedback or need assistance with the MCP directory API, please join our Discord server