Skip to main content
Glama
Texas Holdem MCP Server

Texas Holdem MCP Server

by freshlife001

Servidor MCP de Texas Hold'em

Este es un servidor de Protocolo de Contexto de Modelo que permite a los agentes cliente de MCP jugar una partida de póker Texas Hold'em . Está implementado con Node.js y TypeScript, e incluye un servidor de juego, un cliente de juego y un servidor MCP.

La mayor parte del código de este proyecto fue generado por IA (Claude-3.7-Sonnet), y su mejora y depuración nos llevó unas 5 horas. ¡Es increíble!

Demostración en línea

Texas Hold'em en línea

Captura de pantalla

Captura de pantalla

Captura de pantalla

Related MCP server: Pokemon MCP Server

Empezando

  • Construir :

npm install
npm run build
  • Ejecutar servidor de póquer:

npm run dev
  • Abrir cliente de póquer: Abra su navegador y visite http://localhost:3000/

  • Configura tu cliente MCP para añadir la herramienta. Por ejemplo, así es como se añade la herramienta a Cline, suponiendo que clonaste el repositorio en /path/to/poker-mcp-server :

{
  "mcpServers": {
    "poker-mcp-server": {
      "command": "node",
      "args": ["/path/to/poker-mcp-server/dist/mcpServer.js"],
      "env": {
        "DEBUG": "*"
      }
    }
  }
}
  • Clina:

    Captura de pantalla de la instalación del servidor mcp

Ejemplo de mensaje

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.

¡Disfruta jugando al póquer con LLM!

Available Tools

9 tools
action_betD

do action bet

Inputs: amount (required), player_id (required), table_id (required).

action_callD

do action call

Inputs: player_id (required), table_id (required).

action_checkD

do action check

Inputs: player_id (required), table_id (required).

action_foldD

do action fold

Inputs: player_id (required), table_id (required).

action_raiseD

do action raise

Inputs: amount (required), player_id (required), table_id (required).

get_table_statusC

Get the current status of a poker table

Inputs: player_id (required), table_id (required).

join_tableC

Join a poker table

Inputs: player_id (required), table_id (required).

leave_tableC

Leave a poker table

Inputs: player_id (required), table_id (required).

loginC

login and list all tables in the poker game

Inputs: name (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.4/5.0

    Scored across 9 tools

    Disambiguation5/5

    Every tool has a clearly distinct purpose with no ambiguity. The five action_* tools each represent a specific poker move (bet, call, check, fold, raise), while the other four tools handle table management and login functions. There is no overlap in functionality between these categories.

    Naming Consistency4/5

    The naming is mostly consistent with a clear verb_noun pattern, but there is one minor deviation. The action_* tools follow a consistent 'action_verb' format, and get_table_status, join_table, and leave_table follow a 'verb_noun' pattern. However, 'login' breaks this pattern by being a single verb without a noun, though it's still readable.

    Tool Count5/5

    With 9 tools, this server is well-scoped for a Texas Hold'em poker domain. It covers essential actions (bet, call, check, fold, raise), table management (join, leave, get status), and authentication (login), with each tool earning its place without being excessive or insufficient.

    Completeness4/5

    The tool surface is largely complete for basic poker gameplay, covering key actions and table lifecycle. However, there are minor gaps, such as no tools for creating or listing tables, which might be inferred from 'login' but aren't explicitly provided, potentially requiring workarounds for full table management.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers