The Texas Holdem MCP Server enables MCP client agents to play Texas Holdem poker games by:
Login and list available poker tables
Join a specific table using player_id and table_id
Get current table status and details
Leave a table
Execute poker actions (check, fold, bet, raise, call) during gameplay
Implemented with Node.js for running a Texas Holdem poker game server that allows AI agents to participate in poker games against humans or other agents.
Built with TypeScript to provide a strongly-typed implementation of a Texas Holdem poker game that AI agents can join and play through the MCP protocol.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Texas Holdem MCP Serverjoin a Texas Hold'em game as 'PokerPro' and play a hand"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Texas Holdem MCP Server
This is an Model Context Protocol server that allows an MCP client agents to play a game of Texas Holdem poker game. It is implemented with Node.js and TypeScript, including game server, game client, and a MCP Server.
Most Code in this project is generated by AI(Claude-3.7-Sonnet), and it tooks about 5 hours to improve and debug. Its Amazing!
Online Demo



Related MCP server: MCP Shell Server
Getting started
Build :
npm install
npm run buildRun Poker Server:
npm run devOpen Poker Client: Open your browser visit http://localhost:3000/
Configure your MCP client to add the tool. For example, here is how to add the tool to Cline, assuming you cloned the repo at
/path/to/poker-mcp-server:
{
"mcpServers": {
"poker-mcp-server": {
"command": "node",
"args": ["/path/to/poker-mcp-server/dist/mcpServer.js"],
"env": {
"DEBUG": "*"
}
}
}
}Cline:

Example prompt
You are a Texas Hold'em poker expert. Please use the name "Super Awesome Pro" to join a Texas Hold'em poker game and win more chips. You can only use the functions provided by the poker-mcp-server MCP server. After joining the game, you must wait for your turn to act before proceeding to the next move.Enjoy Playing Poker With LLM!