Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Deck of Cards API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fdeckofcardsapi.com%2Fdeckofcardsapi" | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fdeckofcardsapi.com%2Fdeckofcardsapi" | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with Deck of Cards API.
Create a new deck, optionally shuffled, partial, multiple, or with Jokers
Shuffle or reshuffle a deck by its deck id
Draw cards from a deck and read each card's image URL
Organize drawn cards into named piles and list a pile's cards
Draw cards from the top, bottom, or at random from a pile
GET STARTED
Return drawn cards to the deck
Patterns agents use Deck of Cards API for, with concrete tasks.
★ Agent-Run Card Game Logic
An AI agent connected through Jentic runs the deal-and-draw logic of a card game by creating a shuffled deck, drawing hands, and tracking each player's cards in a named pile. Because the API returns a stable deck id and an image for every card, the agent can keep game state and render the table without implementing shuffling itself.
Create a shuffled deck, draw a five-card hand into a named pile, and list that pile to confirm the hand
Shuffle and Draw for Prototyping
A developer prototyping a game or demo creates a shuffled deck in one call and draws cards as needed, with options for partial decks, multiple decks, or Jokers. The no-auth design means the prototype works with no sign-up, and decks are discarded after two weeks of inactivity so there is nothing to clean up.
Create a shuffled deck with two decks and Jokers, then draw ten cards and report what was drawn
Pile-Based Hand Management
A multiplayer tool deals from one deck and keeps each player's hand in a separate named pile, drawing from the top, bottom, or at random as the game requires. Piles can be listed and shuffled independently, so the tool manages several hands against a single deck id.
Deal three cards each into two named piles from one deck and list both piles to show each hand
14 endpoints — the deck of cards api simulates one or more decks of playing cards and returns an image for every card it deals.
METHOD
PATH
DESCRIPTION
/deck/new/shuffle/
Create a new shuffled deck
/deck/{deck_id}/draw/
Draw cards from a deck
/deck/{deck_id}/shuffle/
Reshuffle a deck
/deck/{deck_id}/pile/{pile_name}/add/
Add cards to a pile
/deck/{deck_id}/pile/{pile_name}/list/
List cards in a pile
/deck/{deck_id}/return/
Return drawn cards to the deck
/deck/new/shuffle/
Create a new shuffled deck
/deck/{deck_id}/draw/
Draw cards from a deck
/deck/{deck_id}/shuffle/
Reshuffle a deck
/deck/{deck_id}/pile/{pile_name}/add/
Add cards to a pile
/deck/{deck_id}/pile/{pile_name}/list/
List cards in a pile
/deck/{deck_id}/return/
Return drawn cards to the deck
What agents get from Jentic-routed access to this vendor.
Setup
Wiring the Deck of Cards API by hand still means reading its base path, its deck lifecycle, and the convention that every endpoint takes its parameters as either GET query parameters or POST form fields. Through Jentic you install once, import the Deck of Cards API from the API Directory, and your agent calls it.
Permission scoping
The Deck of Cards API puts the deck id in the URL path (/deck/{deck_id}/...), so a rule can pin your agent to one deck and the operations you pick, such as drawing cards and listing piles. You choose the operations it may call, so a full reshuffle is not included unless you add it.
Credential isolation
The Deck of Cards API is public and needs no key or token, so there is nothing for Jentic to store or inject. Your agent calls it directly through your own Jentic One instance, which still logs every call it makes.
Intent-based discovery
Agents search Jentic by intent such as 'shuffle a new deck' or 'draw cards from a deck', and Jentic returns the matching Deck of Cards operation with its input schema so the agent calls the right endpoint without reading the reference docs.
Alternatives and complements available in the Jentic catalogue.
Specific to using Deck of Cards API through Jentic.
Does the Deck of Cards API require authentication?
No. The Deck of Cards API is a free, public, no-auth service per its OpenAPI spec, so no key or token is needed. Through Jentic your agent calls it directly, with the same operation scoping and audit log as any other API in your directory.
Can I draw cards and build piles with the Deck of Cards API?
Yes. Create a deck, shuffle it, and draw cards, each returned with an image URL, then move drawn cards into named piles that you can list, shuffle, and draw from independently. Drawn cards can also be returned to the deck.
Can I limit what my agent is allowed to do with the Deck of Cards API?
Yes. The deck id sits in the URL path, so write a rule that allows only the draw and pile-listing operations against one deck, letting your agent deal and read hands but not reshuffle or create new decks, and every call it makes is logged. Add the shuffle and new-deck operations when you want the agent to start fresh games too.
What are the rate limits for the Deck of Cards API?
The OpenAPI spec does not state rate limits for the Deck of Cards API. It is a free public service, so check the Deck of Cards documentation for any limits before relying on it at high volume.
How do I draw cards from a shuffled deck with the Deck of Cards API through Jentic?
Search Jentic for 'draw cards from a shuffled deck' and it returns the draw operation with its input schema; your agent creates a shuffled deck, draws the number of cards it needs, and reads each card's image URL. To run it on your own infrastructure, install Jentic One from its GitHub repo.
Is there a Deck of Cards MCP server?
You don't need an MCP server to give your agent the Deck of Cards API. Jentic connects it directly from the API Directory: import it and your agent calls the shuffle, draw, and pile operations, with no key required and scoping applied.
For Agents
Create and shuffle one or more decks of playing cards, draw cards with image URLs, organize them into named piles, and return them to the deck. A free, public, no-auth card simulator.
Use for: I need to create a new shuffled deck, Draw three cards from a deck, Shuffle a deck by its id, Add drawn cards to a named pile
Not supported: Does not handle real-money gaming, player accounts, or game scoring. Use for simulating shuffled card decks, draws, and piles only.
The Deck of Cards API simulates one or more decks of playing cards and returns an image for every card it deals. It creates and shuffles decks, optionally partial, multiple, or with Jokers, draws cards, organizes drawn cards into named piles, and returns cards to the deck. It is a free, public, no-auth service where every endpoint takes its parameters as either GET query parameters or POST form fields, and each deck is identified by a deck id and discarded after two weeks of inactivity.
This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.
Base layer of spec validity and structural soundness.
Aggregated quality score from linter diagnostics, weighted by severity.
Percentage of `$ref` references that resolve successfully.
Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).
Structural correctness score based on schema issues using logarithmic dampening.
Clarity, completeness, and ingestion readiness for developers and tooling.
How richly the API is illustrated with examples.
Percentage of examples that conform to their schemas.
Percentage of operations with complete response definitions (success, client error, server error).
Health of API ingestion, bundling, and resolution within Jentic pipelines.
Semantic breadth, depth, and agent comprehension for AI systems.
Coverage of descriptions across API elements.
Coverage of RFC 9457 Problem Details for error responses.
Coverage, uniqueness, and casing consistency of operationIds for AI inference.
Coverage of summaries across operations/tags/info.
Functional utility, complexity comfort, and AI orchestration readiness.
Agent comfort level based on API operational and structural complexity.
Trust, risk posture, and security compliance.
Average quality of security schemes based on authentication method strength (weakest link for OAuth2).
Findability, semantic richness, and reasoning readiness.
Clarity and depth of descriptions across API elements.
Score it yourself
Every API in the directory is allowlisted, so you can re-score it with no key required.
npx @jentic/api-scorecard-cli score <openapi-url>