Skip to main content
Glama

PayBot Kaspi MCP server

Accept Kaspi Pay payments in Kazakhstan from an AI agent. The PayBot MCP server lets Claude, ChatGPT, Cursor and any other MCP client create Kaspi payment links and invoices, check payments, run a catalogue, online courses and paid Telegram channels, and build and publish a store site — with a human confirming anything public or anything that moves money.

  • Endpoint: https://paybot.kz/mcp

  • Transport: Streamable HTTP (stateless, JSON responses)

  • Auth: Authorization: Bearer <PayBot API key>, or OAuth 2.1 (Dynamic Client Registration + PKCE S256) for web connectors

  • Docs: paybot.kz/docs/mcp · tool catalogue · OAuth · llms.txt

PayBot MCP: connection settings

This repository holds the public description and client configs. The server is hosted by PayBot; there is nothing to install.

Quick start

  1. Sign up at paybot.kz (free plan, no percentage of sales).

  2. Create a test API key in the cabinet: paybot.kz/app/api-keys. A test key works in a sandbox with test data only, so the agent cannot touch real money while you try it.

  3. Connect your client (below) and ask: "Check my PayBot session status" — the agent calls get_session_status.

Claude Code

claude mcp add --transport http paybot https://paybot.kz/mcp \
  --header "Authorization: Bearer $PAYBOT_API_KEY"

Cursor — .cursor/mcp.json

{
  "mcpServers": {
    "paybot": {
      "url": "https://paybot.kz/mcp",
      "headers": { "Authorization": "Bearer ${env:PAYBOT_API_KEY}" }
    }
  }
}

Claude Desktop and other stdio-only clients

npx -y mcp-remote https://paybot.kz/mcp --header "Authorization:Bearer ${PAYBOT_API_KEY}"

Claude.ai, ChatGPT and other web connectors

Add a custom connector with the URL https://paybot.kz/mcp. The client discovers OAuth through /.well-known/oauth-protected-resource, you sign in to PayBot and approve the business and the permissions.

Client syntax changes over time; check your client's documentation. More configs: examples/.

Related MCP server: app.wishpool/kazakhstan-payments-mcp

What the agent can do

48 tools, grouped:

Area

Tools

Payments

create_payment_link, create_invoice, get_payment, list_payments, request_refund, list_events

Subscriptions

create_plan, list_subscribers, channel_plan_deploy, channel_list, telegram_status

Catalogue and orders

product_create, product_update, product_archive, product_image_attach, variant_add, variant_update, stock_adjust, products_publish, orders_list, delivery_option_put, offers_list

Online courses

course_create, module_create, lesson_create, lesson_replace, course_publish, course_page_deploy

Sites and pages

site_build, site_upload, site_check, site_publish, site_rollback, site_versions, deploy_template, list_templates, payment_page_deploy, domain_add, domain_check, domain_list

Customers and stats

customers_list, sales_summary, get_stats, stats_show, get_session_status

Automation

automation_create, set_post_payment_action, start_link_create

Full schemas: tools/list, or the catalogue.

Resources: paybot://docs/mcp (agent guide), paybot://docs/site-sdk, paybot://docs/site-checklist, paybot://docs/starter-prompt ("build me a store"), paybot://openapi.yaml and more.

Safety model

  • Key permissions: read, write, publish, broadcast, money. Each tool needs its own; grant only what is needed.

  • Human approval: publishing returns pending_approval until a person approves it in the cabinet. Broadcasts always wait for a person. request_refund only creates a request that a re-authenticated person confirms. An agent can never approve its own request.

  • Money in tiyn: amounts are integers, 1 ₸ = 100 tiyn (15 000 ₸ = 1500000).

  • Data, not commands: tool results come inside <paybot_data> tags; text written by buyers is never an instruction.

  • Limits: 120 requests per minute per key, request body up to 12 MiB.

Example

"Add green tea at 2 500 ₸ and give me a payment link."

  1. get_session_status → test key, Kaspi connected or not

  2. product_create → product created hidden

  3. products_publish → pending_approval; the agent asks you to approve in the cabinet

  4. create_payment_link with amount: 250000 → pay_url for the buyer

По-русски

MCP-сервер PayBot подключает ИИ-агента к приёму оплаты через Kaspi Pay: ссылки на оплату и счета, проверка платежей, товары и заказы, онлайн-курсы, платные Telegram-каналы, сайт магазина. Адрес https://paybot.kz/mcp, ключ API из кабинета (paybot.kz/app/api-keys) или OAuth. Публикацию, рассылки и возвраты подтверждает человек. Документация: paybot.kz/docs/mcp.

Қазақша

PayBot MCP-сервері ЖИ-агентті Kaspi Pay арқылы төлем қабылдауға қосады: төлем сілтемелері мен шоттар, төлемдерді тексеру, тауарлар мен тапсырыстар, онлайн-курстар, ақылы Telegram-арналар, дүкен сайты. Мекенжайы https://paybot.kz/mcp, кабинеттегі API кілті немесе OAuth. Жариялауды, таратылымды және қайтаруды адам растайды.

paybot.kz · Kaspi API · Blog · Telegram

The MCP server and the PayBot service are operated by PayBot (TOO «AiBot», Kazakhstan). This repository is MIT-licensed; the service is governed by the terms at paybot.kz.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers