← 返回
未分类 中文

Pipeworx deckofcards

Virtual card deck — shuffle, draw, and manage playing cards via the Deck of Cards API
虚拟扑克牌组——通过 Deck of Cards API 进行洗牌、抽牌和牌组管理。
brucegutman
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 361
下载
💾 0
安装
1
版本
#latest

概述

Deck of Cards

A virtual deck of playing cards. Create and shuffle decks, draw cards, and reshuffle — all tracked server-side with a persistent deck ID. Supports combining multiple 52-card decks for games like Blackjack.

Tools

ToolDescription
-------------------
new_deckCreate and shuffle a new deck (optionally combine multiple decks). Returns a deck_id
draw_cardsDraw one or more cards from an existing deck. Returns card code, suit, value, and image URL
shuffle_deckReshuffle an existing deck, returning all drawn cards back

Useful for

  • Simulating card games (poker, blackjack, war)
  • Building a card-based decision-making tool
  • Teaching probability concepts with real card draws
  • Party games where you need a shared virtual deck

Example: draw a poker hand

# Step 1: Create a deck
curl -s -X POST https://gateway.pipeworx.io/deckofcards/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"new_deck","arguments":{"count":1}}}'

# Step 2: Draw 5 cards (use the deck_id from step 1)
curl -s -X POST https://gateway.pipeworx.io/deckofcards/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"draw_cards","arguments":{"deck_id":"3p40paa87x90","count":5}}}'

Each card includes: code (e.g., "AS" for Ace of Spades), value, suit, and an image URL of the card face.

MCP config

{
  "mcpServers": {
    "pipeworx-deckofcards": {
      "command": "npx",
      "args": ["-y", "mcp-remote@latest", "https://gateway.pipeworx.io/deckofcards/mcp"]
    }
  }
}

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 12:51 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

life-service

Caldav Calendar

asleep123
使用 vdirsyncer + khal 同步并查询 CalDAV 日历(iCloud、Google、Fastmail、Nextcloud 等)。适用于 Linux。
★ 244 📥 30,785
life-service

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 459 📥 229,806
professional

Pipeworx sunrisesunset

brucegutman
提供全球任意地点和日期的日出、日落、黎明、黄昏、太阳正午、黄金时段及昼长精确时刻。
★ 0 📥 649