TexasSolver

Provides a structured MCP interface to run the TexasSolver poker solver, load ranges, build game trees, and list outputs.
  • javascript

0

GitHub Stars

javascript

Language

3 months ago

First Indexed

3 weeks ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "bsim0927-texas-solver-mcp-server": {
      "command": "node",
      "args": [
        "/Users/bensimmons/Desktop/TexasSolverMCP/src/index.js"
      ],
      "env": {
        "TEXAS_SOLVER_PATH": "/Users/bensimmons/Desktop/TexasSolverMCP/TexasSolver-v0.2.0-MacOs/console_solver"
      }
    }
  }
}

You can use this MCP server to interact with a TexasSolver console poker solver through structured input. It lets you run the solver with precise game parameters, load preflop ranges, inspect game trees, and retrieve solver outputs in a predictable, machine-friendly format.

How to use

You connect to the TexasSolver MCP server from your MCP client and issue tools to perform common poker solver tasks. Use structured inputs to run the solver with a specific pot, stacks, board, and ranges. Load and inspect preflop ranges, or generate a full game-tree configuration for review without executing the solver. List previously generated outputs to identify results you want to reuse or analyze.

How to install

Prerequisites you need before starting include Node.js and the TexasSolver binary. Follow these concrete steps to set up and run the MCP server.

npm install -g npm@latest
node -v
# Ensure Node.js 18.0.0 or higher is installed

# Ensure the TexasSolver binary is available (v0.2.0 or compatible) and note its path

# Clone or place the MCP server project in a working directory

# Install dependencies for the MCP server

cd /Users/bensimmons/Desktop/TexasSolverMCP
npm install

# Configure environment (see next step for details)

# Start the MCP server
npm start

Configuration and usage notes

Configure the environment so the MCP server can access the TexasSolver binary. Copy the example environment file and set the solver path.

cp .env.example .env
# Edit .env and set TEXAS_SOLVER_PATH to your solver location

# Example value
TEXAS_SOLVER_PATH=/Users/bensimmons/Desktop/TexasSolverMCP/TexasSolver-v0.2.0-MacOs/console_solver

MCP connection details

This server is exposed via stdio. The following configuration is used to run the server locally and connect from an MCP client.

# Claude Desktop integration example (config snippet)
{
  "mcpServers": {
    "texassolver": {
      "command": "node",
      "args": ["/Users/bensimmons/Desktop/TexasSolverMCP/src/index.js"],
      "env": {
        "TEXAS_SOLVER_PATH": "/Users/bensimmons/Desktop/TexasSolverMCP/TexasSolver-v0.2.0-MacOs/console_solver"
      }
    }
  }
}

How to run

Start the MCP server, then interact with it using your MCP client. The server will listen for requests on stdio and process solver tasks such as running the solver, loading ranges, building game trees, and listing outputs.

Additional sections

Security and maintenance considerations: keep the TexasSolver binary up to date within compatibility requirements, and ensure that access to the MCP server is restricted to trusted clients. Regularly review the generated outputs and command files stored under the data directories to manage disk usage and privacy of solver results.

Notes on usage patterns: you can script batch operations to run multiple solver configurations, load several range files, or generate multiple game-tree previews for comparison. Storages for commands and outputs are located under data/ as described in the project structure.

Troubleshooting guidance: if the solver cannot be found, verify TEXAS_SOLVER_PATH in the environment; if permissions are blocked, ensure the binary is executable. If operations time out, consider simplifying the game tree or lowering solver configuration parameters.

Available tools

run_solver

Execute the TexasSolver with game parameters including pot, stacks, board, and ranges. Returns execution metadata and output location.

list_ranges

Discover available preflop range files and provide metadata about each range.

load_range

Load and parse a specific range file, returning the raw range string and parsed hands with weights.

build_game_tree_config

Generate a full game tree configuration without running the solver, returning the command file and a preview of the commands.

list_outputs

List previously generated solver outputs with details like filenames, sizes, and creation times.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational