4,500+ servers built on MCP Fusion
Vinkius
Deck of Cards logo
Vinkius
Claude Code logo

How to Use the Deck of Cards MCP in Claude Code

Run card simulations and build game backends from your terminal. A simple, scriptable API for any card-based logic in your Claude Code workflow.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

Deck of Cards MCP on Cursor AI Code Editor MCP Client Deck of Cards MCP on Claude Desktop App MCP Integration Deck of Cards MCP on OpenAI Agents SDK MCP Compatible Deck of Cards MCP on Visual Studio Code MCP Extension Client Deck of Cards MCP on GitHub Copilot AI Agent MCP Integration Deck of Cards MCP on Google Gemini AI MCP Integration Deck of Cards MCP on Lovable AI Development MCP Client Deck of Cards MCP on Mistral AI Agents MCP Compatible Deck of Cards MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
Claude Code

Connect Deck of Cards MCP to Claude Code

Create your Vinkius account to connect Deck of Cards to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Scriptable decks for backend tasks

This server gives you a scriptable card deck right in your terminal. Run a command with Claude Code to `shuffle_new_deck` and pipe the resulting JSON to `jq` to grab the deck ID. It's designed for automation. From there, you can build simple shell scripts for complex tasks. A single script can `create_new_deck`, `draw_cards` for multiple players, and use `add_to_pile` to set up a full game state. It's perfect for prototyping a game backend without writing any server code.

Manage game state for headless applications

You can run an entire game logic from the command line. Use the tools to manage player hands as `piles`. Your scripts can `draw_cards`, check hand values, and `return_to_deck` at the end of a round. It works as a simple, stateful service for your automated tasks. Because Claude Code can execute these tools, you can build simple cron jobs or daemons that run simulations. For example, run a Monte Carlo simulation for a card game by repeatedly calling `shuffle_new_deck` and `draw_cards` in a loop, logging the results to a file for analysis.

Generate test data in your CI/CD pipeline

This MCP server is a solid source for test data. In a GitHub Action or other CI environment, have Claude Code use `create_partial_deck` to generate a specific hand that you know should win or lose. Then, run your game's validation logic against it. This makes your tests more reliable. Instead of using a fixed seed for randomization, you can `reshuffle_deck` to test the true randomness of a game. Or, use `draw_from_pile_random` to ensure your logic correctly handles drawing from a messy discard pile.

Setup guide

Set up Deck of Cards MCP in Claude Code

Prerequisites

  • Claude Code CLI installed (npm install -g @anthropic-ai/claude-code)
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Run the add command

    Open your terminal and run the command shown on the right. Replace [YOUR_TOKEN_HERE] with your endpoint token from cloud.vinkius.com. Use --scope user to make it available across all projects.

  2. 2

    Verify the connection

    Start a Claude Code session and type /mcp to list connected servers. You should see deck-of-cards-mcp with a green status indicator.

  3. 3

    Start using tools

    Ask Claude Code something like "Check my latest Deck of Cards transactions." It will automatically discover and invoke the available Deck of Cards tools.

Terminal
claude mcp add --transport http deck-of-cards-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp

Why Choose Vinkius

Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.

Real-time monitoring

Live

visibility into every interaction

Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.

Built-in savings

60%

lower AI costs

Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.

Single dashboard

One

place for every integration

Every tool your AI connects to, managed from a single screen. One account, complete control.

Common questions about Deck of Cards MCP in Claude Code

You can call the tools directly from your CI scripts via Claude Code. For example, use `create_partial_deck` to set up a specific test case for your game logic, then pipe the output to your test runner. It's a reliable way to generate test data.
Yes. Each time you run `create_new_deck` or `shuffle_new_deck`, you get a unique `deck_id`. You can manage as many of these as you need, making it easy to script scenarios with multiple decks.
The `shuffle_new_deck` tool. It creates and shuffles a deck in a single step. Just run it through Claude Code and you'll get back a JSON object with the `deck_id` and confirmation that it's been shuffled.
Yes, everything returns clean JSON. This makes it easy to pipe the output to command-line tools like `jq` for parsing or to use the output directly in your shell scripts.
Only the commands to manipulate cards, like 'draw 2 cards from deck_id xyz'. The server is completely unaware of your shell environment, your scripts, or what you do with the JSON data it returns. The Vinkius platform ensures each request is isolated.

Start using the Deck of Cards MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 13 tools

We've already built the connector for Deck of Cards. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 13 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.