payments
Razorpay MCP Integration for CrewAI
Connect Razorpay to CrewAI through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Razorpay to CrewAI
Expose KosmoKrator integrations to CrewAI workers as scoped local tools.
Wrap kosmo integrations:call for specific tasks or connect workers to a local MCP gateway. The gateway is local, scoped to this integration, and starts with
--write=deny so CrewAI can inspect read-capable tools without receiving write access by default.
Razorpay MCP Config for CrewAI
Use per-worker integration scopes to avoid giving every worker every tool.
{
"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 CrewAI
CrewAI 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. |