Yookassa MCP logo

Yookassa MCP

Connects AI agents to YooKassa for payments, refunds, receipts, payouts, webhooks, recurring charges, SBP, and marketplace splits.

Install Yookassa MCP

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

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "yookassa-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@theyahia/yookassa-mcp"
      ],
      "env": {
        "YOOKASSA_SHOP_ID": "YOUR_VALUE_HERE",
        "YOOKASSA_SECRET_KEY": "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 YOOKASSA_SHOP_ID=YOUR_VALUE_HERE --env YOOKASSA_SECRET_KEY=YOUR_VALUE_HERE --transport stdio yookassa-mcp -- npx -y @theyahia/yookassa-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.

npx -y @theyahia/yookassa-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 yookassa-mcp MCP server connects AI agents to the YooKassa payment API through 20 tools for payments, refunds, receipts, payouts, webhooks, recurring charges, SBP, and split payments. It uses YooKassa shop credentials and supports stdio by default or Streamable HTTP for remote deployments. Reach for it when an agent needs to inspect or perform payment operations, while testing carefully because several tools move real money.

Use cases

  • Create YooKassa payments from an AI workflow
  • Issue full or partial refunds
  • Generate fiscal receipts under 54-FZ
  • Monitor payments, refunds, payouts, and webhooks

Key features

  • Create and manage YooKassa payments
  • Process full or partial refunds
  • Create and list 54-FZ fiscal receipts
  • Initiate payouts and recurring charges
  • Manage webhooks and shop information
  • Support stdio and Streamable HTTP transports

Tools20

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

Verified live~4.1k 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.

16/16 checks healthy over the last 82d

What it can do

From the 20 tools this server returned when we ran it; 20 declare their own safety hints.

Can delete or modify data · 12Handles credentials · 1Makes network requests · 20Read-only tools · 8
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age211 days
Maintainers1

Observed 2026-10-27 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 18d ago via OSV.dev · @theyahia/yookassa-mcp (npm)

Adoption & maintenance

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

GitHub stars4Stargazers on the source repository.
npm downloads271Package downloads in the last 30 days.
Last commit3mo agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed20Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Yookassa MCP works

What yookassa-mcp does

The yookassa-mcp MCP server gives MCP clients access to YooKassa operations through a set of 20 tools. Payment tools can create, retrieve, capture, cancel, and list payments, save payment methods, initiate recurring charges, and create SBP or marketplace split payments. Refund tools support full or partial refunds and refund lookup. Receipt tools cover fiscal receipts under 54-FZ, including line items, VAT codes, and customer contact details.

Additional tools manage YooKassa payouts, webhook registrations, and shop information. Payouts can target a bank card, YooMoney wallet, SBP, or a payout token. The account tool reports shop status, test mode, and fiscalization details; YooKassa does not provide a balance endpoint here.

How it works

The server calls YooKassa at https://api.yookassa.ru/v3/ using HTTP Basic Auth derived from the shop ID and secret key. It creates a stable UUID v4 idempotency key for each logical POST or DELETE operation and reuses that key when retrying, allowing YooKassa to deduplicate repeated requests. Requests can be retried up to three times for rate limits, server errors, or timeouts, with one-, two-, and four-second delays.

Standard operation uses stdio. The --http option or HTTP_PORT enables Streamable HTTP, with MCP requests sent to /mcp and an unauthenticated /health endpoint available for status checks. HTTP mode requires a bearer token and validates host and origin settings.

Setup and configuration

Install the package through npx and provide YOOKASSA_SHOP_ID and YOOKASSA_SECRET_KEY in the MCP client configuration. For payouts, configure the separate YOOKASSA_PAYOUT_AGENT_ID and YOOKASSA_PAYOUT_SECRET_KEY values; these are not the shop payment credentials.

For HTTP deployments, set MCP_AUTH_TOKEN. HTTP_PORT defaults to 3000, while HTTP_HOST defaults to 127.0.0.1. Allowed hosts and browser origins can be controlled with MCP_ALLOWED_HOSTS and MCP_ALLOWED_ORIGINS. YOOKASSA_DEBUG=1 writes request metadata to stderr without logging secrets, authorization headers, or request bodies.

Limitations and notes

The yookassa-mcp MCP server performs actual financial operations. Use a YooKassa test shop during development and verify test mode with get_shop_info before connecting a production shop. Creating payments, refunds, payouts, recurring payments, saved payment methods, and captures can move real funds and cannot be reversed automatically; clients mark these operations as destructive so they can request confirmation.

Payouts are asynchronous, so callers should use get_payout to check their status. Supplying a raw card number for payouts requires PCI DSS certification; otherwise, collect recipient details with the payout widget and pass a payout_token.

Do not expose HTTP mode directly to the public internet. Keep the default localhost binding or place the service behind an authenticated reverse proxy or mutual TLS, and configure the bearer token and host/origin restrictions appropriately.

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 Yookassa MCP

yookassa-mcp is an MCP server that connects AI agents to the YooKassa payment API. Its main tools create and inspect payments, process refunds, generate 54-FZ receipts, initiate payouts, manage webhooks, handle recurring charges, and support SBP and marketplace split payments.

Install it with `npx -y @theyahia/yookassa-mcp` in your MCP client configuration. Set `YOOKASSA_SHOP_ID` and `YOOKASSA_SECRET_KEY` as environment variables. The README includes setup examples for Claude Desktop, Claude Code, VS Code, Cursor, and Windsurf.

Yes, yookassa-mcp works with Cursor through a standard stdio configuration. Add the package as an `npx` command and provide the YooKassa shop ID and secret key in the server environment settings.

Run it with `--http` or set `HTTP_PORT`, then send authenticated MCP requests to `/mcp`. HTTP mode requires `MCP_AUTH_TOKEN`, listens on `127.0.0.1` by default, and should be placed behind an authenticated reverse proxy or mutual TLS for remote access.

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 PreviewYookassa MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/yookassa-mcp?style=directory)](https://allmcps.com/mcp/yookassa-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/yookassa-mcp"><img src="https://allmcps.com/api/badge/yookassa-mcp?style=directory" alt="Yookassa MCP on AllMCPs" /></a>