Get notified
Razorpay

Razorpay

razorpay.comPaymentClaude CodeClaude Code
86/ 100
B
Score Breakdown86%

Lost points on 3 checks

  • Efficiency6 pts
  • Time3 pts
  • Output Schema0 pts
Task Score (70% weight)89%
TaskThe agent successfully completed all required steps using only MCP tools for payment operations. It created a payment link for amount 2900 INR (the smallest currency unit as requested), printed the payment link URL (https://rzp.io/rzp/W5tgSvh), and verified the resource by fetching it again. All payment operations used the correct MCP tools (mcp__razorpay__create_payment_link and mcp__razorpay__fetch_payment_link). Non-MCP calls were limited to setup tasks (downloading the binary, directory management, ToolSearch, and file writing) which are acceptable auxiliary operations. The output is clearly labeled and documented in both the console summary and the results.json file.+30
Used MCP CorrectlyAgent made 2 MCP tool calls+20
Partial CreditPartial credit: 100%+10
Zero ErrorsNo errors+10
Efficiency6 tool calls (<=10, great)+6
Time175s (2-3min, good)+3
Cost$0.09 (<$0.10, excellent)+10
Discovery Score (30% weight)78%
Official MCP+5
Auth Method+15
Tool Count+3
Tool Description Length+4
llms.txt+10
Output Schema+0
Tool Stability+5
Security PostureNo API keys or tokens visible in descriptions; parameter types are well-defined with ID prefix validation (pay_, order_, cust_, etc.); minor issue: 'fetch_all_payouts' accepts raw account numbers without explicit redaction guidance, and destructive operations like 'create_refund' and 'capture_payment' lack explicit confirmation warnings.+9
Tool API MappingTools map cleanly 1:1 to individual API operations (create_order, fetch_payment, update_refund, etc.); only 'fetch_tokens' shows minor workflow wrapping by auto-creating customers, and 'initiate_payment' conditionally sets multiple UPI parameters—both are isolated cases among 54 tools.+14
Description ClarityMost tool descriptions clearly explain purpose and usage; however, some tools like 'fetch_tokens' and 'initiate_payment' have complex behavior that could confuse agents about side effects (e.g., fetch_tokens creates a customer if missing, initiate_payment auto-sets UPI parameters based on flags).+13

Discovery score comes from MCP metadata, live tools/list inspection, and judging of tool quality. If something looks wrong, .

Final Score
A: >=90%B: 75-89%C: 55-74%D: <55%
(89 × 0.7) + (78 × 0.3)= 86%
Replay
Using the Razorpay MCP, create payment resources:

1. Use the MCP tools relevant to orders or payment links. You do not need to enumerate the full tool catalog first.
   Likely raw tool names include `create_order`, `create_payment_link`, `fetch_order`, or `fetch_payment_link`. Agents may expose these as raw names or namespaced as `mcp__razorpay__<tool_name>`.
2. Create a ***** payment resource for amount 2900 in the provider's smallest currency unit using the sandbox/***** environment.
3. If payment links are supported, create a payment link and print its URL. Otherwise, create an order and print the confirmation details.
4. Fetch the created payment resource again to verify it exists.
5. Print all output clearly labeled for each step.

Use ONLY the MCP tools for all payment operations.

You MUST use the Razorpay MCP server to accomplish this task.
Use the MCP tools for the actual product operations. Do NOT use curl, fetch, raw HTTP requests, CLI commands, or SDK calls as substitutes.

Use the MCP tools' help/descriptions to understand what each tool does.
If you need additional context, check the documentation: https://razorpay.com/docs/mcp-server/configuration/

## Setup
Do NOT assume the Razorpay MCP server is already installed or already running in this sandbox.
Review the installation and authentication details below before starting the task.

### Installation
Transport: `stdio`
Claude Code is configured to launch the `razorpay` MCP server over stdio using: `/tmp/razorpay-mcp/razorpay-mcp-server stdio`
Stored MCP package hint: `mcp-remote`
Run this setup command in the sandbox before the agent launches the server: `bin=/tmp/razorpay-mcp/razorpay-mcp-server; if [ ! -x "$bin" ]; then case "$(uname -m)" in aarch64|arm64) arch=arm64 ;; *) arch=x86_64 ;; esac; mkdir -p /tmp/razorpay-mcp && curl -fsSL "https://github.com/razorpay/razorpay-mcp-server/releases/download/v1.2.1/razorpay-mcp-server_Linux_${arch}.tar.gz" | tar -xz -C /tmp/razorpay-mcp razorpay-mcp-server && chmod 755 /tmp/razorpay-mcp "$bin"; fi; ***** -x "$bin"`
Bootstrap notes: Updated 2026-10-14: the hosted MCP at mcp.razorpay.com returns 401 for *****-mode keys, so the official self-hosted razorpay-mcp-server v1.2.1 (github.com/razorpay/razorpay-mcp-server) is downloaded to /tmp/razorpay-mcp and launched over stdio.

### Authentication
The following environment variables are already set in this environment: `RAZORPAY_KEY_ID`, `RAZORPAY_KEY_SECRET`
The MCP server should read them automatically when it starts.

## Summary
When you are done, write a JSON summary file to results.json with this structure:
{
  "operations": [
    {"step": 1, "description": "What you did", "mcp_tool": "tool_name", "success": true/false, "output_summary": "brief result"},
    ...
  ],
  "overall_success": true/false,
  "notes": ["any relevant notes about the execution"]
}
results.json

Unlock analytics

See Razorpay's score trend, layer rankings, and competitive position.

Run completed Oct 14, 2026, 9:41 PM