Stockfish MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| STOCKFISH_PATH | No | Path to the Stockfish binary. | engine/stockfish |
| STOCKFISH_HASH_MB | No | Transposition-table size (MB). | 256 |
| STOCKFISH_THREADS | No | Search threads. | min(4, ncpu) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| analyze_positionB | Analyze a chess position with Stockfish and return the evaluation and best lines. |
| get_best_moveA | Pick a move for the side to move, optionally at reduced strength. |
| evaluate_positionA | Quickly evaluate a position and return the score and best move. A lighter, faster version of analyze_position (single line, shallower default depth). Score is from White's point of view. |
| get_legal_movesA | List all legal moves in a position (SAN and UCI). |
| apply_movesA | Apply a sequence of moves to a position and return the resulting FEN. Useful for playing out a line without the server holding game state. |
| visualize_boardA | Render a position as a text board for human reading. |
| engine_infoA | Return the Stockfish engine's name, author, and a few configurable options. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
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/indulge/stockfish-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server