Skip to main content
Glama

MCP Server for Unity

by zabaglione

script_create

Generate a new C# script in Unity projects with customizable file names, content, and folder locations using the MCP Server for Unity interface.

Instructions

Create a new C# script in Unity project

Input Schema

NameRequiredDescriptionDefault
contentNoScript content (optional, will use template if not provided)
fileNameYesName of the script file (without .cs extension)
folderNoTarget folder path (default: Assets/Scripts)

Input Schema (JSON Schema)

{ "properties": { "content": { "description": "Script content (optional, will use template if not provided)", "type": "string" }, "fileName": { "description": "Name of the script file (without .cs extension)", "type": "string" }, "folder": { "description": "Target folder path (default: Assets/Scripts)", "type": "string" } }, "required": [ "fileName" ], "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