← All projects

ScratchMCP

An MCP-compatible AI pair-programmer that reads, demonstrates, and edits live Scratch projects.

Bridges an MCP client like Claude into TurboWarp over a Python server and a WebSocket-connected extension, so the model can inspect a project's sprites, scripts, and variables and act on the live Scratch VM with no page reloads. Tutor Mode keeps it read-only with live stage demonstrations for guiding a learner; Copilot Mode adds full script editing, including nested blocks and custom "My Blocks", for hands-on pair programming.

Highlights

  • Dual modes: read-only Tutor Mode vs. full-editing Copilot Mode
  • Live stage demonstrations — move sprites, adjust variables — with no page reload
  • Direct script editing with correctly nested loops and conditionals
  • Custom "My Blocks" creation and invocation across 120+ supported opcodes
  • Three-part pipeline: Python MCP server, WebSocket bridge, TurboWarp extension

Technology

Python, MCP, WebSocket, JavaScript, Electron

Source code