Back to Home
bsim0927 icon

texas-solver-mcp-server

by bsim0927

Overview

Enables LLMs to interact with the TexasSolver console poker solver for game theory analysis through structured parameters.

Installation

Run Command
npm start

Environment Variables

  • TEXAS_SOLVER_PATH
  • MCP_DATA_DIR
  • DEBUG

Security Notes

The `load_range` tool and the range handling in `run_solver` and `build_game_tree_config` allow an LLM or malicious user to specify an absolute path for range files (e.g., `/etc/passwd`). The server will then read the content of this file and include it in the `range_string` in its response, which is a significant arbitrary file read vulnerability. Although the server communicates via stdio, this vulnerability allows sensitive local files to be disclosed. Other aspects like using `child_process.spawn` (instead of `exec`) and extensive input validation are positive, but the file read vulnerability is critical.

Similar Servers

Stats

Interest Score0
Security Score4
Cost ClassMedium
Avg Tokens1000
Stars0
Forks0
Last Update2025-12-22

Tags

PokerSolverLLM IntegrationGame TheoryModel Context Protocol