Skip to main content
Glama

MCP Server for Unity

by zabaglione

asset_create_shader

Generate Unity shaders with specified names and types using custom templates or content. Streamline shader creation with support for built-in, URP, and HDRP environments in Unity projects.

Instructions

Create a new Unity shader

Input Schema

NameRequiredDescriptionDefault
customContentNoCustom shader content (optional, uses template if not provided)
shaderNameYesName of the shader (without extension)
shaderTypeNoType of shader to createbuiltin

Input Schema (JSON Schema)

{ "properties": { "customContent": { "description": "Custom shader content (optional, uses template if not provided)", "type": "string" }, "shaderName": { "description": "Name of the shader (without extension)", "type": "string" }, "shaderType": { "default": "builtin", "description": "Type of shader to create", "enum": [ "builtin", "urp", "hdrp", "urpGraph", "hdrpGraph" ], "type": "string" } }, "required": [ "shaderName" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zabaglione/mcp-server-unity'

If you have feedback or need assistance with the MCP directory API, please join our Discord server