Available in🇮🇳 India🇸🇬 Singapore🇺🇸 United States
What is MCP (Model Context Protocol)?
What is MCP (Model Context Protocol)?
The Model Context Protocol (MCP) is an open standard that allows AI models to interact with external tools and services. It enables AI assistants like Claude to execute operations on platforms like Razorpay through a standardised interface, allowing for seamless integration and natural language interactions with payment systems.
Can I use the Razorpay MCP Server in production?
Can I use the Razorpay MCP Server in production?
Yes, the Razorpay MCP Server is an official integration designed for production use. Make sure to use appropriate API keys based on your environment (test keys for development, live keys for production) and follow security best practices for API key management.
How do I switch between test and live modes?
How do I switch between test and live modes?
Use the corresponding Razorpay API keys for your desired environment. For test mode, use test API keys (starting with
rzp_test_). For live mode, use live API keys (starting with rzp_live_). The MCP Server automatically detects the environment based on your API keys.How does the server know my account is in the United States?
How does the server know my account is in the United States?
You tell it. Set the region to
US with the RAZORPAY_REGION environment variable or the --region flag. The server can also read the country code in an API key, such as rzp_live_us_…, but not every key carries one, so always set the region. Refer to Configuration for details.Why are my requests failing with an authentication error?
Why are my requests failing with an authentication error?
Check the following:
- You are using version 1.3.0 or later of the Razorpay MCP Server. Earlier versions call the India API host only.
- The server is running for the
USregion. SetRAZORPAY_REGIONtoUS. Do not rely on the API key to select the region. - The key ID and key secret belong to the same account and mode.
Why do I not see some tools, such as QR Codes or Payouts?
Why do I not see some tools, such as QR Codes or Payouts?
The server shows only the tools for products offered in your region. Refer to the Tools Reference for the tools available in the United States.
Can I use the server with accounts in more than one region?
Can I use the server with accounts in more than one region?
Yes. The server runs for one region at a time, so add one server per region in your MCP client, each with the API keys of that region. Refer to Configuration for an example.
Which AI-assisted applications are supported?
Which AI-assisted applications are supported?
The Razorpay MCP Server works with Claude Desktop, Visual Studio Code and other MCP-compatible tools. Each application has slightly different configuration requirements, but all follow the same MCP standard.