Mcp Server — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Mcp Server (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
An MCP (Model Context Protocol) server that exposes the Stables fiat-to-crypto API to AI agents. This allows AI assistants like Claude, ChatGPT, Cursor, Codex, and other MCP-compatible clients to manage customers, create USDC and USDT quotes, execute approved transfers, and handle virtual accounts programmatically.
Use it to build stablecoin payment workflows for AI agents and agentic commerce: payouts, virtual account deposits, treasury movement, fiat off-ramping, and webhook reconciliation.
MCP (Model Context Protocol) is an open standard that provides a standardized way to connect AI applications to external tools and data sources. Think of it like a "USB-C port for AI" - any AI that supports MCP can use any MCP server.
This MCP server provides 55 tools across 12 categories, one for every operation documented on docs.stables.money(a contract test checks this, see below):
create_customer - Create individual or business customerscreate_customer_onboarding_link - Create a customer and a hosted verification link in one callget_customer - Get customer details and verification statuslist_customers - List all customersget_verification_link - Generate KYC verification linksupdate_customer - Update customer details and entitlementsupdate_customer_metadata - Update customer metadata key-value pairslist_available_entitlements - Products and rails a customer can still apply forrequest_entitlements - Apply for entitlements (e.g. aed_local) for an existing customersubmit_entitlement_requirements - Send the extra verification Stables asks forlist_rfis - The organisation's RFIs: what compliance needs before it releases a held payment or verificationlist_customer_rfis - One customer's RFIsget_rfi - One RFI, its requirements and how to answer eachget_rfi_evidence_form - The form an evidence requirement asks forsubmit_rfi_evidence - Send the answers and documents for an evidence requirementget_kyc_capabilities - Verification capabilities a customer holdsadd_document - Attach an invoice, contract or other document to a transfer or a depositlist_documents - Documents on a transfer or a depositget_document_download_url - Short-lived download link for a documentdelete_document - Remove a documentcreate_quote - Get exchange rate quotes (USDC/USDT to fiat)get_quote - Check quote status and detailsvalidate_payment_method - Check payout details against a corridor's rules before transferringcreate_transfer - Execute a transfer using an active quote, paid by deposit or from your balanceget_transfer - Check transfer statuslist_transfers - List transfers with filterslist_beneficiaries - Saved recipients and bank accounts, to pay by id with create_transferget_beneficiary - One beneficiary's details and whether it still passes today's payout rulescreate_beneficiary - Save a recipient and bank account (validated like a transfer)archive_beneficiary - Archive a beneficiary so it can no longer be paidcreate_virtual_account - Create virtual bank accounts for fiat depositslist_virtual_accounts - List virtual accounts for a customer, or across all customersupdate_virtual_account - Update virtual account settingsregister_route_payid - Register a PayID on an AUD payment routeget_virtual_account_history - Get deposits and their payouts for a payment routeupdate_route_destination - Change the payout wallet on an existing routelist_route_whitelist / add_route_whitelist_account / update_route_whitelist_account - Source-account whitelisting for AUD routesget_balance - Your organisation's balance per asset and networkget_balance_wallet / create_balance_wallet - The deposit wallet that tops up the balancelist_balance_activity - Deposits credited to the balancelist_pending_balance_deposits - Deposits held before crediting, and whylist_whitelisted_wallets - Wallets allowed to fund the balancesimulate_route_deposit - Simulate a fiat deposit into a payment route (sandbox only)simulate_transfer_deposit - Simulate the inbound crypto an off-ramp transfer awaits (sandbox only)create_api_key - Create a new API keylist_api_keys - List all API keysget_api_key - Get API key detailsrevoke_api_key - Revoke an API keycreate_webhook - Subscribe to events via webhooklist_webhooks - List all webhook subscriptionsdelete_webhook - Delete a webhook subscriptionlist_webhook_deliveries - Recent delivery attempts, status codes and retry stateThe server runs as a hosted service, so there is nothing to install. Point your MCP client at:
https://mcp.stables.money/mcpand either send your Stables API key as a bearer token or sign in with OAuth. The key you get during onboarding is all you need: a sti_test_… key reaches sandbox, a sti_live_… key reaches production and moves real money. Clients that can't hold a key (Claude.ai, ChatGPT) sign in instead; see below.
claude mcp add --transport http stables https://mcp.stables.money/mcp --header "Authorization: Bearer ${STABLES_API_KEY}"url field{
"mcpServers": {
"stables": {
"url": "https://mcp.stables.money/mcp",
"headers": {
"Authorization": "Bearer sti_test_..."
}
}
}
}[mcp_servers.stables]
url = "https://mcp.stables.money/mcp"
bearer_token_env_var = "STABLES_API_KEY"Add https://mcp.stables.money/mcp as a custom connector with no key. The client discovers the server's OAuth endpoints, registers itself, and sends you to a Stables page that asks two things: whether to connect sandbox or production, and permission for that client. You then sign in with your Stables dashboard account (and pick an organisation if you belong to several).
You choose Read only (the default) or Read and make changes; with read only, the agent can look but every tool that changes something is refused until you reconnect and allow changes. Agents connected this way can never create or revoke API keys. Every tool is labelled read-only or destructive, so clients such as Claude ask you before each change. Auth0 asks for your credentials (and a second factor) every time (an existing browser session is never reused for an agent connection) and, when you belong to several organisations, which one to use. On success the server creates an API key in that organisation, named after the client and the account that signed in (for example Claude via MCP ([email protected])), and uses it for every call the client makes. Revoke it any time under Developer → API keys in the dashboard, which disconnects the client. Nothing else is stored: the sign-in token is used once to create the key and then dropped.
https://mcp.stables.money/mcp, leave the OAuth client fields on their defaults.https://mcp.stables.money/mcp, authentication OAuth.claude mcp add --transport http stables https://mcp.stables.money/mcp, then /mcp to sign in.The OAuth endpoints are standard: /.well-known/oauth-protected-resource/mcp, /.well-known/oauth-authorization-server, /authorize, /oauth/token, /oauth/register. Client ID Metadata Documents and dynamic registration are both accepted; PKCE (S256) is required.
The same server also runs as a local process over stdio, which is what npx stables-mcp-server does. Use this for a sti_local_… key against your own deployment, or when your client cannot reach the internet.
# Install from npm
npm install -g stables-mcp-server
# Or clone and build from source
git clone https://github.com/stables-money/mcp-server.git
cd mcp-server
npm install
npm run buildThe server requires the following environment variables:
| Variable | Required | Description |
|---|---|---|
STABLES_API_KEY | Yes | Your Stables API key |
STABLES_API_URL | No | API base URL. Defaults to the environment your key belongs to (see below). Must use HTTPS. |
Stables keys carry their environment: sti_test_… is a sandbox key, sti_live_… is a production key, and the API refuses a key that arrives at the wrong environment. So you don't have to set a URL — leave STABLES_API_URL unset and the key decides:
| Your key | Where requests go |
|---|---|
sti_test_… | https://api.sandbox.stables.money |
sti_live_… | https://api.stables.money — real money |
sti_local_… or anything else | production, unless you set STABLES_API_URL |
Setting STABLES_API_URL always wins, which is how you reach staging, dev or a local deployment.
Start with a sandbox key. An agent holding a live key can move real money on your behalf; see agent safety.
#### With Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"stables": {
"command": "npx",
"args": ["stables-mcp-server"],
"env": {
"STABLES_API_KEY": "your-api-key",
"STABLES_API_URL": "https://api.sandbox.stables.money"
}
}
}
}Then restart Claude Desktop.
#### With Cursor, Codex, ChatGPT, or another MCP client
Use the same command and environment variables in any MCP-compatible client:
{
"mcpServers": {
"stables": {
"command": "npx",
"args": ["stables-mcp-server"],
"env": {
"STABLES_API_KEY": "your-api-key",
"STABLES_API_URL": "https://api.sandbox.stables.money"
}
}
}
}Stables is financial infrastructure. Agents should create quotes, prepare payment objects, and reconcile webhooks, but should require explicit human approval before creating transfers or other money movement. Check customer KYC/KYB status and entitlements before transactional actions, and treat sanctions, unsupported jurisdiction, verification, or compliance failures as hard stops.
# Set environment variables
export STABLES_API_KEY=your-api-key
export STABLES_API_URL=https://api.sandbox.stables.money
# Run the inspector
npm run inspectSTABLES_API_KEY=your-api-key node build/index.jsUser: "Create a customer for [email protected] and get a quote to convert 1000 USDT to EUR"
AI (using MCP tools):
create_customer with email and typecreate_quote with source USDT + network, destination EUR + country, and destinationNetwork (swift or bank)User: "What's the status of all my pending transfers?"
AI (using MCP tools):
list_transfers with status=created or status=in_progress (statuses are lowercase)User: "Create a payment route for customer abc123 that pays AUD deposits out to my Polygon USDT wallet 0x..."
AI (using MCP tools):
create_virtual_account with the customer ID, AUD source currency, and the Polygon destination (the payout address is mandatory)User: "Pay 500 EUR to this German bank account"
AI (using MCP tools):
recipientType, a full address, and dateOfBirth for individuals — before doing anything elsecreate_quote, then create_transfer once a human approvesThe hosted server is the Cloudflare Worker in src/worker.ts (wrangler.toml). It needs:
OAUTH_KV: a KV namespace for OAuth clients, grants and tokens. Tokens and secrets are stored as hashes; a grant's API key is encrypted with a key only that grant's token can unwrap.MCP_PUBLIC_URL, AUTH0_DOMAIN, AUTH0_CLIENT_ID: the public origin, the Auth0 custom domain, and the "Stables MCP" regular-web application (callback https://mcp.stables.money/callback).AUTH0_CLIENT_SECRET: that application's secret.MCP_GATEWAY_SIGNING_SECRET: shared with the API gateway's IP authoriser. The Worker has no fixed egress IP, so it signs each forwarded request (X-Stables-Mcp-Signature), and production accepts the signature in place of the source-IP check. Without it, production calls through the hosted server are rejected by the gateway; sandbox is unaffected.wrangler secret put AUTH0_CLIENT_SECRET
wrangler secret put MCP_GATEWAY_SIGNING_SECRETWithout OAUTH_KV the Worker runs bearer-key only, which is how the unit tests exercise it.
# Watch mode for development
npm run dev
# Build for production
npm run build
# Run tests
npm test
# Run linter
npm run lint
# Format code
npm run format
# Test with MCP Inspector
npm run inspectstables-mcp-server/
├── src/
│ ├── index.ts # Main entry point
│ ├── lib/
│ │ ├── stables-client.ts # Stables API client (with retries, timeouts)
│ │ └── stables-client.test.ts
│ └── tools/
│ ├── customers.ts # Customer management tools (7)
│ ├── entitlements.ts # Entitlement tools (3)
│ ├── compliance.ts # RFI and KYC capability tools (6)
│ ├── documents.ts # Transfer and deposit document tools (4)
│ ├── quotes.ts # Quote tools (2)
│ ├── transfers.ts # Transfer tools (4)
│ ├── beneficiaries.ts # Saved beneficiary tools (4)
│ ├── virtual-accounts.ts # Payment route tools (9)
│ ├── balances.ts # Balance tools (6)
│ ├── api-keys.ts # API key tools (4)
│ ├── webhooks.ts # Webhook tools (3)
│ └── sandbox.ts # Sandbox deposit simulation (2)
├── package.json
├── tsconfig.json
├── vitest.config.ts
├── eslint.config.js
└── README.md#### create_customer Create a new customer for KYC and transfers.
| Parameter | Type | Required | Description | |
|---|---|---|---|---|
| string | Yes | Customer's email | ||
| customerType | "individual" \ | "business" | Yes | Type of customer |
| firstName | string | No | First name (for individuals) | |
| lastName | string | No | Last name (for individuals) | |
| companyName | string | No | Company name (for businesses) | |
| entitlements | string[] | No | Entitlements to request (e.g., ["base_payout", "virtual_account"]) |
#### get_customer Get customer details.
| Parameter | Type | Required | Description |
|---|---|---|---|
| customerId | string | Yes | Customer ID |
#### list_customers List all customers for the authenticated tenant. No parameters required.
#### get_verification_link Generate a KYC verification link.
| Parameter | Type | Required | Description |
|---|---|---|---|
| customerId | string | Yes | Customer ID |
| ttlInSecs | number | No | Link expiry in seconds (default: 1800) |
| successUrl | string | No | Redirect URL after successful verification |
| rejectUrl | string | No | Redirect URL after rejected verification |
#### update_customer Update customer details or entitlements.
| Parameter | Type | Required | Description |
|---|---|---|---|
| customerId | string | Yes | Customer ID |
| string | No | Updated email | |
| phone | string | No | Updated phone |
| firstName | string | No | Updated first name |
| lastName | string | No | Updated last name |
| entitlements | string[] | No | Updated entitlements |
#### update_customer_metadata Update customer metadata key-value pairs.
| Parameter | Type | Required | Description |
|---|---|---|---|
| customerId | string | Yes | Customer ID |
| metadata | object | Yes | Key-value pairs to set |
#### create_quote Get a quote for currency exchange (crypto to fiat).
| Parameter | Type | Required | Description | ||
|---|---|---|---|---|---|
| fromCurrency | "USDC" \ | "USDT" | Yes | Source cryptocurrency | |
| fromAmount | string | Yes | Amount to convert | ||
| fromNetwork | "ethereum" \ | "polygon" \ | "polygon-amoy" | Yes | Blockchain network |
| toCurrency | string | Yes | Destination currency (e.g., "EUR") | ||
| toCountry | string | Yes | Destination country code (e.g., "GR") | ||
| paymentMethodType | "SWIFT" \ | "LOCAL" | Yes | Payment method for payout |
#### get_quote Get quote details.
| Parameter | Type | Required | Description |
|---|---|---|---|
| quoteId | string | Yes | Quote ID |
#### create_transfer Execute a transfer from a quote.
| Parameter | Type | Required | Description | ||
|---|---|---|---|---|---|
| customerId | string | Yes | Customer ID | ||
| quoteId | string | Yes | Quote ID to execute | ||
| accountHolderName | string | No | Bank account holder name | ||
| iban | string | No | IBAN | ||
| accountNumber | string | No | Bank account number | ||
| bankName | string | No | Bank name | ||
| bankCountry | string | No | Bank country code | ||
| bankCurrency | string | No | Payout currency | ||
| accountType | "savings" \ | "checking" \ | "payment" | No | Account type |
| swiftCode | string | No | SWIFT/BIC code | ||
| routingNumber | string | No | ABA routing number (US) | ||
| sortCode | string | No | Sort code (UK) | ||
| ifscCode | string | No | IFSC code (India) | ||
| bsbCode | string | No | BSB code (Australia) |
#### get_transfer Get transfer status.
| Parameter | Type | Required | Description |
|---|---|---|---|
| transferId | string | Yes | Transfer ID |
#### list_transfers List transfers with filters.
| Parameter | Type | Required | Description |
|---|---|---|---|
| status | string | No | Filter by status |
| type | string | No | Filter by type |
| customerId | string | No | Filter by customer |
| pageSize | number | No | Results per page |
| pageToken | string | No | Pagination token |
#### create_virtual_account Create a virtual bank account.
| Parameter | Type | Required | Description |
|---|---|---|---|
| customerId | string | Yes | Customer ID |
| sourceCurrency | string | Yes | Currency (e.g., "USD") |
| depositHandlingMode | string | No | "auto_payout", "hold", or "manual" |
| destinationAddress | string | No | Crypto wallet address |
| destinationPaymentRail | string | No | Blockchain network |
| destinationCurrency | string | No | Stablecoin (default: "usdc") |
#### list_virtual_accounts List virtual accounts for a customer.
| Parameter | Type | Required | Description |
|---|---|---|---|
| customerId | string | Yes | Customer ID |
| status | string | No | Filter by status |
| limit | number | No | Max results |
#### update_virtual_account Update virtual account settings.
| Parameter | Type | Required | Description |
|---|---|---|---|
| customerId | string | Yes | Customer ID |
| virtualAccountId | string | Yes | Virtual account ID |
| depositHandlingMode | string | Yes | New deposit handling mode |
#### get_virtual_account_history Get activity history for a virtual account.
| Parameter | Type | Required | Description |
|---|---|---|---|
| customerId | string | Yes | Customer ID |
| virtualAccountId | string | Yes | Virtual account ID |
| limit | number | No | Max events to return |
| eventType | string | No | Filter by event type |
#### create_api_key Create a new API key.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Descriptive name for the key |
| metadata | object | No | Optional metadata |
#### list_api_keys List all API keys.
| Parameter | Type | Required | Description |
|---|---|---|---|
| pageSize | number | No | Results per page |
| pageToken | string | No | Pagination token |
#### get_api_key Get API key details.
| Parameter | Type | Required | Description |
|---|---|---|---|
| apiKeyId | string | Yes | API key ID |
#### revoke_api_key Revoke an API key (permanent).
| Parameter | Type | Required | Description |
|---|---|---|---|
| apiKeyId | string | Yes | API key ID |
#### create_webhook Subscribe to events via webhook.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Webhook name |
| url | string | Yes | HTTPS endpoint URL |
| eventTypes | string[] | Yes | Events to subscribe to |
| secret | string | No | HMAC-SHA256 signing secret |
Available event types:
WEBHOOK_EVENT_TYPE_CUSTOMER_CREATEDWEBHOOK_EVENT_TYPE_CUSTOMER_UPDATEDWEBHOOK_EVENT_TYPE_KYC_STATUS_CHANGEDWEBHOOK_EVENT_TYPE_PAYMENT_CREATEDWEBHOOK_EVENT_TYPE_PAYMENT_STATUS_CHANGEDWEBHOOK_EVENT_TYPE_QUOTE_CREATEDWEBHOOK_EVENT_TYPE_QUOTE_EXPIREDWEBHOOK_EVENT_TYPE_VA_DEPOSIT_RECEIVEDWEBHOOK_EVENT_TYPE_VA_PAYOUT_COMPLETEDWEBHOOK_EVENT_TYPE_VA_PAYOUT_FAILEDWEBHOOK_EVENT_TYPE_ALL#### list_webhooks List all webhook subscriptions. No parameters required.
#### delete_webhook Delete a webhook subscription.
| Parameter | Type | Required | Description |
|---|---|---|---|
| webhookId | string | Yes | Webhook subscription ID |
MIT
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.