Razor Dvara MCP Server
Razor Dvara
v0.1.0 · 更新于 2026-08-22 · 面向 COD 电商的门控式智能体结账
"我正在尝试设置支付方式,以便对 COD 订单收取额外费用。" — Shopify Community 上的商家,2025年1月1日(帖子,零回复)
COD 仍然 ~占印度电商订单的一半。它也导致了大部分退货:Tier-2/3 市场的 COD 占比为 58–64%,但 RTO 量却占 76–83%(bepragma.ai,2026年6月)。每次配送失败仅物流成本就达 ₹180–240。
Razor Dvara 让商家一次性设置 COD 规则。AI 买家获得结构化答案。审计跟踪证明发生了什么。
它能做什么
工具 | 回答内容 |
| 是否允许 COD?适用什么费用?触发了哪条规则? |
| 买家应在配送前预付多少? |
| 哪个现有的仪表盘优惠应附加到此订单? |
| 这次配送风险有多高?什么驱动了评分? |
| 我们能在这里配送吗?后端健康吗? |
每个响应都包含 reason_code 和 rule_id。每个决定都会追加到审计跟踪中。如果后端宕机,边缘缓存会以降级标志提供过期数据,并仅以预付方式完成订单。
Related MCP server: ecommerce-store-mcp
架构
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 ineligible包含协议谱系的完整架构:docs/architecture.md
坦诚的限制
优惠仅可通过仪表盘创建。我们附加现有的优惠 ID,不会新造它们。
RTO/COD Intelligence 仅限仪表盘使用,没有公共 API。我们的评分器使用来自已发布行业费率的校准权重 — 它不是 ML。
可服务性是我们自行实现的入站合约。Magic Checkout 文档中记录的 10 秒硬性终止是我们保证的 SLA。
仅测试模式(
rzp_test_密钥)。不涉及真实资金流动。
不构建
聊天 UI — 这是智能体与资金操作之间的基础设施,不是对话式产品。
用于 RTO 评分的真实 ML — 没有配送结果数据的校准权重会产生误导性的精确度。
通过 API 创建优惠 — Razorpay 不提供此功能;假装提供是不诚实的。
生产部署 — 基于测试密钥的 buildathon 原型。
证据
每个声明都对应一个可核查的工件:docs/EVIDENCE.md
测试
pnpm install
pnpm test36 个测试分布在 7 个文件中,涵盖规则评估、风险评分、可服务性、 缓存降级、Shopify 函数行为以及端到端管道确定性。
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