get_shader_infoLABSCO SUMMARY
Two tools, aimed at one weakness: models write mediocre GLSL from memory and much better GLSL with references in front of them.
Ask for an ocean or a mountain scene and the model can go and read how people on ShaderToy actually did it, then write in the same mainImage form. Because it pulls the shader pages themselves, the output can credit the work it learned from rather than quietly paraphrasing it.
What it is
A small server over ShaderToy: search the site for shaders, and pull back the full page for any shader so the model can study it.
What you get
- Information on any shader hosted on ShaderToy, read back in full
- Search across ShaderToy from a prompt, to find shaders on the subject you are working on
- A path to more complex output: the model learns from existing shaders instead of writing GLSL from memory
Requirements
A ShaderToy app key, passed as SHADERTOY_APP_KEY. Not on a package registry — clone the repository and run the server with uv, pointing your client at src/ShaderToy-MCP/server.py over stdio.
Setup effort
Build from source — git clone https://github.com/wilsonchenghy/ShaderToy-MCP.git
USE CASES
Writing a shader that is beyond what the model can invent
Search ShaderToy for the effect, read the closest shaders, then write GLSL in the ShaderToy mainImage form.
Understanding a technique you saw on ShaderToy
Pull the shader's page and have it explained line by line.
Finding prior art before you start
Search the site for the subject and see what has already been solved.
2 tools
Listed in project docs. Your client may show a different list.
search_shaderBEFORE YOU INSTALL
What to know first
Tools you get
2 tools named in the project's documentation. Both tools only read ShaderToy; there is no tool to publish a shader.
Requires
SHADERTOY_APP_KEY in your environment
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
You clone this one yourself.
Server setup
brew install uv
git clone https://github.com/wilsonchenghy/ShaderToy-MCP.gitMCP Clients
Claude Desktop
{
"mcpServers": {
"ShaderToy_MCP": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"<YOUR_PATH_TO_PROJECT>/ShaderToy-MCP/src/ShaderToy-MCP/server.py"
],
"env": {
"SHADERTOY_APP_KEY": "<YOUR_SHADERTOY_APP_KEY>"
}
}
}
}