Unity Editor MCP Server

package_manager

Manages packages in the Unity Package Manager

Input Schema

NameRequiredDescriptionDefault
branchNoThe branch to use for GitHub packages (optional)
methodSourceYesThe method source to use (registry, github, or disk) to add the package
packageNameNoThe package name to add from Unity registry (e.g. com.unity.textmeshpro)
pathNoThe path to use (folder path for disk method or subfolder for GitHub)
repositoryUrlNoThe GitHub repository URL (e.g. https://github.com/username/repo.git)
versionNoThe version to use for registry packages (optional)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "branch": { "description": "The branch to use for GitHub packages (optional)", "type": "string" }, "methodSource": { "description": "The method source to use (registry, github, or disk) to add the package", "type": "string" }, "packageName": { "description": "The package name to add from Unity registry (e.g. com.unity.textmeshpro)", "type": "string" }, "path": { "description": "The path to use (folder path for disk method or subfolder for GitHub)", "type": "string" }, "repositoryUrl": { "description": "The GitHub repository URL (e.g. https://github.com/username/repo.git)", "type": "string" }, "version": { "description": "The version to use for registry packages (optional)", "type": "string" } }, "required": [ "methodSource" ], "type": "object" }