Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: CoplayDev/unity-mcp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.1.0
Choose a base ref
...
head repository: CoplayDev/unity-mcp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.2.0
Choose a head ref
  • 9 commits
  • 55 files changed
  • 5 contributors

Commits on Oct 13, 2025

  1. fix: apply telemetry decorator before MCP tool registration to ensure…

    … proper wrapping order for the old repo
    msanatan committed Oct 13, 2025
    Configuration menu
    Copy the full SHA
    2d8e251 View commit details
    Browse the repository at this point in the history
  2. feat: add tomli dependency and dynamic version lookup from pyproject.…

    …toml for legacy project
    msanatan committed Oct 13, 2025
    Configuration menu
    Copy the full SHA
    6c00294 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2025

  1. Use secure unity version (#321)

    * chore: update Unity version from 2021.3.45f1 to 2021.3.45f2
    
    Older Unity version had the security vulnerability, so we update it
    
    * feat: add dynamic version display in editor window settings
    
    * refactor: remove manual license file handling from Unity test workflow
    
    * Revert "refactor: remove manual license file handling from Unity test workflow"
    
    This reverts commit a6ab3d9.
    
    * feat: add Unity license credentials to Docker containers in CI workflow
    
    * refactor: replace manual Unity license activation with game-ci/unity-activator
    
    * refactor: simplify Unity CI setup by removing game-ci activation and using built-in license handling
    
    * fix: improve Unity license activation in CI by using unityci image's built-in activation flow
    
    * refactor:  activate once in a temporary container, then reuse the license in the long-running container
    
    Now we got the license secret to be read, we got this error: "Machine bindings don't match". So it seems that the license I generated locally can't be used.
    
    So we need to activate the license within the container
    
    * Revert "refactor:  activate once in a temporary container, then reuse the license in the long-running container"
    
    This reverts commit f6a9aa6.
    
    * Revert "fix: improve Unity license activation in CI by using unityci image's built-in activation flow"
    
    This reverts commit a9f4c02.
    
    * Revert "refactor: simplify Unity CI setup by removing game-ci activation and using built-in license handling"
    
    This reverts commit 4e5ffc0.
    
    * Revert "refactor: replace manual Unity license activation with game-ci/unity-activator"
    
    This reverts commit e9520ee.
    
    * Revert "feat: add Unity license credentials to Docker containers in CI workflow"
    
    This reverts commit 01b8879.
    msanatan authored Oct 17, 2025
    Configuration menu
    Copy the full SHA
    90911aa View commit details
    Browse the repository at this point in the history
  2. Update to support Codex CLI (#325)

    Fix the JSON installation on Codex in Wizard;
    Adding the lines to support Codex CLI on windows temporarily, thanks to openai/codex#4180
    Scriptwonder authored Oct 17, 2025
    Configuration menu
    Copy the full SHA
    4a0e633 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2025

  1. Allow users to easily add tools in the Asset folder (#324)

    * Fix issue #308: Find py files in MCPForUnityTools and version.txt
    
    This allows for auto finding new tools. A good dir on a custom tool would look like this:
    CustomTool/
    ├── CustomTool.MCPEnabler.asmdef
    ├── CustomTool.MCPEnabler.asmdef.meta
    ├── ExternalAssetToolFunction.cs
    ├── ExternalAssetToolFunction.cs.meta
    ├── external_asset_tool_function.py
    ├── external_asset_tool_function.py.meta
    ├── version.txt
    └── version.txt.meta
    
    CS files are left in the tools folder. The asmdef is recommended to allow for dependency on MCPForUnity when MCP For Unity is installed:
    
    asmdef example
    {
        "name": "CustomTool.MCPEnabler",
        "rootNamespace": "MCPForUnity.Editor.Tools",
        "references": [
            "CustomTool",
            "MCPForUnity.Editor"
        ],
        "includePlatforms": [
            "Editor"
        ],
        "excludePlatforms": [],
        "allowUnsafeCode": false,
        "overrideReferences": false,
        "precompiledReferences": [],
        "autoReferenced": true,
        "defineConstraints": [],
        "versionDefines": [],
        "noEngineReferences": false
    }
    
    * Follow-up: address CodeRabbit feedback for #308 (<GetToolsFolderIdentifier was duplicated>)
    
    * Follow-up: address CodeRabbit feedback for #308 – centralize GetToolsFolderIdentifier, fix tools copy dir, and limit scan scope
    
    * Fixing so the MCP don't removes _skipDirs e.g. __pycache__
    
    * skip empty folders with no py files
    
    * Rabbit: "Fix identifier collision between different package roots."
    
    * Update MCPForUnity/Editor/Helpers/ServerInstaller.cs
    
    Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
    
    * Rabbbit: Cleanup may delete server’s built-in tool subfolders — restrict to managed names.
    
    * Fixed minor + missed onadding rabit change
    
    * Revert "Fixed minor + missed onadding rabit change"
    
    This reverts commit 571ca8c.
    
    * refactor: remove Unity project tools copying and version tracking functionality
    
    * refactor: consolidate module discovery logic into shared utility function
    
    * Remove unused imports
    
    * feat: add Python tool registry and sync system for MCP server integration
    
    * feat: add auto-sync processor for Python tools with Unity editor integration
    
    * feat: add menu item to reimport all Python files in project
    
    Good to give users a manual option
    
    * Fix infinite loop error
    
    Don't react to PythonToolAsset changes - it only needs to react to Python file changes.
    And we also batch asset edits to minimise the DB refreshes
    
    * refactor: move Python tool sync menu items under Window/MCP For Unity/Tool Sync
    
    * Update docs
    
    * Remove duplicate header
    
    * feat: add OnValidate handler to sync Python tools when asset is modified
    
    This fixes the issue with deletions in the asset, now file removals are synced
    
    * test: add unit tests for Python tools asset and sync services
    
    * Update MCPForUnity/Editor/Helpers/PythonToolSyncProcessor.cs
    
    Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
    
    * style: remove trailing whitespace from Python tool sync files
    
    * test: remove incomplete unit tests from ToolSyncServiceTests
    
    * perf: optimize Python file reimport by using AssetDatabase.FindAssets instead of GetAllAssetPaths
    
    ---------
    
    Co-authored-by: Johan Holtby <72528418+JohanHoltby@users.noreply.github.com>
    Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
    3 people authored Oct 18, 2025
    Configuration menu
    Copy the full SHA
    85cc93f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dbdaa76 View commit details
    Browse the repository at this point in the history
  3. refactor: use Tommy TOML library directly for config file manipulation (

    #328)
    
    Before discovering the Tommy library I tried to parse TOML files directly. Some of the methods lingered from that time, which were messing up configuration on Windows.
    
    Now we use Tommy more, it should work. Also consolidated some code with fresh eyes
    
    Closes #311
    msanatan authored Oct 18, 2025
    Configuration menu
    Copy the full SHA
    3503378 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2025

  1. Notify users when there's a new version (#329)

    * feat: add package update service with version check and GitHub integration
    
    * feat: add migration warning banner and dialog for legacy package users
    
    * test: remove redundant cache expiration and clearing tests from PackageUpdateService
    
    * test: add package update service tests for expired cache and asset store installations
    msanatan authored Oct 19, 2025
    Configuration menu
    Copy the full SHA
    673456b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fdf8482 View commit details
    Browse the repository at this point in the history
Loading