DeckOfCardsMCP

rsc1102/DeckOfCardsMCP

3.2

If you are the rightful owner of DeckOfCardsMCP and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Deck of Cards MCP Server provides an interface to interact with the deckofcardsapi.com through an MCP server using FastMCP.

Tools

Functions exposed to the LLM to take actions

create_deck

Create a new deck, optionally combining multiple decks.

create_partial_deck

Build a deck limited to specific card codes.

shuffle_deck

Shuffle an existing deck, with the option to only shuffle remaining cards.

draw_cards

Draw one or more cards from a deck.

get_deck_state

Retrieve the current deck metadata.

add_to_pile

Move specified cards into a named pile.

draw_from_pile

Draw explicit cards, or use position (top, bottom, random) with an optional count.

list_pile_cards

Inspect the cards stored in a pile.

shuffle_pile

Shuffle the cards stored in a pile.

return_cards

Return cards from the deck or a pile back to the main deck.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources