interactive_draw_mcp

interactive_draw_mcp

3.1

If you are the rightful owner of interactive_draw_mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Interactive Drawing MCP is a Model Context Protocol server with an interactive drawing interface using Tkinter.

Interactive Drawing MCP is a project that showcases a Model Context Protocol (MCP) server with an interactive drawing interface. It features a 16x16 grid where users can toggle cells between filled and empty states. The server supports starting a drawing session, toggling cell colors, and retrieving the grid state. The grid state is saved in a JSON file to ensure persistence across sessions. The UI is synchronized with the grid state in real-time, providing an intuitive and interactive experience. The project is designed to integrate with Goose AI, allowing for seamless communication between the AI and the drawing interface.

Features

  • Drawing Grid Interface: Offers a 16x16 grid where each cell can be toggled between two states (filled or empty). Provides a clear grid button to reset all cells.
  • Server Capabilities: Includes starting a drawing session, toggling cell colors, and retrieving the grid state.
  • Persistence: Grid state is saved to a JSON file to maintain consistency across sessions.
  • UI and State Synchronization: Real-time UI updates with a background thread that watches for grid state changes.

Tools

  1. start_drawing_session

    Initializes a drawing session and opens the UI.

  2. toggle_cell_color

    Toggles the cell's color at specified row and col.

  3. get_grid_state

    Provides a string representation of the grid's current state.