YooKassa MCP Server

YooKassa MCP Server

MCP server for the YooKassa payment API, enabling AI assistants to manage payments, refunds, receipts, webhooks, and saved payment methods through natural language.

Category
Visit Server

README

YooKassa MCP Server

MCP (Model Context Protocol) server for the YooKassa payment API. Enables AI assistants to manage payments, refunds, receipts, webhooks, and saved payment methods through natural language.

Tools

Payments

Tool Description
yookassa_create_payment Create a payment and get confirmation URL
yookassa_get_payment Get payment details by ID
yookassa_list_payments List payments with filters (status, date range, method)
yookassa_capture_payment Capture held payment (two-stage)
yookassa_cancel_payment Cancel a held payment

Refunds

Tool Description
yookassa_create_refund Create full or partial refund
yookassa_get_refund Get refund details by ID
yookassa_list_refunds List refunds with filters

Webhooks

Tool Description
yookassa_create_webhook Subscribe to payment events
yookassa_list_webhooks List all webhook subscriptions
yookassa_delete_webhook Remove a webhook subscription

Receipts (54-ФЗ)

Tool Description
yookassa_get_receipt Get fiscal receipt by ID
yookassa_list_receipts List fiscal receipts

Payment Methods

Tool Description
yookassa_get_payment_method Get saved payment method
yookassa_list_payment_methods List saved payment methods

Setup

1. Get credentials

In your YooKassa Merchant Profile, get your Shop ID and Secret Key.

2. Install & build

npm install
npm run build

3. Configure Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "yookassa": {
      "command": "node",
      "args": ["/absolute/path/to/yookassa-mcp-server/dist/index.js"],
      "env": {
        "YOOKASSA_SHOP_ID": "your_shop_id",
        "YOOKASSA_SECRET_KEY": "your_secret_key"
      }
    }
  }
}

4. HTTP mode (optional)

TRANSPORT=http PORT=3000 YOOKASSA_SHOP_ID=xxx YOOKASSA_SECRET_KEY=yyy node dist/index.js

Example prompts

  • "Create a payment for 1500 RUB for order #42"
  • "Show me all failed payments from last week"
  • "Refund 500 RUB from payment 22d6d597-000f-5000-9000-145f6df21d6f"
  • "Set up a webhook for payment.succeeded events at https://mysite.com/hooks"
  • "List all my webhooks"
  • "Show fiscal receipts for payment pay_xxx"

Authentication

Uses HTTP Basic Auth (Shop ID + Secret Key). Credentials are passed via environment variables and never logged.

Response formats

All tools support response_format: "markdown" (default, human-readable) or "json" (machine-readable structured data).

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured