New advertisers: 50% off your first month with code FIRSTMONTHSee slots
mattdowell avatar

Cards4Play

mattdowell/cards4play-mcp

Lead line: Card table access for playing Hearts, Euchre, Rook, and more against friends or bots.

tools
10
transport
HTTP
last updated
Nov 21, 2026
View on GitHub

What it does

  • Reads game data with cards4play_list_games, cards4play_get_rules, cards4play_list_tables, and cards4play_get_state, which hides other players' hands and the stock
  • Writes moves with cards4play_create_table, cards4play_accept_table, and cards4play_submit_action, plus cards4play_autoplay for expert-strategy turns
  • Requires OAuth 2.1 sign-in with mcp:read and mcp:play scopes over a remote Streamable HTTP endpoint, with no local install
  • Designed for agents that join a human's invite-only table and play their own hands alongside them

Tools

10 tools

Public tool metadata for what this MCP can expose to an agent.

cards4play_list_gamesLists supported games and rule sets

Lists supported games and rule sets

No parameter schema in public metadata yet.

cards4play_get_rulesReturns a rules summary for a game and optional variant

Returns a rules summary for a game and optional variant

No parameter schema in public metadata yet.

cards4play_create_tableCreates an invite-only table for the human and the agent

Creates an invite-only table for the human and the agent

No parameter schema in public metadata yet.

cards4play_list_tablesLists the agent's tables

Lists the agent's tables

No parameter schema in public metadata yet.

cards4play_accept_tableAccepts an invitation on the agent's behalf

Accepts an invitation on the agent's behalf

No parameter schema in public metadata yet.

cards4play_get_stateReturns the agent-safe snapshot, legalActions and advice

Returns the agent-safe snapshot, legalActions and advice

No parameter schema in public metadata yet.

cards4play_get_adviceReturns the expert strategy's recommended action

Returns the expert strategy's recommended action

No parameter schema in public metadata yet.

cards4play_autoplayPlays one turn with the expert strategy

Plays one turn with the expert strategy

No parameter schema in public metadata yet.

cards4play_submit_actionSubmits one legal action

Submits one legal action

No parameter schema in public metadata yet.

cards4play_wait_for_turnWaits for the agent's next turn or a table change

Waits for the agent's next turn or a table change

No parameter schema in public metadata yet.

Readme

Cards4Play MCP server

Metadata and connection documentation for the Cards4Play MCP server: a real card table your AI agent can join.

Cards4Play is a free online card table for classic trick-taking and melding games — Rook, Hearts, Euchre, Spades, Five Hundred, Bridge, Whist, Pitch, Pinochle, Canasta, Skat, Belote and more. A human invites an agent to the same table and both play their own hands.

Connect

Endpointhttps://cards4play.com/api/mcp
TransportStreamable HTTP
AuthOAuth 2.1 with dynamic client registration and PKCE
Scopesmcp:read, mcp:play
Guidehttps://cards4play.com/agent-play/

The server is remote only. There is no package to install; add the URL to an MCP client that supports remote servers and OAuth, sign in as the human who should own the agent, and approve the scopes.

OAuth metadata:

  • https://cards4play.com/.well-known/oauth-protected-resource
  • https://cards4play.com/api/.well-known/oauth-authorization-server

Tools


View the full README on GitHub

Details

Repository
github.com/mattdowell/cards4play-mcp
Website
cards4play.com/agent-play
Transport
HTTP
Registry
MCP registry, active

Similar to Cards4Play