Skip to main content
Available in🇮🇳 India
Visual Studio Code supports MCP servers in agent mode through user settings. The following configuration prompts you securely for your merchant token instead of storing it in plain text.
Handy TipsVisual Studio Code requires Node.js and npm for the mcp-remote bridge. Refer to the Remote MCP Server setup to install Node.js and generate your Base64-encoded merchant token.

Visual Studio Code Configuration

  1. Open Visual Studio Code.
  2. Open the Command Palette and select Preferences: Open User Settings (JSON).
  3. Paste the following configuration into the settings file and save it:
Visual Studio Code Configuration
  1. When you start the server, Visual Studio Code prompts you to enter your Base64-encoded merchant token. Paste the token to complete the connection.
Handy TipsTo learn more about running MCP servers in Visual Studio Code, refer to the agent mode documentation.

Video Walkthrough

Watch this video to see how to connect the Razorpay MCP Server to Visual Studio Code.
Need Help?If you need any assistance with the integration, reach out to us at agentic-payments@razorpay.com.