Setup MCP Server

Prerequisites: Ensure you have an MCP client installed (Cursor, Claude Desktop, Cline, etc.)

Step 1: Install the MCP Server

Open terminal and run the command given below

npx mint-mcp add api-reference.hyperswitch.io

Step 2: Configure your MCP Server

  • Enter your Hyperswitch API key (You can generate one from the developer section in Hyperswitch Control Center)

  • Select your preferred MCP client from the prompt.

Step 3: Run the Server

On completing step 2, you will get an output similar to

You can then just copy the command and run it:

node <path to your local folder>/.mcp/api-reference.hyperswitch.io/src/index.js

Once done, you will see this as output:

Step 4: Enable in your MCP Client

  • Go to integrations (or MCP tools) section in your MCP client

  • Look for the locally available MCP tool: api.reference.hyperswitch.io Eg. in Claude Desktop go to Search and Tools button in the chat box, or in Cursor go to the settings and then MCP tools section.

Step 5: Make your First Payment

Paste this prompt in your MCP Client:

Make a payment of 100 USD via Hyperswitch.

Output:

You can head on to payment section in Hyperswitch Control Center and verify the payment with the time stamp and status as REQUIRES_PAYMENT_METHOD .

Last updated

Was this helpful?