NestDaddy

Midtrans Mcp

io.github.ryoangriawan96/midtrans-mcp · v0.1.1

MCP server for Midtrans (Indonesian payment gateway): status, Snap, payment links, cancel, refund.

Is this your server? Claim it to get a Verified maintainer mark, your own note here, and an email when it goes down or its tools change. Free.

MCP Score How we grade

This server runs on your own machine, so there is no public endpoint to check and grade.

Connect Runs on your machine

Terminal
claude mcp add midtrans-mcp -e MIDTRANS_SERVER_KEY=<MIDTRANS_SERVER_KEY> -e MIDTRANS_IS_PRODUCTION=<MIDTRANS_IS_PRODUCTION> -e MIDTRANS_READ_ONLY=<MIDTRANS_READ_ONLY> -- npx -y [email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "midtrans-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "MIDTRANS_SERVER_KEY": "<MIDTRANS_SERVER_KEY>",
        "MIDTRANS_IS_PRODUCTION": "<MIDTRANS_IS_PRODUCTION>",
        "MIDTRANS_READ_ONLY": "<MIDTRANS_READ_ONLY>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "midtrans-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "MIDTRANS_SERVER_KEY": "<MIDTRANS_SERVER_KEY>",
        "MIDTRANS_IS_PRODUCTION": "<MIDTRANS_IS_PRODUCTION>",
        "MIDTRANS_READ_ONLY": "<MIDTRANS_READ_ONLY>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "midtrans-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "MIDTRANS_SERVER_KEY": "<MIDTRANS_SERVER_KEY>",
        "MIDTRANS_IS_PRODUCTION": "<MIDTRANS_IS_PRODUCTION>",
        "MIDTRANS_READ_ONLY": "<MIDTRANS_READ_ONLY>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
MIDTRANS_SERVER_KEY
Required, secret
Your Midtrans Server Key (use a Sandbox key for testing).
MIDTRANS_IS_PRODUCTION
Optional
Set to true for the production API; anything else means Sandbox.
MIDTRANS_READ_ONLY
Optional
Set to true to expose only the read-only transaction-status tool.

Details

Package[email protected] (NPM, stdio)
First published25 Nov 2026
Last updated25 Nov 2026
Registry nameio.github.ryoangriawan96/midtrans-mcp

More finance and crypto servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.