Inside SolCard MCP: Apps, Real-Time Events, and Skills
How we redesigned SolCard MCP around 11 unified tools, 7 sandboxed ui:// MCP Apps, SEP-3415 signed real-time events, and SHA-256 Agent Skills.

In this article
We consolidated SolCard MCP from 18 to 24 legacy endpoints down to 11 model-visible tools, 7 sandboxed ui://solcard/*.html MCP Apps, 5 zero-PII real-time events under SEP-3415 (io.modelcontextprotocol/events), and SHA-256 verified Agent Skills under SEP-2640 (io.modelcontextprotocol/skills), all behind dark feature flags that are live on staging and rolling out progressively to production accounts.
Shipping an MCP server for a real payment platform looks different from wrapping a read-only REST API. After watching real sessions across Claude, Cursor, and custom MCP clients, we hit four recurring failure modes: overlapping tools confused model selection, plain-text deposit addresses caused copy errors, agents polled blindly waiting for on-chain deposits, and every client had to guess our onboarding sequence. Here is how we fixed each one without weakening card-secret isolation on our crypto debit card platform.
Because SolCard handles real card balances across 13 networks and 150M+ merchants worldwide, new MCP surfaces ship dark behind backend feature flags, soak on staging end to end, and roll out progressively to production accounts.
| Capability | Protocol / Identifier | Rollout status |
|---|---|---|
| Remote Streamable HTTP server + OAuth 2.1 DCR + PKCE | https://api.solcard.cc/mcp and /mcp/directory | Live in production |
| Official MCP Registry, Glama Connectors & Claude Code plugin | cc.solcard/mcp, SolCardDev/solcard-mcp | Live in production |
Web Agent Skill Discovery (/.well-known/agent-skills) | https://app.solcard.cc/.well-known/agent-skills/index.json | Live in production |
| Unified 11-tool surface + 2 app-only tools | mcp-unified-tools flag (tools/list dynamic) | Live on staging; rolling out progressively to prod |
| 7 Interactive MCP Apps views | ui://solcard/*.html (text/html;profile=mcp-app) | Live on staging; rolling out progressively to prod |
| Official MCP Skills Extension | io.modelcontextprotocol/skills (SEP-2640) | Live on staging; rolling out progressively to prod |
| Customer-Facing MCP Events (webhooks, SSE push, cursor poll) | io.modelcontextprotocol/events (SEP-3415 Beta, mcp-events) | Live on staging; rolling out to prod next |
Every client negotiates capabilities dynamically via tools/list, resources/list, and server/discover, so existing connections keep working as flags advance.
Our first MCP release exposed separate tools for every action: freeze_card, unfreeze_card, set_card_nickname, get_card_activity, search_card_activity, get_spending_summary, explain_decline, get_perma_addresses, create_perma_addresses, create_invoice, list_deposits, get_invoice, and get_deposit_status.
Two things broke in real sessions. First, tool bloat hurt selection accuracy: models routinely called create_invoice when a user simply wanted a reusable deposit address, or pulled unfiltered transactions when they needed a decline explanation. Second, adding onboarding, verification status, and deposit options pushed the legacy surface to 24 tools, burning prompt tokens on every turn.
On the unified surface (mcp-unified-tools), the model sees 11 tools (plus 2 app-only tools with _meta.ui.visibility = ["app"] that only sandboxed widgets can call):
| Tool | Scope | Replaces / Consolidates | Interactive MCP App View |
|---|---|---|---|
get_account | cards:write | Account status, verification state, and next steps | ui://solcard/verification.html |
list_card_types | cards:read | Card catalog plus optional per-card crypto payment options | ui://solcard/card-types.html |
create_card | cards:write | Automatic cardholder setup + idempotent card order checkout | ui://solcard/invoice-payment.html |
fund_card | perma:write | Creates and returns reusable per-slot deposit addresses safely | ui://solcard/fund-card.html |
get_deposits | invoices:read | Recent deposits, in-flight confirmations, or one checkout invoice | Text + widget polling |
list_cards / get_card | cards:read | Card slots, statuses, nicknames, last 4 digits, available balance | ui://solcard/cards.html |
update_card | cards:manage | freeze_card, unfreeze_card, and set_card_nickname in one patch | ui://solcard/cards.html |
reveal_card | cards:reveal | Single-use 15-second card-detail viewer (zero PAN in model context) | ui://solcard/card-reveal.html |
get_activity | activity:read | view: "transactions", "summary", or "decline" in one schema | ui://solcard/activity.html |
get_guide | cards:read | Built-in workflow guides (getting-started, verification, etc.) | Markdown guide |
Under the hood, fund_card is idempotent and preserves bound card types (keepBoundVid: true), so repeating a call never rebinds a slot or creates stray invoices. Likewise, create_card enforces idempotencyKey replay and open-order guards: retrying the same key returns the exact open invoiceId, and every refusal emits a closed error code (such as VERIFICATION_REQUIRED or NO_FREE_SLOT) instead of leaking raw upstream messages.
Text-only replies are a bad fit for payment flows. Copying a 44-character Solana address out of a markdown table invites mistakes, and explaining why a card failed works faster when you tap the declined row right inside the transaction list.
We built 7 self-contained HTML bundles served as text/html;profile=mcp-app resources that talk to the host client over the MCP Apps JSON-RPC postMessage bridge (ui/initialize -> ui/notifications/tool-result -> tools/call):

Every widget ships with <meta name="referrer" content="no-referrer">, pins csp.connectDomains strictly to the SolCard API origin, forbids innerHTML, eval, and external <script src>, and renders QR codes as pure inline SVG (data:image/svg+xml) so no deposit address ever touches a third-party QR host.
Both mint_card_reveal (ui://solcard/card-reveal.html) and mint_verification_session (ui://solcard/verification.html) are restricted to _meta.ui.visibility = ["app"]. Text-only clients get a clean MCP_APPS_UI_REQUIRED refusal with a link to the SolCard web app, while UI-capable clients mint a single-use token inside the sandboxed iframe.
Inside ui://solcard/activity.html, switching tabs between Transactions and Spending or clicking a declined row calls get_activity straight over the widget bridge without burning another model turn.

Previously, if a user sent 150 USDC on Solana to top up a card or hit a balance decline, an agent had no way to know until the human asked again. Polling get_deposits every five seconds wastes rate limits and tokens.
To fix that, we implemented the official MCP Events Extension (io.modelcontextprotocol/events, SEP-3415 Beta, wire-compatible with Vercel Connect MCP Events and AI SDK experimental_events) behind the mcp-events flag.

Every event reuses your existing OAuth scopes (no extra consent checkbox required) and omits PAN, CVV, expiry, last 4 digits, and free-text merchant strings:
deposit.detected(invoices:read): an incoming on-chain deposit appeared on a slot's reusable deposit address.deposit.credited(invoices:read): funds cleared and loaded onto the card balance.verification.status_changed(cards:write): full-access identity verification moved topending,on_hold,approved, orrejected.card.status_changed(cards:read): a card settled intoACTIVE,FROZEN,CANCELED, orFAILED.card.declined(activity:read): an authorization failed on a prepaid slot, carrying a structured reason code and USD amount.
All five events run on the same underlying feed and support three delivery transports:
- Signed webhooks (
events/subscribeandevents/unsubscribe) enforce HTTPS-only URLs, DNS resolution with private-IP SSRF blocking, and zero redirects. Deliveries carry Standard Webhooks HMAC-SHA256 signatures with dual-signature secret rotation, pass an initial verification challenge, and retry 5xx errors with exponential backoff using the originalwebhook-id. - Live SSE push (
events/streamonPOST /mcp) emitsnotifications/events/event, periodic heartbeats, and immediatenotifications/events/terminated(code: -32024) when a user revokes access. Active streams are capped via Valkey leases (12 per user, 500 global). - Cursor polling (
events/listandevents/poll) lets stateless workers pass an opaquecursor(such asv1.18.1796067341406) to catch up cleanly after downtime.
Tools tell an agent what it can call; skills tell it how to sequence them safely. We publish the SolCard skill across three synchronized layers so every client reads the same workflow:
- In-protocol MCP Skills (
io.modelcontextprotocol/skills, SEP-2640) appear inserver/discoverwhenmcp-unified-toolsis active, exposingskills/list,skills/get, and 5 SHA-256 verifiedskill://solcard/*Markdown files (SKILL.mdplus targeted references for verification, ordering, funding, and card management). - Web Agent Skill Discovery is live in production at
https://app.solcard.cc/.well-known/agent-skills/index.json(publishingsolcard-apiandsolcard-mcpwithsha256:3a44c81f...digests), paired withhttps://www.solcard.cc/.well-known/mcp/server-card.jsonfor zero-config endpoint discovery. - Our public repository SolCardDev/solcard-mcp ships both the Claude Code marketplace plugin (
/plugin install solcard@solcard) and theskills.shpackage (npx skills add SolCardDev/solcard-mcp --skill solcard).
Moving payment workflows into AI clients only holds up when security lives on the server rather than in prompt text.

Three invariants are enforced by automated tests across the backend:
- Profile and tenant isolation keeps
/mcp/directorystrictly separated fromio.modelcontextprotocol/events,io.modelcontextprotocol/skills,reveal_card, and payment creation. Cross-user polling or unsubscribe attempts return0events or-32023. - Card-secret assertions verify that zero tool responses, event payloads, or structured logs contain PAN, CVV, or expiry fields.
- Explicit human approval governs every dollar: just like our 3D Secure card payment flows, SolCard keeps the human in control of money movement. SolCard cards are prepaid Visa and Mastercard debit cards (not credit cards) funded when you send crypto from your wallet; see SolCard fees, Virtual for AI & Ad Spend, and SolCard reviews for card pricing and customer feedback.
Ready to connect your own assistant? Follow the step-by-step client guide in Connect SolCard MCP to Claude, Cursor, and ChatGPT, or explore how builders spend crypto on AI tools in our Q4 2026 AI spending report and ChatGPT Wallet breakdown.
Remote HTTP MCP with OAuth 2.1 DCR, /mcp/directory, Official MCP Registry (cc.solcard/mcp), Glama Connectors, SolCardDev/solcard-mcp, and /.well-known/agent-skills/index.json are live in production today. The unified 11-tool surface, 7 interactive MCP Apps views, SEP-2640 Skills extension (mcp-unified-tools), and SEP-3415 Events (mcp-events) are live at 100% on staging and rolling out progressively to production accounts.
Every get_activity tool description explicitly marks merchant names and descriptions as untrusted third-party data rather than instructions. Inside the 7 ui://solcard/*.html MCP Apps, strict CSP headers block external scripts and network origins, and the DOM renderer uses zero innerHTML or eval.
Yes. SolCard's SEP-3415 webhook delivery uses Standard Webhooks HMAC-SHA256 signatures with dual-signature secret rotation and challenge verification, making it wire-compatible with Vercel Connect MCP Events (@vercel/connect/mcp) as well as any HTTPS endpoint that verifies Standard Webhooks headers.
Marking them _meta.ui.visibility = ["app"] keeps short-lived reveal tokens and verification session tokens inside the sandboxed MCP App iframe so the language model never sees or logs them. Text-only clients receive a safe fallback link to the SolCard dashboard instead.
SolCard checks grant liveness every 30 seconds on active SSE streams. When you click Revoke in Account -> Connected Agents, the stream emits notifications/events/terminated with code -32024 (Access revoked) and closes cleanly.
Verified public endpoints, standards, and protocol references
- SolCard MCP Overview and Tool Reference
- SolCard MCP Server Card (
/.well-known/mcp/server-card.json) - SolCard Web Agent Skills Index (
/.well-known/agent-skills/index.json) - SolCardDev/solcard-mcp Plugin & Agent Skill Repository
- Model Context Protocol Specification
- Standard Webhooks Specification
- SolCard Fee Schedule




