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
npm startEnvironment 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
fastmcp
FastMCP is an ergonomic interface for the Model Context Protocol (MCP), providing a comprehensive framework for building and interacting with AI agents, tools, resources, and prompts across various transports and authentication methods.
mcp-server-llmling
mcp-server-llmling serves as a Machine Chat Protocol (MCP) server, providing a YAML-based system to configure and manage LLM applications, including resources, prompts, and tools.
memory-mcp-server
Provides long-term memory and context storage/retrieval for Large Language Models (LLMs) via an API, adhering to the Model Context Protocol (MCP).
polybrain-mcp
Connects AI agents to multiple LLM models, providing conversation history management and model switching capabilities.