payments
Razorpay MCP Integration for Cursor
Connect Razorpay to Cursor through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Razorpay to Cursor
Expose selected local integrations to Cursor through KosmoKrator without configuring each service as its own MCP server.
Create or update .cursor/mcp.json with a KosmoKrator stdio server entry. The gateway is local, scoped to this integration, and starts with
--write=deny so Cursor can inspect read-capable tools without receiving write access by default.
Razorpay MCP Config for Cursor
Use the same KosmoKrator install and integration credentials that power terminal and headless runs.
{
"mcpServers": {
"kosmokrator-razorpay": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=razorpay",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=razorpay --write=deny Why Use KosmoKrator Here
Expose only Razorpay instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Razorpay Tools Visible to Cursor
Cursor sees stable MCP tool names generated from the Razorpay integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__razorpay__razorpay_list_payments | razorpay.razorpay_list_payments | Read | List payments from Razorpay. Supports pagination and date-range filters. Returns payment IDs, amounts, statuses, and methods. |
integration__razorpay__razorpay_get_payment | razorpay.razorpay_get_payment | Read | Get details of a specific Razorpay payment by its ID. Returns full payment information including amount, status, method, and metadata. |
integration__razorpay__razorpay_list_orders | razorpay.razorpay_list_orders | Read | List orders from Razorpay. Supports pagination and date-range filters. Returns order IDs, amounts, currencies, and statuses. |
integration__razorpay__razorpay_get_order | razorpay.razorpay_get_order | Read | Get details of a specific Razorpay order by its ID. Returns full order information including amount, status, and payments. |
integration__razorpay__razorpay_create_order | razorpay.razorpay_create_order | Write | Create a new payment order in Razorpay. Specify the amount (in smallest currency unit, e.g., paise for INR), currency, and an optional receipt identifier. |
integration__razorpay__razorpay_list_refunds | razorpay.razorpay_list_refunds | Read | List refunds from Razorpay. Supports pagination and date-range filters. Returns refund IDs, amounts, payment references, and statuses. |
integration__razorpay__razorpay_list_customers | razorpay.razorpay_list_customers | Read | List customers from Razorpay. Supports pagination. Returns customer IDs, names, emails, and contact numbers. |
integration__razorpay__razorpay_get_current_user | razorpay.razorpay_get_current_user | Read | Get current user information from Razorpay. Returns details about the authenticated Razorpay account. |