Skip to content

Contributing

Ivan Murzak edited this page Nov 14, 2026 · 9 revisions

Contributing

Bug reports, fixes, new tools, extensions and docs are welcome. The full contributor guide (architecture, code style, tests, CI) is docs/dev/Development.md; this page is the short version.

Repository layout

Folder Contents
Unity-MCP-Plugin/ Unity project holding the package com.ivanmurzak.unity.mcp (all plugin code and tests)
cli/ unity-mcp-cli (TypeScript, npm)
extensions/ Optional tool packs (Animation, Cinemachine, …), each with its own version
Installer/ Unity project that builds the installer .unitypackage
Unity-Tests/ Test projects, one per Unity version
commands/ Python utility scripts (version bump, test runs, release notes)

The MCP server is a separate repository: GameDev-MCP-Server.

Set up

You need Unity 2022.3+ (a Personal license is enough) and Python 3.9+; Node.js for the CLI; the .NET SDK only for server work.

git clone https://github.com/IvanMurzak/Unity-MCP.git

Open Unity-MCP-Plugin/ in Unity Hub. The plugin downloads its pinned server binary, so plugin work needs nothing else.

Test

  • In Unity: Window > General > Test Runner, EditMode or PlayMode, Run All.
  • From a terminal:
python commands/run_unity_tests.py --unity-path "<Unity editor executable>" --test-mode editmode

CI runs EditMode, PlayMode and Standalone tests on several Unity versions, on Ubuntu, for every pull request. The plugin is tested and supported on Windows, macOS and Linux.

Code style

  • #nullable enable and the Apache-2.0 copyright header in every C# file.
  • One partial-class file per tool; kebab-case tool IDs; Unity calls through MainThread.Instance.
  • Never hand-write Unity .meta files; let Unity generate them.
  • Details: docs/agents/style.md.

Pull requests

  1. Fork and branch from main.
  2. Make the change with tests.
  3. Open a pull request against main describing what changed and how you tested it.

Releases are published only by a manually dispatched release.yml; merging a pull request publishes nothing.

Questions: Discord.

Clone this wiki locally