A Stockfish MCP server
Project description
Stockfish MCP Server
A Stockfish server for the Model Context Protocol. This package allows a Large Language Model to play chess against the Stockfish engine.
Installation
Install the package from PyPI:
pip install stockfish-mcp
Usage
Run the server from the command line:
stockfish-mcp
You can also provide a path to a custom Stockfish executable:
stockfish-mcp --stockfish-path /path/to/your/stockfish
## Example
An example of a game played against the Stockfish engine can be found in [`exampleGame.md`](./exampleGame.md).
## Available Tools
- `get_board_state()`: Get the current board state.
- `make_move(move_uci: str)`: Make a move (e.g., "e2e4").
- `is_game_over()`: Check if the game has ended.
- `get_game_result()`: Get the result if the game is over.
- `reset_game(skill_level: int = 10)`: Start a new game.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stockfish_mcp-0.2.1.tar.gz.
File metadata
- Download URL: stockfish_mcp-0.2.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54a721f0c966b9f9619838c108d19bf167a98772cdaa624c85a7163b18238ee9
|
|
| MD5 |
dcabf7654613f00448414c224a990e75
|
|
| BLAKE2b-256 |
89f48054b4269741d047cb215cb3cb79149516f6b4cc40be941fbb19006a3c9d
|
Provenance
The following attestation bundles were made for stockfish_mcp-0.2.1.tar.gz:
Publisher:
publish-mcp.yml on stepbot/StockfishMcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stockfish_mcp-0.2.1.tar.gz -
Subject digest:
54a721f0c966b9f9619838c108d19bf167a98772cdaa624c85a7163b18238ee9 - Sigstore transparency entry: 685896058
- Sigstore integration time:
-
Permalink:
stepbot/StockfishMcp@2a2d54c13a8aeacc2d37c5bcfba5d87d7a978802 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/stepbot
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-mcp.yml@2a2d54c13a8aeacc2d37c5bcfba5d87d7a978802 -
Trigger Event:
push
-
Statement type:
File details
Details for the file stockfish_mcp-0.2.1-py3-none-any.whl.
File metadata
- Download URL: stockfish_mcp-0.2.1-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6817a3f7f93e4ea849cc1e0e98ba6823090cd9676ee366925bff1ea1d2e85197
|
|
| MD5 |
0a5d5028d759975c127aa3c6a8cb2061
|
|
| BLAKE2b-256 |
19619bd15ed762ac9a872c608fefab73fd4f1dc086cbf21080251014d2ffd9ef
|
Provenance
The following attestation bundles were made for stockfish_mcp-0.2.1-py3-none-any.whl:
Publisher:
publish-mcp.yml on stepbot/StockfishMcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stockfish_mcp-0.2.1-py3-none-any.whl -
Subject digest:
6817a3f7f93e4ea849cc1e0e98ba6823090cd9676ee366925bff1ea1d2e85197 - Sigstore transparency entry: 685896059
- Sigstore integration time:
-
Permalink:
stepbot/StockfishMcp@2a2d54c13a8aeacc2d37c5bcfba5d87d7a978802 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/stepbot
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-mcp.yml@2a2d54c13a8aeacc2d37c5bcfba5d87d7a978802 -
Trigger Event:
push
-
Statement type: