Skip to main content

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

  1. Clone this repository:

    git clone https://github.com/yourusername/tik-tak-toe-mcp.git
    cd tik-tak-toe-mcp
    
  2. Install the package:

    pip install -e .
    

Usage

As a standalone MCP server

Run the server:

tik-tak-toe-mcp

With Goose

  1. Go to Settings > Extensions > Add
  2. Set Type to "StandardIO"
  3. Provide ID, name, and description
  4. 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 UI
  • make_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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tik_tak_toe_mcp-0.1.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

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

Hashes for tik_tak_toe_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3d62ff104e28be3ce3ec901db0bf8d4bae194231d26b53ce832ba0b53a625f70
MD5 c3c19a4b4092e3e11b93b294714f9301
BLAKE2b-256 8cc8885b73dfc103d09b3be603b2f6f5d676fd1160a7d44ebe684f1b700331f3

See more details on using hashes here.

File details

Details for the file tik_tak_toe_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tik_tak_toe_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3766de4e392bb572d475cfda10d5580e06bd6e78a648d22835ff3c0ab4a8325a
MD5 51caf82ec3425bd09e699b27f6721314
BLAKE2b-256 1b4d9307ea7fdb79102e06192cd12f649cb51a17f8552a26d638dc9f9854caea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page