CardOS MCP Server
OfficialClick 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., "@CardOS MCP ServerWhat card products are available?"
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.
CardOS MCP Server
Issue and manage virtual cards from any AI assistant — over the Model Context Protocol.
cardos-mcp connects CardOS to Claude, Cursor, Windsurf, VS Code and any MCP client. Point your assistant at it and ask, in plain language, to check a balance, issue a card, pull transactions, file a dispute, or start KYC.
It's a thin, safe client over the public CardOS REST API: no provider internals, no secrets in the repo, money operations are idempotent, card details stay masked, and a cms_sk_test_… key runs in sandbox (no real money).
Quick start
Get an API key → cardos.dev/partner/developers (a
cms_sk_test_…key = sandbox).Run it — published to npm:
CARDOS_API_KEY=cms_sk_test_xxx npx -y cardos-mcp…or straight from source:
git clone https://github.com/CMSCardOS/cardos-mcp && cd cardos-mcp
npm install && npm run build
CARDOS_API_KEY=cms_sk_test_xxx node dist/index.jsRelated MCP server: payclaw-mcp
Add to your client
Drop this into your client config (env holds your key — see examples/ for Claude Desktop, Cursor, Windsurf and VS Code):
{
"mcpServers": {
"cardos": {
"command": "npx",
"args": ["-y", "cardos-mcp"],
"env": { "CARDOS_API_KEY": "cms_sk_test_xxx" }
}
}
}Client | Config file |
Claude Desktop |
|
Cursor |
|
Windsurf |
|
VS Code |
|
Tools (26)
Tool | Description |
| Card products: code, currency, limits, KYC requirement |
| Per-merchant pricing |
| End-user available balance |
Tool | Description |
| Issue a virtual card (idempotent; sandbox with a test key) |
| Masked details (last4, expiry, status) |
| Lifecycle (idempotent) |
| Set a 4-digit PIN (not stored by CardOS) |
| Spend limits + blocked MCC/countries (auto-freeze on breach) |
| One-time hosted PAN/CVV link (PCI on CardOS) |
| Hosted manage + transactions screens for the end user |
| Transactions (amount, FX, commission, merchant, MCC, decline) |
Tool | Description |
| Crypto deposit invoice (idempotent) |
| [sandbox] confirm a pending deposit |
| [sandbox] inject a test transaction |
Tool | Description |
| Statement (spent/received/fees + lines) |
| Spending by category |
| Disputes |
| Hosted KYC flow |
| Signed outbound events |
Resources & prompts
Resources —
cardos://docs(auth/idempotency/webhooks orientation) andcardos://openapi(the live OpenAPI 3 spec). Clients can read these for context.Prompts —
issue_card_for_user(guided end-to-end issuance) andintegrate_cardos(integration walkthrough).
Example prompts
"What card products are available?" →
list_products"Issue a sandbox card for user 123456, then show its details." →
issue_card→get_card"Top up user 123456 with $100 and confirm it." →
create_deposit→confirm_deposit_sandbox"Freeze card
<id>and set a $50 daily limit." →freeze_card→set_card_controls
Safety
Sandbox-first — a
cms_sk_test_…key never moves real money.No secrets in the repo — the key lives in your client config / env.
Idempotent money ops —
issue_card/create_depositwon't double-apply on retry.Masked card data — full PAN/CVV only via a one-time hosted link, never through this server or the model.
See SECURITY.md.
Configuration
Env var | Default | Description |
| — | Your CardOS API key (required). |
|
| Override the API base. |
Develop
npm install
npm run build # tsc → dist/
npm test # vitest (network mocked)
npm run typecheckSee CONTRIBUTING.md.
Links
CardOS — https://cardos.dev
Docs — https://cardos.dev/docs · Reference — https://cardos.dev/reference · OpenAPI — https://cardos.dev/openapi-v1.yaml
FAQ — FAQ.md · Changelog — CHANGELOG.md
Model Context Protocol — https://modelcontextprotocol.io
License
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/CMSCardOS/cardos-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server