About
Scratchattach MCP is a lightweight Model Context Protocol server that allows Scratch projects to be served and interacted with over the web. It bridges Scratch's visual programming environment with modern web hosting.
Capabilities

Overview
The Scratchattach MCP server is a lightweight, plug‑in‑friendly service that bridges the world of AI assistants with the visual programming environment Scratch. By exposing Scratch’s block‑based programming model through the Model Context Protocol, it lets conversational agents like Claude or other MCP clients invoke Scratch projects, manipulate variables, and retrieve visual state information in real time. This capability transforms a traditionally educational tool into an interactive AI‑powered code playground, enabling developers to prototype logic flows, teach programming concepts, or create dynamic educational content without leaving the chat interface.
Problem Solved
Scratch is popular in education but remains largely isolated from modern AI ecosystems. Developers building AI assistants often need to demonstrate or test code snippets, but Scratch’s web interface and lack of programmatic hooks make this cumbersome. The Scratchattach MCP solves this by providing a structured API that translates AI commands into Scratch actions—such as adding or removing blocks, starting scripts, or querying sprite properties. It removes the friction of manual interaction and opens Scratch to a new generation of AI‑driven workflows.
Core Value for Developers
With this server, developers can:
- Embed Scratch within conversational flows, allowing users to see visual feedback as the AI explains or modifies code.
- Automate educational scenarios, where an assistant can generate a Scratch project on demand, tweak it based on user input, and evaluate the outcome.
- Integrate visual debugging into AI development pipelines, letting assistants inspect sprite positions or variable values without leaving the chat.
The server’s MCP interface ensures compatibility with any client that understands the protocol, making it a versatile addition to an AI developer’s toolkit.
Key Features
- Block manipulation: Add, remove, or reorder Scratch blocks programmatically.
- Script execution control: Start, stop, and monitor scripts from the AI side.
- State inspection: Retrieve sprite properties, variable values, and stage information for analysis or display.
- Real‑time updates: Push changes back to the client so that visual feedback is immediate.
- Extensible architecture: Built on scratchattach, the server can be extended with custom tools or prompts to suit specific educational or prototyping needs.
Use Cases
- Educational chatbots that teach programming by building Scratch projects step‑by‑step while the user follows along in a conversation.
- Rapid prototyping where an AI assistant generates a Scratch demo to illustrate algorithmic concepts before translating the logic into more traditional code.
- Interactive tutorials that let learners test modifications instantly, receiving instant visual confirmation from the AI’s suggestions.
- Accessibility tools that convert textual descriptions of programs into Scratch visual representations, aiding learners with different learning styles.
Integration and Advantages
Because the server speaks MCP, it fits seamlessly into existing AI workflows that already use prompt or tool invocation. Developers can write a single prompt that calls Scratchattach, and the assistant will handle all the underlying communication. The standout advantage is its ability to render visual feedback within a purely textual interaction, turning abstract code explanations into concrete, manipulable Scratch projects. This synergy of visual programming and conversational AI offers a powerful new avenue for both teaching and rapid application development.
Related Servers
MindsDB MCP Server
Unified AI-driven data query across all sources
Homebrew Legacy Server
Legacy Homebrew repository split into core formulae and package manager
Daytona
Secure, elastic sandbox infrastructure for AI code execution
SafeLine WAF Server
Secure your web apps with a self‑hosted reverse‑proxy firewall
mediar-ai/screenpipe
MCP Server: mediar-ai/screenpipe
Skyvern
MCP Server: Skyvern
Weekly Views
Server Health
Information
Explore More Servers
MediaWiki MCP Server
LLM-powered interaction with any MediaWiki wiki
Scenario.com MCP Server
Generate images and remove backgrounds via Scenario.com API
Mcp2Brave
MCP server that powers web search via Brave API
MCP PID Wallet Verifier
Secure, QR‑based AI identity verification via OIDC4VP
YouTube MCP Server
AI-friendly interface for YouTube data and transcripts
Instagram MCP Server
Fetch Instagram posts using your Chrome session