Skip to main content
Glama

Texas Holdem MCP Server

by freshlife001

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

Texas Holdem Online

Screen capture

Screen capture

Screen capture

Getting started

  • Build :
npm install npm run build
  • Run Poker Server:
npm run dev
  • Open 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:Screenshot of install mcp server

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!

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

A Model Context Protocol server that allows AI agents to play Texas Holdem poker games through an MCP client interface.

  1. Online Demo
    1. Getting started
      1. Example prompt

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol (MCP) server implementation for the OpenLedger API. This server provides structured context to AI models according to the MCP specification.
          Last updated -
          8
          TypeScript
          Apache 2.0
        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol (MCP) server that allows AI agents like Claude to interact with the Aligo SMS API to send text messages and retrieve related information.
          Last updated -
          JavaScript
          MIT License
        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol (MCP) server that enables real-time, interactive AI chat with Selector AI through a streaming-capable server and Docker-based client communicating via stdin/stdout.
          Last updated -
          1
          Python
          Apache 2.0
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol (MCP) server for LeetCode that enables AI assistants to access LeetCode problems, user information, and contest data.
          Last updated -
          7
          1
          TypeScript
          MIT License

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/freshlife001/mcp_poker'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server