Koskamo

midtrans-mcp

An unofficial community MCP server for Midtrans, Indonesia's payment gateway. It allows AI coding clients to check transaction status, create Snap transactions and payment links, cancel transactions, and process refunds directly from the editor.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

midtrans-mcp logo, by ryoangriawan96Community listingLocal stdioSource reviewed; not executedPublished by ryoangriawan96
You need:You need a Midtrans Server Key (dashboard → Settings → Access Keys ).
Vendor documentation

What you can do with it

  • Check transaction status by order_id
  • Create Snap transactions and payment links
  • Cancel cancellable transactions
  • Refund settled transactions (full or partial)

Source and maintenance

Community listingRegistry 0.1.1
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

midtrans-mcp 0.1.1

npm
midtrans-mcp package definition
{
  "version": "0.1.1",
  "transport": "stdio",
  "identifier": "midtrans-mcp",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "MIDTRANS_SERVER_KEY",
      "isRequired": true,
      "description": "Your Midtrans Server Key (use a Sandbox key for testing)."
    },
    {
      "name": "MIDTRANS_IS_PRODUCTION",
      "description": "Set to true for the production API; anything else means Sandbox."
    },
    {
      "name": "MIDTRANS_READ_ONLY",
      "description": "Set to true to expose only the read-only transaction-status tool."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "midtrans-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "midtrans-mcp@0.1.1"
      ],
      "env": {
        "MIDTRANS_SERVER_KEY": "<YOUR_MIDTRANS_SERVER_KEY>",
        "MIDTRANS_IS_PRODUCTION": "<YOUR_MIDTRANS_IS_PRODUCTION>",
        "MIDTRANS_READ_ONLY": "<YOUR_MIDTRANS_READ_ONLY>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "midtrans-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "midtrans-mcp@0.1.1"
      ],
      "env": {
        "MIDTRANS_SERVER_KEY": "<YOUR_MIDTRANS_SERVER_KEY>",
        "MIDTRANS_IS_PRODUCTION": "<YOUR_MIDTRANS_IS_PRODUCTION>",
        "MIDTRANS_READ_ONLY": "<YOUR_MIDTRANS_READ_ONLY>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "midtrans-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "midtrans-mcp@0.1.1"
      ],
      "env": {
        "MIDTRANS_SERVER_KEY": "<YOUR_MIDTRANS_SERVER_KEY>",
        "MIDTRANS_IS_PRODUCTION": "<YOUR_MIDTRANS_IS_PRODUCTION>",
        "MIDTRANS_READ_ONLY": "<YOUR_MIDTRANS_READ_ONLY>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "midtrans-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "midtrans-mcp@0.1.1"
      ],
      "env": {
        "MIDTRANS_SERVER_KEY": "<YOUR_MIDTRANS_SERVER_KEY>",
        "MIDTRANS_IS_PRODUCTION": "<YOUR_MIDTRANS_IS_PRODUCTION>",
        "MIDTRANS_READ_ONLY": "<YOUR_MIDTRANS_READ_ONLY>"
      }
    }
  }
}

Let your agent find its tools

Find servers like midtrans-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.