MCP Server for Scratch, powered by scratchattach.
Scratchattach MCP server exists for a simple reason — assistants are far more useful when they can act on Scratchattach directly instead of describing what you should do. MCP Server for Scratch, powered by scratchattach.
The agent can access the Scratch platform to interact with site features (e.g. social features), or code Scratch projects live.
Once Scratchattach is connected, these are the calls the assistant has available:
Sessions — The Sessions tool exposed by this serverProfile — The Profile tool exposed by this serverComments — All four accept source of project, studio or profileReference — The Reference tool exposed by this serverYou will need one environment variable: PYTHONPATH. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Scratchattach's toolset — Sessions, Profile, Comments and 1 more — is a fair guide to whether it matches your workflow. It is maintained by uukelele-scratch; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| Sessions | The Sessions tool exposed by this server. |
| Profile | The Profile tool exposed by this server. |
| Comments | All four accept source of project, studio or profile. |
| Reference | The Reference tool exposed by this server. |
{
"mcpServers": {
"scratch": {
"command": "/home/x/scratch-mcp/.venv/bin/python",
"args": ["-m", "scratch_mcp"],
"cwd": "/home/x/scratch-mcp",
"env": { "PYTHONPATH": "/home/x/scratch-mcp" },
"timeout": 600000 // compiling / decompiling / publishing can take quite some time
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| PYTHONPATH | Filesystem location the server is allowed to use. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.