WS

wilsonchenghy/shadertoy-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

51 stars 7 forks 품질 58 트렌드 13MIT

wilsonchenghy/shadertoy-mcp는 https://github.com/wilsonchenghy/shadertoy-mcp.]에서 수입된 MCP 서버 후보입니다

개요

wilsonchenghy/shadertoy-mcp는 https://github.com/wilsonchenghy/shadertoy-mcp.]에서 수입된 MCP 서버 후보입니다

개요(AI 번역)

ShaderToy의 MCP Server, GLSL 쉐이더를 만들고 공유하는 웹 사이트 ([T0]]) 모델 Context Protocol (MCP)을 통해 ShaderToy와 Claude와 같은 LLM을 연결하여 LLM을 쿼리하고 전체 웹 페이지를 읽을 수 있으므로 더 복잡한 쉐이더를 만들 수 있습니다. 일반적으로 불가능합니다.

복잡한 그늘의 예는 생성합니다.

더 보기

***오션 *** (https://www.shadertoy.com/view/tXs3Wf)

더 보기

산인 (https://www.shadertoy.com/view/W3l3Df)]

더 보기

*** 매트릭스 디지털 레인 *** (https://www.shadertoy.com/view/33l3Df)]

특징

  • ShaderToy의 모든 그늘에 정보를 검색
  • 검색을 통해 ShaderToy에서 사용 가능
  • ShaderToy의 기존 쉐이더에서 학습하여 복잡한 쉐이더 생성

MCP 도구

  • get shader info()에
  • 검색 shader()

설치

**Mac에서 uv를 **로 설치하십시오.

**Windows에서 **

그리고 그때

그렇지 않으면 설치 지침은 웹 사이트에 있습니다. uv 설치

Claude 데스크탑 통합

Git clone 프로젝트와 함께 git clone https://github.com/wilsonchenghy/ShaderToy-MCP.git

claude > 설정 > 개발자 > 편집 > claude desktop config.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

ShaderToy-MCP

MCP Server for ShaderToy, a website for creating, running and sharing GLSL shader (https://www.shadertoy.com/). It connects LLM like Claude with ShaderToy through Model Context Protocol (MCP), allowing the LLM to query and read the entire web page, allowing it to make increasingly complex shader it normally isn’t capable of.

Example of the complex shader it generates:


Ocean (https://www.shadertoy.com/view/tXs3Wf)


Mountains (https://www.shadertoy.com/view/W3l3Df)


Matrix Digital Rain (https://www.shadertoy.com/view/33l3Df)

Features

  • Retriving info on any shader on ShaderToy
  • Search for shader available on ShaderToy through a search prompt
  • Generate complex shaders by learning from existing shaders on ShaderToy

MCP Tools

  • get_shader_info()
  • search_shader()

Installation

On Mac, please install uv as

brew install uv

On Windows

powershell -c "irm https://astral.sh/uv/install.ps1 | iex" 

and then

set Path=C:\Users\nntra\.local\bin;%Path%

Otherwise installation instructions are on their website: Install uv

Claude Desktop Integration

Git clone the project with git clone https://github.com/wilsonchenghy/ShaderToy-MCP.git

Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json to include the following:

{
    "mcpServers": {
        "ShaderToy_MCP": {
          "command": "uv",
          "args": [
            "run",
            "--with",
            "mcp[cli]",
            "mcp",
            "run",
            "/ShaderToy-MCP/src/ShaderToy-MCP/server.py"
          ],
          "env": {
            "SHADERTOY_APP_KEY": "your_actual_api_key"  // Replace with your API key
          }
        }
    }
}

Once the config file has been set on Claude, you will see a hammer icon for the MCP. Test with the example commands to see if it correctly utilize the MCP tools.

Example Commands

Generate shader code of a {object}, if it is based on someone's work on ShaderToy, credit it, make the code follow the ShaderToy format: void mainImage( out vec4 fragColor, in vec2 fragCoord ) {}

GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "ShaderToy_MCP": { "command": "uv", "args": [ "run", "--with", "mcp[cli]", "mcp", "run", "<path_to_project>/ShaderToy-MCP/src/ShaderToy-MCP/server.py" ], "env": { "SHADERTOY_APP_KEY": "your_actual_api_key" // Replace with your API key } } } }