Tegro.money MCP Server
OfficialThis server connects AI assistants (Claude, Cursor, etc.) to the Tegro.Money payment API, enabling you to query account data and create payment invoices.
Account & Shop Info
Get balance (
get_balance): Retrieve wallet balances broken down by currency (RUB, USD, etc.)List shops (
list_shops): View all projects/shops with their IDs, names, URLs, and statuses
Orders & Payouts
List orders (
list_orders): Retrieve a paginated list of payment orders for a shop, including amount, status, payment method, and datesGet order (
get_order): Look up details of a specific order by your own order ID or Tegro's payment IDList withdrawals (
list_withdrawals): See all payout requests for a given shopGet withdrawal (
get_withdrawal): Retrieve details of a specific payout request by its ID
Payments & Rates
Get exchange rates (
get_rates): Query the current exchange rate between two currenciesList payment methods (
list_payment_systems): Discover available payment methods for a specific shopCreate payment link (
create_payment_link): Build a ready-to-use SCI payment URL for a given amount and currency (supports success/fail/notify URLs, test mode, and language selection)Create order (
create_order): Create a payment invoice via the REST API and receive back its details and payment URL
Note: The payment creation tools (
create_payment_link,create_order) require additional credentials (secret key / API key) beyond standard read access.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Tegro.money MCP ServerCreate a 1500 RUB payment link for order #A-42"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Tegro.Money MCP Server
Connect Claude, Cursor, and any other Model Context Protocol client to the Tegro.Money payment API. Ask your AI assistant about your balances, projects, payment orders, payouts and exchange rates — in plain language.
Read-only and safe by design. This server exposes information tools only — no payment creation, no payouts, no money movement. Your API key is used locally to sign requests and never leaves your machine.
You: "What's my Tegro.Money balance and how many orders were paid today?"
Claude: → calls get_balance, list_orders → answers with your real data.Tools
Tool | What it does |
| Balance of all your wallets, per currency (RUB/USD/…) |
| Your projects (shops): id, name, url, Shop ID, status |
| Payment orders for a shop (amount, status, method, dates) |
| Status & details of one order by |
| Payout requests for a shop |
| Status & details of one payout by |
| Exchange rate between two currencies |
| Payment methods available for a shop |
Related MCP server: PayBridgeNP MCP Server
Quick start
You need your REST API key from the Tegro.Money dashboard → your project → Settings → Keys → API KEY (this is the key for the REST API; it is different from the Shop ID / Secret Key used for the payment form).
Claude Desktop
Add to your claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"tegro-money": {
"command": "npx",
"args": ["-y", "@tegroton/tegro-money-mcp"],
"env": {
"TEGRO_API_KEY": "your_rest_api_key",
"TEGRO_SHOP_ID": "your_shop_id_optional"
}
}
}
}Restart Claude Desktop — the tools appear under the 🔌 menu.
Cursor
Settings → MCP → Add new server, or add to .cursor/mcp.json:
{
"mcpServers": {
"tegro-money": {
"command": "npx",
"args": ["-y", "@tegroton/tegro-money-mcp"],
"env": { "TEGRO_API_KEY": "your_rest_api_key" }
}
}
}Any MCP client
Run over stdio:
TEGRO_API_KEY=your_rest_api_key npx -y @tegroton/tegro-money-mcpConfiguration
Env var | Required | Default | Description |
| ✅ | — | Your REST API key. Used only to sign requests locally (HMAC-SHA256); never sent over the network. |
| — | — | Default Shop ID for shop-scoped tools, so you don't pass it each time. |
| — |
| API base URL. |
Security
Read-only. No tool can create an order, move funds, or change anything. It only reads.
Your key stays local. The API key signs each request body with HMAC-SHA256 right on your machine; only the signature (
Authorization: Bearer <hmac>) goes to the API — the key itself is never transmitted.No secrets in this repo. You provide your own key via environment variables.
Open source (MIT). Read every line — it's small on purpose.
Found a security issue? See SECURITY.md.
Examples
Once connected, just ask in natural language — the assistant picks the tool. A few things it can answer:
You ask | Tool(s) used | Example answer |
"What's my balance?" |
| "RUB 12 480.50, USD 0.00." |
"Did order 777 get paid?" |
| "Order 777: paid on 2026-06-20, 1 200 ₽." |
"Revenue today?" |
| sums paid orders by |
"Which payment methods are on shop X?" |
| lists the enabled methods. |
"RUB to USD rate?" |
| the current rate. |
A raw tool result is the API's data object, pretty-printed JSON — e.g. get_balance:
{ "user_id": 1, "balance": { "RUB": "12480.50", "USD": "0.00" } }How it works
Each request is a JSON body (with a unique nonce) signed per the official Tegro.Money API:
sign = HMAC_SHA256(json_body, api_key)
POST https://tegro.money/api/<endpoint>/
Authorization: Bearer <sign>The signed body is byte-identical to the body sent, so the signature always matches. The key only ever feeds the local HMAC — it is never placed in a URL, body, or log.
Troubleshooting
Symptom | Cause / fix |
| Set the env var to your REST API key (dashboard → project → Settings → Keys → API KEY) — not the Shop ID / Secret Key. |
| The key is incorrect, or the request body was altered between signing and sending. Double-check |
| The endpoint needs a shop. Pass |
| The API is behind Cloudflare, which rejects unusual clients. This server already sends a descriptive |
Tools don't appear in the client | Restart the client after editing its config; confirm |
FAQ
Is this safe to run? Can it spend my money? No. Every tool is read-only — there is no order-creation or payout tool. The worst it can do is read your account data.
Where does my API key go? Nowhere. It signs each request locally (HMAC-SHA256); only the resulting signature is sent. The key is never transmitted or logged.
Which key do I use? The REST API key (dashboard → project → Settings → Keys → API KEY). The Shop ID and Secret Key are for the payment form and are not used here.
Does it work with ChatGPT? MCP is the protocol used by Claude Desktop, Cursor, Claude Code, and other MCP clients. ChatGPT uses a different connector system, so this stdio server isn't a drop-in there.
Can it create payment links / invoices? Not in this package — it's read-only on purpose. That belongs in a separate, clearly-scoped tool.
Development
git clone https://github.com/TegroTON/tegro-money-mcp.git
cd tegro-money-mcp
npm install
npm run typecheck # tsc --noEmit
npm run build # compile to dist/
npm test # node:test via tsx (mocked fetch — no API key needed)
TEGRO_API_KEY=... npm run dev # run the server from sourceContributing
PRs welcome — see CONTRIBUTING.md and our Code of Conduct. Keep it read-only, tested, and secret-free.
Links
🌐 Tegro.Money · API docs
Community
Follow Tegro.Money:
💬 Telegram — @TegroMoney · bot: @TegroMoneybot
𝕏 Twitter/X — @TegroTON
🟦 VK — vk.com/tegro
💼 LinkedIn — tegromoney
📸 Instagram — @tegromoney
✍️ Teletype — @tegro
🐙 GitHub — TegroTON
License
MIT © Tegro.Money
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TegroTON/tegro-money-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server