# robokassa-mcp [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/theYahia/robokassa-mcp  
**GitHub Stars:** 1  
**npm Downloads (last month):** 173  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/robokassa-mcp-2

## Description
MCP server for Robokassa payment API — generate payment URLs, check invoice status. First MCP for R

## Tools
Capabilities this server exposes over MCP:

- **create_invoice** — Create a Robokassa payment invoice and get a payment URL with MD5 signature. Supports 54-FZ fiscal receipt items for tax compliance. Returns the payment link, invoice ID, and amount.
- **check_invoice** — Check the status of a Robokassa invoice by invoice number using the OpStateExt XML interface. Returns state code, result code, payment method, and client details. Signature is generated with Password2.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "robokassa-mcp": {
    "command": "npx",
    "args": ["-y","@theyahia/robokassa-mcp"],
    "env": {
      "ROBOKASSA_LOGIN": "",
      "ROBOKASSA_PASSWORD1": "",
      "ROBOKASSA_PASSWORD2": ""
    }
  }
}
```

**Requires environment variables:** `ROBOKASSA_LOGIN`, `ROBOKASSA_PASSWORD1`, `ROBOKASSA_PASSWORD2` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What the robokassa-mcp MCP server does

The robokassa-mcp MCP server exposes Robokassa payment operations to MCP-compatible AI clients. It supports two actions: creating an invoice payment URL and checking an existing invoice’s status. The implementation is intended for merchants using Robokassa’s payment API and requires the corresponding merchant credentials.

Invoice creation produces a Robokassa payment URL and calculates the payment signature with MD5. The creation operation can also accept an optional 54-FZ receipt, allowing receipt data to be included when the invoice is generated. Status checks use Robokassa’s OpStateExt XML interface rather than the invoice-creation flow.

## How it works

The server runs as an npm package and communicates with an MCP client over the configured transport. In the standard setup, the client starts the package with `npx -y @theyahia/robokassa-mcp`. The MCP tools then receive invoice-related requests from the client and call the corresponding Robokassa API operation.

`create_invoice` is used when an agent needs a payment link. It signs the request with the merchant’s payment password and returns the generated URL. `check_invoice` is used to query the current state of an invoice and signs the status request with the separate status-check password.

The package also supports HTTP transport. Set `HTTP_PORT` when starting it, or pass an HTTP port with the `--http` option. In that mode, JSON-RPC requests use `POST /mcp`, while `GET /health` provides a health endpoint.

## Setup and configuration

Install or run the package through npm and add it to an MCP client configuration. The README provides configurations for Claude Desktop, Claude Code, Cursor, and Windsurf. Each configuration supplies the package command and the Robokassa credentials through environment variables.

Required configuration values are:

- `ROBOKASSA_LOGIN`: the merchant login.
- `ROBOKASSA_PASSWORD1`: the password used for payment signatures.
- `ROBOKASSA_PASSWORD2`: the password used for invoice status signatures.

Set `ROBOKASSA_TEST` to `true` to use Robokassa test mode. The HTTP example uses `HTTP_PORT=3000` and starts the package on port 3000.

## Tools and capabilities

The robokassa-mcp MCP server provides these tools:

- `create_invoice`: Builds a Robokassa payment URL, applies an MD5 signature, and supports an optional 54-FZ receipt.
- `check_invoice`: Checks invoice status through the OpStateExt XML interface.

These tools cover invoice link generation and status retrieval.

_Full upstream README: https://allmcps.com/mcp/robokassa-mcp-2/readme_

