Razor Dvara MCP Server
Provides COD decision tools for Shopify checkout, including fee assessment, partial prepayment, risk scoring, and serviceability checks.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Razor Dvara MCP ServerCheck if COD is allowed for order #12345 to 560001 and calculate the fee."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Razor Dvara
v0.1.0 · updated 2026-08-22 · gated agentic checkout for COD commerce
"I am trying to setup payment methods where I want to charge extra amount for COD Orders." — merchant on Shopify Community, Jan 1 2025 (thread, zero replies)
COD is still ~half of Indian e-commerce orders. It also drives most of the returns: Tier-2/3 markets see 58–64% COD but 76–83% of RTO volume (bepragma.ai, Jun 2026). Every failed delivery costs ₹180–240 in logistics alone.
Razor Dvara lets merchants set COD rules once. AI buyers get structured answers. The audit trail proves what happened.
What this does
Tool | What it answers |
| Should COD be allowed? What fee applies? Which rule fired? |
| How much should the buyer prepay before delivery? |
| Which existing dashboard offer should attach to this order? |
| How risky is this delivery? What drives the score? |
| Can we deliver here? Is the backend healthy? |
Every response includes reason_code and rule_id. Every decision appends to an audit trail. If the backend dies, the edge cache serves stale data with a degraded flag and completes the order prepaid-only.
Related MCP server: ecommerce-store-mcp
Architecture
AI buyer / checkout agent
|
| MCP (streamable HTTP)
v
+-------------------------------------------+
| Razor Dvara MCP Server |
| 5 tools · zero overlap w/ official 45 |
+-------------------+-----------------------+
|
v
+-------------------------------------------+
| Policy Engine (src/gates/) |
| merchant caps · PIN rules → reason + ID |
+-------------------+-----------------------+
|
v
+-------------------------------------------+
| Audit Trail (Cloudflare D1) |
| sequence numbers · UTC · append-only |
+-------------------+-----------------------+
|
v
+-------------------------------------------+
| SWR Edge Cache |
| 8s origin timeout → stale fallback |
| degraded flag → fail-closed COD |
+-------------------------------------------+
Shopify side: Payment Customization Function
keyed on dvara.cod.eligible metafield
hides COD when any cart line ineligibleFull architecture with protocol lineage: docs/architecture.md
Honest constraints
Offers are dashboard-create-only. We attach existing offer IDs; we don't mint them.
RTO/COD Intelligence is dashboard-only with no public API. Our scorer uses calibrated weights from published industry rates — it's not ML.
Serviceability is an inbound contract we implement ourselves. Magic Checkout's documented 10-second hard kill is the SLA we guarantee.
Test mode only (
rzp_test_keys). No real money moves.
NOT building
Chat UI — this is infrastructure between agents and money actions, not a conversational product.
Real ML for RTO scoring — calibrated weights without delivery-outcome data would produce misleading precision.
Offer creation via API — Razorpay doesn't expose it; pretending otherwise would be dishonest.
Production deployment — buildathon prototype on test keys.
Evidence
Every claim maps to a checkable artifact: docs/EVIDENCE.md
Tests
pnpm install
pnpm test36 tests across 7 files covering rule evaluation, risk scoring, serviceability, cache degradation, Shopify function behavior, and end-to-end pipeline determinism.
This server cannot be installed
Maintenance
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
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to perform e-commerce operations through a standardized interface implementing the x402 and Agentic Commerce Protocol (ACP). Supports merchant sessions, product search, and payment orchestration with production-ready security features.
- AlicenseNot gradedqualityFmaintenanceEnables intelligent ecommerce tools for agents and applications, including product catalog access, product addition, and shopping policies.1Apache 2.0
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to discover products, build carts, and complete purchases across multiple downstream commerce services through a secure, contract-driven API.
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to investigate and resolve operational exceptions across orders, payments, inventory, and fulfillment through a multi-system truth and guarded actions.
Related MCP Connectors
Agent-native commerce with trusted catalog, durable carts, and Stripe Checkout via MCP and UCP.
Remote MCP for Universal Cart merchant readiness MCP, structured receipts, audit logs, and reviewer-
A paid remote MCP for ShipSwift, built to return verdicts, receipts, usage logs, and audit-ready JSO
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Utkarsh-Sinha0/razor-dvara'
If you have feedback or need assistance with the MCP directory API, please join our Discord server