mcpField
R
robokassa-mcp

robokassa-mcp

Local
github.com/theYahiaFinance1Updated 8w ago

About robokassa-mcp

robokassa-mcp is an MCP server for the Robokassa payment API, intended for clients that need to create invoices and check payment status. It generates payment URLs with MD5 signatures and supports optional 54-FZ receipts.

Key features

  1. 01Generate payment URLs with MD5 signatures
  2. 02Check invoice status
  3. 03Support optional 54-FZ receipts
  4. 04Provide Streamable HTTP transport

Use cases

  1. 01Create a Robokassa payment URL for an invoice
  2. 02Check the payment status of a Robokassa invoice

MCP support

The MCP server exposes tools to create payment URLs and check invoice status. It can connect over stdio or Streamable HTTP.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"theyahia-robokassa": {
"command": "npx",
"args": [
"-y",
"@theyahia/robokassa-mcp"
],
"env": {
"ROBOKASSA_LOGIN": "<ROBOKASSA_LOGIN>"
}
}
}
}
Run commandnpx -y @theyahia/robokassa-mcp
Environment variables to set
ROBOKASSA_LOGINSecretAPI key for the service

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@theyahia/robokassa-mcp1.0.0

Tools

2

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
emailstringNoBuyer's email for the receipt
invIdintegerYesInvoice number (unique order ID). 0 = automatic
itemsarrayNoReceipt items (54-ФЗ, if fiscalization is required)
outSumnumberYesPayment amount in rubles
cultureenumNoPayment interface languageru | en
descriptionstringYesOrder description (up to 100 characters)
expirationDatestringNoInvoice expiration time in ISO 8601 format (e.g. 2025-12-31T23:59:59)

Details

From the project README

@theyahia/robokassa-mcp

MCP server for Robokassa payment API. 2 tools for invoice creation (with MD5 signature) and status checking.

npm license

Quick Start

Claude Desktop
{
  "mcpServers": {
    "robokassa": {
      "command": "npx",
      "args": ["-y", "@theyahia/robokassa-mcp"],
      "env": {
        "ROBOKASSA_LOGIN": "your-login",
        "ROBOKASSA_PASSWORD1": "your-password1",
        "ROBOKASSA_PASSWORD2": "your-password2"
      }
    }
  }
}
Claude Code
claude mcp add robokassa -e ROBOKASSA_LOGIN=login -e ROBOKASSA_PASSWORD1=pass1 -e ROBOKASSA_PASSWORD2=pass2 -- npx -y @theyahia/robokassa-mcp
Cursor / Windsurf
{
  "robokassa": {
    "command": "npx",
    "args": ["-y", "@theyahia/robokassa-mcp"],
    "env": {
      "ROBOKASSA_LOGIN": "your-login",
      "ROBOKASSA_PASSWORD1": "your-password1",
      "ROBOKASSA_PASSWORD2": "your-password2"
    }
  }
}

Tools

ToolDescription
create_invoiceCreate payment URL with MD5 signature, optional 54-FZ receipt
check_invoiceCheck invoice status via OpStateExt XML interface

Auth

VariableRequiredDescription
ROBOKASSA_LOGINYesMerchant login
ROBOKASSA_PASSWORD1YesPassword 1 (for payment signature)
ROBOKASSA_PASSWORD2YesPassword 2 (for status check signature)
ROBOKASSA_TESTNoSet to "true" for test mode

HTTP Transport

HTTP_PORT=3000 npx @theyahia/robokassa-mcp
# or
npx @theyahia/robokassa-mcp --http 3000

Endpoints: POST /mcp (JSON-RPC), GET /health (status).

Skills

  • skill-create-invoice -- create a Robokassa payment URL with MD5 signature
  • skill-check-payment -- check invoice status via OpStateExt

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.