stablevoy-mcp
OfficialUse Stablevoy through MCP to manage invoices, inspect payments/stores, and search Stablevoy docs without moving funds or changing account settings.
List connected stores and read detailed store settings, including networks, payout addresses, limits, fees and webhook health.
Create USDT/USDC invoices in USD or supported currencies, with optional reference, return URL and expiration; returns a checkout link.
Cancel unpaid invoices.
Fetch one invoice or list/filter invoices by status, source, search text and creation dates.
Summarize invoices and received payments over periods or date ranges, per store and per network/token.
List unmatched Tron-wallet transfers for manual assignment in the Stablevoy dashboard.
Search and read Stablevoy documentation, OpenAPI endpoint reference and error-code guidance without an API key.
Cannot move funds or change payout addresses, webhooks, limits, keys or stores; read-only mode can hide create/cancel tools.
Click on "Deploy 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., "@stablevoy-mcp Bill Acme $250 for October work and send me the payment link"
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.
stablevoy-mcp
An MCP server for Stablevoy, the non-custodial USDT and USDC payment gateway. Ask your AI assistant to bill a client, check whether an invoice is paid or sum up the week, across all your stores:
"Bill Acme 250 dollars for the October work" gives a payment link.
"Has Acme paid?" gives the status and the transactions.
"What came in this week in the Main store?" gives the totals per network.
"How do I verify a Stablevoy webhook in PHP?" answers from the documentation.
It works with Claude Desktop, Claude Code, Cursor and any client that speaks the Model Context Protocol. It runs on your computer and talks only to the Stablevoy API.
What it can and cannot do
The server holds store API keys only. With them it can create invoices to receive money, cancel unpaid ones, read your stores and invoices, sum up a period and list transfers that matched no invoice. It also searches the public Stablevoy documentation, which needs no key. It cannot move funds, change your payout address, your webhooks, your limits, your keys or your stores: those need your wallet signature in the Stablevoy dashboard. Stablevoy never holds your money, so there is nothing to withdraw.
So even an assistant tricked by a malicious web page or document can only create invoices that pay you, cancel an unpaid one (the buyer is told not to pay it and your shop gets the invoice.cancelled webhook), and read your invoices. Reading is the real exposure: invoice amounts and your references. Keep that in mind before you connect the server to an assistant that also reads untrusted content, or run it read-only (below).
Related MCP server: InventPay MCP Server
Connect
Requires Node.js 22.12 or later.
npx stablevoy-mcp loginThis opens the Stablevoy dashboard in your browser. Sign in with your wallet, tick the stores the assistant may use and approve. The browser hands a one-time code back to the command on this computer, which exchanges it for one API key per store and keeps them in your config folder (~/.config/stablevoy-mcp on Linux, ~/Library/Application Support/stablevoy-mcp on macOS, %APPDATA%\stablevoy-mcp on Windows), readable by you only. The keys are named "MCP (your computer)" on the store pages of the dashboard, where you can revoke any of them.
Then add the server to your client.
Claude Desktop (claude_desktop_config.json), Cursor (.cursor/mcp.json) and most clients:
{
"mcpServers": {
"stablevoy": { "command": "npx", "args": ["-y", "stablevoy-mcp"] }
}
}Claude Code:
claude mcp add stablevoy -- npx -y stablevoy-mcpOne store without a login
Create a key on the store page of the dashboard and pass it instead:
{
"mcpServers": {
"stablevoy": { "command": "npx", "args": ["-y", "stablevoy-mcp"], "env": { "STABLEVOY_API_KEY": "sk_live_..." } }
}
}Without a key
With no login and no STABLEVOY_API_KEY the server still starts and lists every tool, prompt and resource, and tells the assistant it is not signed in. The store tools then answer not_signed_in with what to do, without calling the API; the documentation tools, the docs resources and the getting_started prompt work. Run npx stablevoy-mcp login to work with invoices.
Read-only
Add "STABLEVOY_MCP_READ_ONLY": "true" to env: create_invoice and cancel_invoice are then not offered at all.
Change the stores
npx stablevoy-mcp loginagain: the stores this computer has are ticked; untick the ones to drop. Their keys are revoked, the new selection replaces the old one.npx stablevoy-mcp storeslists the stores of this computer;npx stablevoy-mcp stores remove "Main"drops one and revokes its key.npx stablevoy-mcp logoutrevokes every key of this computer and deletes the file.
Adding a store always goes through the browser, since it needs your wallet. The assistant cannot change the set. Several accounts or sets: --profile work on these commands, and "STABLEVOY_MCP_PROFILE": "work" in the client config.
Tools
Tool | What it does |
list_stores | The connected stores, whether each can take payments and its EVM payout status. |
get_store | A store's settings: networks, payout addresses, the EVM payout status, invoice limits, fee, website, return and webhook URLs, and the state of the webhook endpoint (active, failing or paused). Read only. |
create_invoice | An invoice for an amount in dollars ("19.99"), or in one of 30 shop currencies (amount "49.99" with currency "EUR", turned into dollars once at creation), with an optional reference, return URL and payment window (expiresInMinutes, 15 to 10080; the store default when left out); returns the payment link, which you send to the buyer yourself. The same price and reference return the same invoice instead of a second one. |
cancel_invoice | Cancels an invoice no payment has been seen for, so the buyer is told not to pay it. Money that still arrives later marks it paid_late. |
get_invoice | An invoice by id, with the payments received. |
list_invoices | Invoices newest first, filtered by status, source, search and the days they were created. |
summarize_payments | Totals for a period (last_7_days, last_30_days, this_month, last_month, last_3_months, or your own days, at most 92 per call): invoices per status, the amount invoiced and the money received per network and token. With several stores, each store and the total. |
get_checkout_funnel | Where buyers stop on the payment page for a period (the same periods and days as summarize_payments): how many invoices were opened on the page or in the widget, had a wallet started or a transaction sent, saw a payment and were paid. Counts of invoices, nothing about the buyer. With several stores, each store and the total. |
get_checkout_trail | The payment page steps of one invoice, oldest first, from its creation to the outcome, each with the time it was first reached. |
list_unmatched_transfers | Payments to your Tron wallet that matched no invoice, usually an exchange that took its fee out of the amount. Read only: you attach them to invoices in the dashboard. |
search_docs | Up to five matching sections of the Stablevoy documentation. No key needed. |
get_doc | One whole documentation page as Markdown, or |
With several stores, tools take a store argument (the id or the exact name from list_stores); the server asks for it rather than guessing.
Every tool description says whether it needs a store key.
Prompts
Ready-made tasks your MCP client can offer in its prompt or slash-command menu. Each one tells the assistant which tools to call and what to report; none of them changes anything.
Prompt | Arguments | What you get |
payments_summary | period, store (optional) | Paid and unpaid invoices of the period per store and in total, the money per network and token, and the change against the period before. |
unpaid_invoices | store (optional) | Invoices still waiting for payment, the ones expiring within 24 hours first, with the payment link to send the buyer again. |
client_payments | reference, store (optional) | Every invoice of one order or client by its reference, with what was paid and the transactions. |
review_unmatched_transfers | store (optional) | For each transfer that matched no invoice, the invoice it most likely belongs to, as a suggestion you then assign in the dashboard. |
getting_started | none | How to start taking USDT and USDC, from the documentation, and how to connect this server. Needs no key. |
Resources
The public Stablevoy documentation as read-only resources, no key needed: every page listed in llms.txt as stablevoy://docs/<page> (for example stablevoy://docs/webhooks), plus stablevoy://docs/openapi (every API endpoint) and stablevoy://docs/errors (every error code with what to do). Nothing is read until a resource is asked for; if the site cannot be read, the client gets the reason, never an empty list.
Configuration
Variable | Meaning |
STABLEVOY_API_KEY | One store key; when set, the login keys are not used. |
STABLEVOY_MCP_PROFILE | Which login profile to use, |
STABLEVOY_MCP_READ_ONLY |
|
STABLEVOY_API_URL | The API, |
STABLEVOY_SITE_URL | The site the documentation tools read, |
The documentation tools and resources keep each page in memory for an hour, wait at most 10 seconds for an answer and read at most 1 MB per page.
Questions and bugs
Ask questions in GitHub Discussions, category MCP server. Open an issue in this repository for a bug, with the version and the smallest example that shows it. Never paste a key, not even a test one.
License
MIT
Available Tools
12 toolscancel_invoiceCancel an unpaid invoiceADestructiveIdempotent
Cancels an unpaid invoice so the buyer can no longer pay it, for example when the order was called off. Needs a store key (npx stablevoy-mcp login). Pass the invoiceId from create_invoice, list_invoices or get_invoice. Without store every connected store is tried and only the one that owns the invoice cancels it. It works only while no payment has been seen; otherwise it returns invoice_not_cancellable and the invoice stays as it is. Money that still arrives later is marked paid_late, and cancelling twice returns the invoice unchanged. Use get_invoice first if you are not sure of its status. A failure comes back as an error with its code and what to do, for example rate_limited with the seconds to wait.
Inputs: invoiceId (required), store.
create_invoiceCreate an invoiceA
Creates a Stablevoy invoice the buyer pays in USDT or USDC and returns its payment link, checkoutUrl. Needs a store key (npx stablevoy-mcp login). Give the price as amountUsd, or as amount with currency when the merchant prices in another currency, for example "49.99" and "EUR". Such a price is turned into US dollars once, at creation, with the store's own rate or the ECB reference rate, and the invoice shows both in price. Send that link to the buyer yourself; Stablevoy does not email it. Give a reference (for example "acme-october") whenever you can: the same price and reference return the same invoice instead of a second one. returnUrl is an https page the buyer goes back to after paying. expiresInMinutes, 15 to 10080, is how long the buyer has; left out, the store default applies. After expiresAt the payment page tells the buyer not to pay, and money that still arrives is marked paid_late. To change the price of an unpaid invoice, cancel it with cancel_invoice first. Check the result later with get_invoice. Pass store when several stores are connected. A failure comes back as an error with its code and what to do, for example rate_limited with the seconds to wait.
Inputs: store, amount, currency, amountUsd, +3 more.
get_checkout_funnelRead where buyers stop on the payment pageARead-onlyIdempotent
Gets where buyers stop on the payment page for the invoices created in a period. Needs a store key (npx stablevoy-mcp login). It counts invoices, not visits: how many were opened (on the hosted page or in the widget), had the network or token changed, had the details copied, started a wallet, were refused or failed in the wallet, had a transaction sent, saw a payment (detected) and were paid. Nothing about the buyer is kept. A buyer who pays from another device skips page steps, so read it as a guide. Pass either period or both createdFrom and createdTo as UTC days, at most 92 days per call. A period together with dates, or only one date, is refused. Without store and with several stores you get one funnel per store plus a total. Use get_checkout_trail for the steps of one invoice and summarize_payments for the money. The API allows 30 calls a minute per store. A failure comes back as an error with its code and what to do, for example rate_limited with the seconds to wait.
Inputs: store, period, createdTo, createdFrom.
get_checkout_trailRead the payment page steps of an invoiceARead-onlyIdempotent
Gets the steps one invoice went through, oldest first, each with the time it was first reached. Needs a store key (npx stablevoy-mcp login). The steps are created, what the payment page reported (opened with page or widget, option_changed, details_copied, wallet_started, wallet_rejected, wallet_failed, tx_sent), the first payment seen (detected) and the outcome (paid, expired or cancelled). Use it to see where a buyer stopped. A buyer who pays from another device skips page steps. Without store every connected store is asked; an id no store has gives not_found. Use get_checkout_funnel for the counts of a period and get_invoice for the payments. A failure comes back as an error with its code and what to do, for example rate_limited with the seconds to wait.
Inputs: invoiceId (required), store.
get_docRead a Stablevoy documentation pageARead-onlyIdempotent
Gets one whole page of the Stablevoy documentation as Markdown. Needs no key. Pass a path from search_docs; the OpenAPI outline lists every API endpoint with its parameters, the errors page every error code with what to do. Only Stablevoy pages are read: any other address is refused with the list of pages, and a page over 1 MB is refused rather than cut. Use search_docs first when you do not know which page has the answer.
Inputs: path (required).
get_invoiceRead an invoiceARead-onlyIdempotent
Gets one invoice by its id: status, amountUsd, price, reference, dates (createdAt, expiresAt, paidAt), holdReason, networks and every payment received, with no paging. Needs a store key (npx stablevoy-mcp login). price is null for a dollar invoice; otherwise it holds the currency, amount and the rate that gave amountUsd. The id comes from create_invoice, list_invoices or the merchant. Without store every connected store is asked; an id no store has gives not_found. To find invoices by status, reference or date, use list_invoices. A failure comes back as an error with its code and what to do, for example rate_limited with the seconds to wait.
Inputs: invoiceId (required), store.
get_storeRead a store and its settingsARead-onlyIdempotent
Gets one store with its settings, read only. Needs a store key (npx stablevoy-mcp login). Each call makes three live requests: the store, the platform limits and the fee. Nothing is cached, so a change made in the dashboard shows at once. Nothing here can change a setting. That is done in the Stablevoy dashboard. Returned, grouped: status and canAcceptPayments; networks and payout state, with the payout addresses this store uses, whether each is its own or the account one, and the account addresses; the invoice range in effect (the cap of the account, the platform one unless a higher or lower cap was set on request, narrowed by the store limits) with the store and platform limits and the fee; the website, return and webhook addresses; webhookHealth, the state of the webhook endpoint (null without a webhook URL): status active, failing after 10 failed attempts with pausesAt (when it will be paused if it keeps failing) or paused after 24 hours of failures, when new events wait until the merchant resumes it in the dashboard; archivedAt. Call it first when create_invoice fails or a store cannot accept payments. For the short view of all stores use list_stores. Leaving store out works only with one connected store. With several, the answer is an error listing their names and ids. The API takes up to 300 requests a minute from one address. A failure comes back as an error with its code and what to do, for example rate_limited with the seconds to wait.
Inputs: store.
list_invoicesList invoicesARead-onlyIdempotent
Lists invoices newest first, to find invoices when you have no id. Needs a store key (npx stablevoy-mcp login). All filters are optional and combine: status, source, search (an invoice id or the start of the reference), createdFrom and createdTo (UTC days, both included) and limit (1 to 100, 20 by default). Each call returns one page per store: its name, invoices with the fields of get_invoice, and nextCursor. For the next page pass nextCursor as cursor with the same store. No match is an empty list. For one invoice by id use get_invoice; for totals of a period use summarize_payments. A failure comes back as an error with its code and what to do, for example rate_limited with the seconds to wait.
Inputs: limit, store, cursor, search, +4 more.
list_storesList connected storesARead-onlyIdempotent
Lists every Stablevoy store this server has a key for, all at once with no paging (usually one to a few). Needs a store key (npx stablevoy-mcp login). Each entry has id, name, status, enabledNetworks, canAcceptPayments, evmPayoutStatus, the payout addresses the store uses, whether each is its own or the account one, and the account addresses. Payout addresses are read only here. They change in the dashboard. A store whose key no longer works shows its error instead. An archived store has its keys revoked, so it shows that error. Call it first to learn the names for the store argument of the other tools. For the full settings of one store use get_store. A failure comes back as an error with its code and what to do, for example rate_limited with the seconds to wait.
Inputs: no named parameters.
list_unmatched_transfersList unmatched transfersARead-onlyIdempotent
Lists payments that reached the merchant's own Tron wallet but matched no invoice, newest first. Needs a store key (npx stablevoy-mcp login). This usually happens when an exchange took its fee out of the amount. At most the 100 newest are returned; there is no paging past them. Each transfer has amountUsd, network, token, fromAddress, txHash, explorerUrl, detectedAt and the stores it was listed for. sharedWithStores counts the active stores that pay out to that wallet on that network. 1 means the transfer is that store's; more means it may belong to any of them. You cannot attach a transfer to an invoice: tell the merchant to do it in the Stablevoy dashboard, Unmatched transfers section. Use get_invoice or list_invoices to find the invoice the buyer meant. Without store and with several stores, every store is asked and each transfer is listed once. A failure comes back as an error with its code and what to do, for example rate_limited with the seconds to wait.
Inputs: store.
search_docsSearch the Stablevoy documentationARead-onlyIdempotent
Searches the Stablevoy documentation for how-to questions. Needs no key. Topics: connecting a shop, stores, webhooks and their signatures, networks and fees, the payment widget, the plugins, recovery. A section ranks higher for each query word it contains. It ranks higher still when the word is in its heading or page title. Two to four specific words work best, for example "webhook signature" or "Tron fee". Each hit has the page title, its path for get_doc, the page address, the heading and up to 2000 characters of the section. Only the best 5 hits come back and there is no paging, so use other words to reach other sections. An empty list means no word matched. Call get_doc with a path to read the whole page. This running server keeps the pages for an hour, so searching again makes no request.
Inputs: query (required).
summarize_paymentsSum up invoices and payments for a periodARead-onlyIdempotent
Sums up the invoices created in a period, instead of paging through list_invoices. Needs a store key (npx stablevoy-mcp login). It returns how many invoices are in each status, invoicedUsd (cancelled and expired left out), receivedUsd (confirmed payments that passed sanctions screening) and the money per network and token. Pass either period or both createdFrom and createdTo as UTC days. A period together with dates, or only one of the two dates, is refused. One call covers at most 92 days; ask for a year in four quarters. Without store and with several stores you get one summary per store plus a total. Use list_invoices to see the invoices themselves. A failure comes back as an error with its code and what to do, for example rate_limited with the seconds to wait.
Inputs: store, period, createdTo, createdFrom.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Each tool has a clearly distinct purpose: get_invoice vs list_invoices vs summarize_payments are separated by single/lookup vs enumerate vs aggregate, and funnel vs trail vs docs search/get are clearly scoped. Descriptions explicitly cross-reference the sibling tool to use instead, leaving no realistic misselection path.
Uniform verb_noun snake_case pattern throughout (get_, list_, create_, cancel_, summarize_, search_), with the two checkout tools following the same get_checkout_* prefix. No camelCase or bare-noun outliers.
12 tools is well within the ideal band and each earns its place: core invoice lifecycle, store discovery, three analytics/reporting tools, and two documentation tools. Nothing appears redundant or filler.
Covers the full invoice lifecycle an agent needs (create, get, list, cancel), plus stores, funnel/trail analytics, aggregate reporting, unmatched transfers, and in-product docs. The only apparent omissions (price update, refunds, manual transfer matching, webhook resume) are explicitly documented as dashboard-only or intentional, so agents are never left at a dead end.
Maintenance
Related MCP Connectors
Non-custodial crypto payments for AI assistants: balances, payments, and create payment links.
Sell to people and AI agents: create products, a storefront, and USDC payment links from chat.
Crypto pay links and API for people and AI agents. BTC, Lightning, USDC, USDT, EURC, SOL, ETH.
Crypto payments for AI agents: self-serve account, invoices, receiving, payouts, exchange.
Related MCP Servers
- AlicenseAqualityBmaintenanceConnects AI agents to the PayBot payment infrastructure, enabling automated USDC transactions and payment status management. It provides tools for submitting payments, tracking transaction histories, and monitoring payment IDs via the Model Context Protocol.425 npmApache 2.0
- AlicenseAqualityDmaintenanceEnables AI agents to manage crypto payments, stores, products, and orders through the Model Context Protocol.2047 npmMIT
- AlicenseAqualityBmaintenanceEnables AI agents to perform and manage payments through the Model Context Protocol, including paying, checking balances and history, registering bots, setting spending limits, discovering supported networks and tokens, inspecting commissions, and managing bot pools. It also supports governed tool calls with policy decisions, human approval, and tamper-evident audit traces.12Apache 2.0

MercanPay MCP Serverofficial
AlicenseAqualityCmaintenanceEnables AI assistants to create, look up, list, and cancel crypto invoices, manage reusable payment links, check USDT and TRX rates, and simulate test payments through a secure API.7MIT