Skip to main content
Glama

MCP Server for Unity

by zabaglione

asset_read_script

Retrieve C# script content from a Unity project by specifying the script file name, enabling direct access and management of Unity assets through the MCP Server for Unity.

Instructions

Read a C# script from the Unity project

Input Schema

NameRequiredDescriptionDefault
fileNameYesName of the script file

Input Schema (JSON Schema)

{ "properties": { "fileName": { "description": "Name of the script file", "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