Tkassa MCP logo

Tkassa MCP

Connects AI agents to T-Kassa payments, refunds, recurring billing, SBP QR, receipts, and optional T-Invest data.

Install Tkassa 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": {
    "tkassa-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@theyahia/tkassa-mcp"
      ],
      "env": {
        "TKASSA_TERMINAL_KEY": "YOUR_VALUE_HERE",
        "TKASSA_PASSWORD": "YOUR_VALUE_HERE",
        "TINKOFF_INVEST_TOKEN": "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 TKASSA_TERMINAL_KEY=YOUR_VALUE_HERE --env TKASSA_PASSWORD=YOUR_VALUE_HERE --env TINKOFF_INVEST_TOKEN=YOUR_VALUE_HERE --transport stdio tkassa-mcp -- npx -y @theyahia/tkassa-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 ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y @theyahia/tkassa-mcp

No response to initialize.

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 tkassa-mcp MCP server exposes T-Kassa (T-Bank/Tinkoff) payment operations through MCP tools for payments, refunds, recurring charges, customers, saved cards, SBP QR codes, and 54-FZ receipts. An optional T-Invest token adds portfolio lookup and instrument search. It signs requests with SHA-256 using the terminal credentials and supports stdio or HTTP transport. Reach for it when an agent needs to create or manage T-Kassa transactions, while noting that the repository is archived and ongoing development has moved to the WWmcp monorepo.

Use cases

  • Create T-Kassa payment links with receipts
  • Manage two-step payments and partial refunds
  • Charge recurring payments from saved cards
  • Generate and monitor SBP QR payments
  • Query T-Invest portfolios and instruments

Key features

  • T-Kassa payment lifecycle management
  • Refunds and recurring charges
  • Customer and saved-card management
  • SBP QR payment support
  • 54-FZ closing receipts
  • Optional T-Invest portfolio tools

Tools16

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

Self-reported~303 tokens of context

Security & health

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

Not checked yetLast checked

We have not completed a health check for this listing yet.

0/17 checks healthy over the last 88d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

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

Adoption & maintenance

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

npm downloads251Package downloads in the last 30 days.
Last commit3mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed16Callable tools this server registers over MCP.

How Tkassa MCP works

What tkassa-mcp MCP server does

The tkassa-mcp MCP server connects an MCP client to the T-Kassa payment API used by T-Bank/Tinkoff. It covers the main payment lifecycle: creating a payment, checking its state, confirming authorized two-step payments, canceling payments, charging a saved-card recurring payment, and issuing full or partial refunds.

Customer and card management tools support recurring-payment workflows. An agent can register a customer, retrieve customer contact data, list saved cards and their rebilling identifiers, or remove a customer or individual card. The server also creates SBP Fast Payments QR codes and checks their payment status.

Receipt handling is available through a closing-receipt tool that accepts items, prices, quantities, and tax information for 54-FZ fiscal compliance. With a separate T-Invest token, the server can return an investment portfolio containing stocks, bonds, ETFs, current value, and profit or loss, and can search instruments by ticker, ISIN, or company name.

How it works

The MCP package runs as a Node.js process. Clients can start it with npx -y @theyahia/tkassa-mcp over the standard process transport. It also offers HTTP mode, with JSON-RPC requests at POST /mcp and a health endpoint at GET /health; the port can be set with HTTP_PORT or a command-line option.

Requests to T-Kassa are authenticated with a SHA-256 token derived from sorted scalar request values, including the terminal password and terminal key. The server handles this signing step automatically. Nested receipt and DATA objects are not included in the signature calculation. Monetary values are supplied in rubles at the server interface and converted to kopecks for the API.

T-Kassa can send status notifications to the notification_url supplied when a payment is initialized. The notification includes payment details and a token that the receiving application should verify using the same sorted-value SHA-256 method.

Setup and configuration

Install or run the package from npm as @theyahia/tkassa-mcp. Configure an MCP client with these required variables:

  • TKASSA_TERMINAL_KEY: the terminal key from the T-Kassa dashboard.
  • TKASSA_PASSWORD: the terminal password used for request signing.

Set TINKOFF_INVEST_TOKEN when portfolio and instrument tools are needed. Without it, those two tools return a descriptive error. Test credentials are available through the T-Kassa dashboard.

The README includes launch configurations for Claude Desktop, Claude Code, Cursor, and Windsurf. The source repository is archived; the current package implementation is maintained under servers/tkassa/ in the theYahia/WWmcp repository, while the npm package remains @theyahia/tkassa-mcp.

Tools and capabilities

The 16 tools are grouped as follows:

  • Payments: initialize, inspect, confirm, cancel, and charge recurring payments.
  • Refunds: make a full or partial refund for a confirmed payment.
  • Customers and cards: add, retrieve, or remove customers; list or remove saved cards.
  • SBP: create a QR payment and query its state.
  • Receipts: send a closing receipt with item and tax data.
  • T-Invest: retrieve a portfolio and find an instrument’s FIGI.

The init_payment operation can return a payment URL and accepts options for one-step or two-step processing, recurring payments, receipts, DATA fields, and notification callbacks. Partial confirmation and cancellation are supported where the T-Kassa API permits them.

Limitations and notes

The T-Invest features require a separate token and are not available from the terminal credentials alone. Refunds require the payment to be in CONFIRMED status. Recurring charges depend on a RebillId from a saved card, and customer or card removal can affect future recurring payments.

The package uses the T-Kassa base URL https://securepay.tinkoff.ru/v2/ and retries requests automatically with exponential backoff for HTTP 429 and 5xx responses. The GitHub repository no longer receives updates; issues and pull requests should be directed to WWmcp.

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

tkassa-mcp is an MCP server that connects AI clients to the T-Kassa (T-Bank/Tinkoff) payment API. Its main tools create and track payments, confirm or cancel transactions, issue refunds, charge recurring payments, manage customers and saved cards, generate SBP QR codes, and send 54-FZ receipts. Optional tools access T-Invest portfolios and instruments.

Run it from npm with `npx -y @theyahia/tkassa-mcp`. Configure an MCP client to start that command and provide `TKASSA_TERMINAL_KEY` and `TKASSA_PASSWORD`. The package can also run in HTTP mode with `HTTP_PORT=3000` or `--http 3000`.

tkassa-mcp requires `TKASSA_TERMINAL_KEY` and `TKASSA_PASSWORD` for T-Kassa requests. Set `TINKOFF_INVEST_TOKEN` only if you need the T-Invest portfolio and instrument-search tools; those tools return an error when the token is absent.

Yes, tkassa-mcp includes a Cursor configuration using the npm package and the two required T-Kassa environment variables. The README also provides setup examples for Claude Desktop, Claude Code, and Windsurf.

tkassa-mcp signs T-Kassa requests automatically with SHA-256. It concatenates sorted scalar values, including the terminal password and terminal key; nested `Receipt` and `DATA` objects are excluded from signing.

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