Connect your agent to Cardia over MCP.
Claude, Cursor or ChatGPT create and operate cards on their own — always within the scope you define. You talk in natural language, Cardia executes, and the authorizer decides.
$ claude mcp add --transport http cardia https://cardia.digital/api/mcp --header "Authorization: Bearer <your-token>"
One line in Claude Code and you're set: the hosted MCP is live in production. Each client uses ITS OWN token in the Authorization header.
> Create a $25 card for my OpenAI subscription
● create_card (amount 25, currency USD)
● grant (merchant OpenAI, max 25, ttl 30d)
✓ Card ready: •••• 3119 · $25 USD · scope OpenAI
> Pay the subscription
● authorize_payment (merchant OpenAI, amount 20)
✓ APPROVED · OpenAI · $20 USD
> Now pay $300 at Steam
● authorize_payment (merchant Steam, amount 300)
✗ REJECTED · no grant for Steam ▋
Option 1 — Hosted MCP (HTTP)
The MCP server lives at https://cardia.digital/api/mcp. Nothing to install: point your client there and authenticate with your token in the Authorization: Bearer header. The token is never stored on the server — it travels per request.
Don't have an account or a token yet? Create your account →
https://cardia.digital/api/mcpAuthorization: Bearer <your-token>For clients that support MCP over HTTP (Cursor, Claude Desktop, etc.), paste this into the config:
{
"mcpServers": {
"cardia": {
"type": "http",
"url": "https://cardia.digital/api/mcp",
"headers": {
"Authorization": "Bearer <your-token>"
}
}
}
}Option 2 — Local setup (npx cardia mcp)
If you'd rather run the MCP server on your machine (stdio), the CLI ships with it:
Install the CLI (or use npx directly)
$ npm install -g cardia
Get your token
$ export CARDIA_API_TOKEN=<your-token>
Add it to Claude Code in one line
$ claude mcp add cardia -- npx cardia mcp
For other clients, add this to the config and restart
{
"mcpServers": {
"cardia": {
"command": "npx",
"args": ["cardia", "mcp"],
"env": {
"CARDIA_API_URL": "https://cardia-api.emipanelli.com",
"CARDIA_API_TOKEN": "<your-token>"
}
}
}
}Compatible clients
The 12 tools it exposes
The agent works with a scoped tool set. The authorizer validates every purchase against the real merchant and amount — not what the model claims.
list_cardscreate_cardcheck_balanceset_limitfreeze_cardunfreeze_cardgrant_permissionlist_permissionsauthorize_paymentget_transactionscreate_purchase_cardreveal_cardOAuth: on the way
The hosted MCP already exists and authenticates with your token (Authorization: Bearer). Next up is OAuth: connect your account in one click, no token copying.
https://cardia.digital/api/mcpReady to give your agent a card?
Join the waitlist and try the authorizer live in the demo.