Robokassa MCP logo

Robokassa MCP

Connects AI agents to Robokassa for invoices, payment checks, refunds, receipts, subscriptions, and payment verification.

Install Robokassa MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "robokassa-mcp": {
      "command": "uvx",
      "args": [
        "robokassa-mcp"
      ],
      "env": {
        "ROBOKASSA_LOGIN": "YOUR_VALUE_HERE",
        "ROBOKASSA_PASSWORD1": "YOUR_VALUE_HERE",
        "ROBOKASSA_PASSWORD2": "YOUR_VALUE_HERE",
        "ROBOKASSA_PASSWORD3": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env ROBOKASSA_LOGIN=YOUR_VALUE_HERE --env ROBOKASSA_PASSWORD1=YOUR_VALUE_HERE --env ROBOKASSA_PASSWORD2=YOUR_VALUE_HERE --env ROBOKASSA_PASSWORD3=YOUR_VALUE_HERE --transport stdio robokassa-mcp -- uvx robokassa-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

uvx robokassa-mcp

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The robokassa-mcp MCP server exposes Robokassa payment operations as MCP tools for AI agents. It can construct signed checkout URLs, query payment state, process refunds, handle pre-authorizations and recurring charges, and work with fiscal receipts and webhook signatures. Run it over stdio for desktop clients or use HTTP-compatible transports for remote access and MCP Inspector. Reach for it when an agent needs to inspect or initiate Robokassa payment workflows using configured shop credentials.

Use cases

  • Create signed Robokassa checkout URLs
  • Check payment status by invoice ID
  • Initiate and monitor refunds
  • Manage recurring charges and card holds
  • Verify payment webhook signatures

Key features

  • 18 MCP tools for Robokassa operations
  • Signed invoice and fiscal receipt creation
  • Payment status, refund, and receipt tracking
  • Pre-authorization and recurring billing support
  • Webhook signature verification
  • stdio, HTTP, streamable HTTP, and SSE transports

Tools18

What Robokassa MCP lets your agent do. Expand a tool for its parameters.

Verified live~4.3k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

25/29 checks healthy over the last 117d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · robokassa-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
Last commit7mo agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed18Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Robokassa MCP works

What robokassa-mcp MCP server does

The robokassa-mcp MCP server connects MCP-capable agents to the Robokassa Russian payment gateway. It provides 18 tools covering checkout creation, XML status operations, refunds, card holds, recurring billing, fiscal receipts, split payments, SMS, and signature checks.

The server is intended for payment workflows where an agent needs structured access to Robokassa operations rather than direct construction of API requests. It can build a signed checkout URL without making an HTTP request, while other operations call Robokassa interfaces to retrieve or change payment state.

How it works

The server runs as a Python package through uvx robokassa-mcp. Stdio is suitable for local MCP clients; the command also accepts http, streamable-http, and sse transports with configurable host and port values. An HTTP invocation such as uvx robokassa-mcp --transport http --port 8000 supports MCP Inspector and remote-client scenarios.

Authentication is selected by operation. Checkout and several auxiliary operations use Password #1, payment-state queries and ResultURL verification use Password #2, and refund creation uses Password #3 with JWT authentication. Partner refunds use a Partner JWT. Some tools, including currency listing, refund-status polling, and split-invoice construction, do not require a password according to the tool reference.

Setup and configuration

Install the package with uvx robokassa-mcp, then register the command in the MCP client configuration. The documented examples cover Claude Desktop, Claude Code, Cursor, VS Code with GitHub Copilot, and Windsurf. Each configuration passes the credentials as environment variables.

Set ROBOKASSA_LOGIN for the shop. Add ROBOKASSA_PASSWORD1 for checkout, SuccessURL verification, amount calculations, fiscal operations, and SMS; ROBOKASSA_PASSWORD2 for payment-state checks and ResultURL verification; and ROBOKASSA_PASSWORD3 for refund creation. Credentials can also be supplied explicitly when using the Python library.

Tools and capabilities

The robokassa-mcp MCP server exposes these grouped capabilities:

  • Create signed invoices, optionally including a 54-ФЗ receipt.
  • Check payment state by invoice ID and list available payment methods.
  • Calculate the amount credited to the shop.
  • Create refunds and poll them by request ID.
  • Initialize, confirm, or cancel card pre-authorizations.
  • Create recurring-payment parents and issue recurring charges.
  • Build marketplace invoices with multiple recipients.
  • Send paid SMS messages.
  • Create and check second fiscal receipts after an advance payment.
  • Verify ResultURL and SuccessURL signatures.
  • Use the alternative Partner API refund path.

The Python library additionally exposes lower-level signature and fiscal-body helpers, including functions for checkout, refund, SMS, webhook, and operation-state signatures. Those helpers are not exposed as MCP tools.

Limitations and notes

Partner API coverage is limited to partner_refund; the repository identifies the remaining Partner API surface as incomplete. Refund creation requires Refund API access, and partner refunds require Partner JWT credentials. Payment webhooks still need to be received by an application endpoint: the server supplies signature verification, but the example application is responsible for parsing the request, persisting the notification, and returning the expected response.

The checkout URL builder itself does not send a payment request. It creates the signed URL that a customer or another application can use. Operations that inspect or mutate Robokassa state depend on the relevant gateway endpoint and credentials being available.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Robokassa MCP

robokassa-mcp is an MCP server that connects AI agents to the Robokassa payment gateway. Its main tools create signed invoices, check payment status, initiate and track refunds, manage holds and recurring charges, handle fiscal receipts, build split payments, send SMS messages, and verify ResultURL or SuccessURL signatures.

Install and run it with `uvx robokassa-mcp`. Register that command in your MCP client configuration and provide the Robokassa credentials as environment variables.

Set `ROBOKASSA_LOGIN` for all operations, then add the password variables required by the tools you use. `ROBOKASSA_PASSWORD1` covers checkout and several auxiliary operations, `ROBOKASSA_PASSWORD2` covers payment checks and ResultURL verification, and `ROBOKASSA_PASSWORD3` is used to create refunds.

Yes, robokassa-mcp works with Cursor through its stdio MCP configuration. Add the server command and environment variables to `~/.cursor/mcp.json`, using `uvx` with `robokassa-mcp` as the command argument.

Yes, it provides tools for validating ResultURL and SuccessURL signatures. Your application still needs to receive and parse the webhook request, decide how to persist or process the notification, and return the appropriate response after verification.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewRobokassa MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/robokassa-mcp?style=directory)](https://allmcps.com/mcp/robokassa-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/robokassa-mcp"><img src="https://allmcps.com/api/badge/robokassa-mcp?style=directory" alt="Robokassa MCP on AllMCPs" /></a>