Deck of Cards (Unofficial)

v1.1.2
io.github.pipeworx-io/deckofcards Checked 4 days ago Published 19 days ago

Unofficial Deck of Cards MCP — wraps deckofcardsapi.com (free, no auth)

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

new_deck

Create a shuffled deck of playing cards. Returns deck_id and remaining count. Use deck_count to combine multiple decks (e.g., 2 for 104 cards).

ParameterTypeDescription
countnumberNumber of standard 52-card decks to combine and shuffle. Defaults to 1.

deckofcards_draw_cards

Draw cards from a deck. Returns card details (suit, value) and remaining count. Specify count to draw multiple cards at once.

ParameterTypeDescription
deck_id *stringThe deck ID returned by new_deck (e.g. "3p40paa87x90").
countnumberNumber of cards to draw. Defaults to 1.

shuffle_deck

Reshuffle a deck and reset all drawn cards back in. Returns updated remaining card count.

ParameterTypeDescription
deck_id *stringThe deck ID to shuffle (e.g. "3p40paa87x90").