Skip to main content
Glama
indulge

Stockfish MCP Server

by indulge

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
STOCKFISH_PATHNoPath to the Stockfish binary.engine/stockfish
STOCKFISH_HASH_MBNoTransposition-table size (MB).256
STOCKFISH_THREADSNoSearch threads.min(4, ncpu)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
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

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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