Tic-Tac-Toe MCP Server with separate UI
Project description
Tic-Tac-Toe MCP Extension
A custom Model Context Protocol (MCP) extension for playing Tic-Tac-Toe with a separate UI.
Features
- Play Tic-Tac-Toe through Goose AI
- Launches a separate UI window for the game
- Provides tools to start a game, make moves, and check the board state
- Includes game rules as a resource
Installation
-
Clone this repository:
git clone https://github.com/yourusername/tik-tak-toe-mcp.git cd tik-tak-toe-mcp -
Install the package:
pip install -e .
Usage
As a standalone MCP server
Run the server:
tik-tak-toe-mcp
With Goose
- Go to Settings > Extensions > Add
- Set Type to "StandardIO"
- Provide ID, name, and description
- In the Command field, provide the path to the executable:
/path/to/python -m tik_tak_toe_mcp
Tools
start_game(): Start a new Tic-Tac-Toe game and launch the UImake_move(row, col): Make a move at the specified position (row and col are 0-2)get_board_state(): Get the current state of the board
Resources
game_rules: The rules of Tic-Tac-Toe and how to use this extension
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tik_tak_toe_mcp-0.1.0.tar.gz
(19.8 kB
view details)
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 tik_tak_toe_mcp-0.1.0.tar.gz.
File metadata
- Download URL: tik_tak_toe_mcp-0.1.0.tar.gz
- Upload date:
- Size: 19.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d62ff104e28be3ce3ec901db0bf8d4bae194231d26b53ce832ba0b53a625f70
|
|
| MD5 |
c3c19a4b4092e3e11b93b294714f9301
|
|
| BLAKE2b-256 |
8cc8885b73dfc103d09b3be603b2f6f5d676fd1160a7d44ebe684f1b700331f3
|
File details
Details for the file tik_tak_toe_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tik_tak_toe_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3766de4e392bb572d475cfda10d5580e06bd6e78a648d22835ff3c0ab4a8325a
|
|
| MD5 |
51caf82ec3425bd09e699b27f6721314
|
|
| BLAKE2b-256 |
1b4d9307ea7fdb79102e06192cd12f649cb51a17f8552a26d638dc9f9854caea
|