Thanks to visit codestin.com
Credit goes to github.com

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: CoderGamester/mcp-unity
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: akagik/mcp-unity
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 16 commits
  • 23 files changed
  • 2 contributors

Commits on Jul 20, 2025

  1. fix: enable auto-reconnection after Unity domain reload

    - Enable WebSocket auto-reconnection in Node.js client when Unity recompiles
    - Implement exponential backoff (1s to 30s max) for reconnection attempts
    - Add max reconnection attempts limit (10) to prevent infinite loops
    - Make reconnect method async for better error handling
    
    This fixes the issue where the MCP server connection would be lost after
    Unity recompilation and required manual Unity Editor activation to restore.
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <[email protected]>
    akagik and claude committed Jul 20, 2025
    Configuration menu
    Copy the full SHA
    a00c713 View commit details
    Browse the repository at this point in the history
  2. commit

    akagik committed Jul 20, 2025
    Configuration menu
    Copy the full SHA
    de5ed33 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2025

  1. feat: add invoke_static_method tool for calling arbitrary static methods

    - Add InvokeStaticMethodTool to call any static method with parameters
    - Support for various parameter types: primitives, Unity types, arrays, enums
    - Implement type conversion and serialization for method arguments
    - Add return value serialization for non-void methods
    - Include comprehensive error handling and validation
    - Add detailed documentation with usage examples
    
    Supported parameter types:
    - Primitives: string, int, float, double, bool, long
    - Unity types: Vector2, Vector3, Color, GameObject
    - Arrays: string[], int[], float[]
    - Enums and custom types via reflection
    
    This enables powerful automation capabilities by providing access to
    virtually any static API in Unity through MCP.
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <[email protected]>
    akagik and claude committed Jul 21, 2025
    Configuration menu
    Copy the full SHA
    c3ce02f View commit details
    Browse the repository at this point in the history
  2. docs: add comprehensive documentation and fix invoke_static_method build

    - Add CLAUDE.md for AI assistant guidance
    - Add custom API creation guide for developers
    - Add invoke_static_method template for other projects
    - Add domain reload investigation and reconnection analysis
    - Add project summary documentation in Japanese
    - Fix TypeScript build error in invokeStaticMethod.ts (use paramsSchema.shape)
    
    Documentation includes:
    - Project architecture overview
    - Custom tool/resource creation guidelines
    - Unity domain reload behavior analysis
    - Detailed usage examples and best practices
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <[email protected]>
    akagik and claude committed Jul 21, 2025
    Configuration menu
    Copy the full SHA
    156e09b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    768de8e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eba1e91 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2025

  1. add git inogre

    akagik committed Jul 24, 2025
    Configuration menu
    Copy the full SHA
    110dfbd View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2025

  1. ignore .mcp.json

    akagik committed Jul 26, 2025
    Configuration menu
    Copy the full SHA
    90b1dee View commit details
    Browse the repository at this point in the history
  2. update package.json

    akagik committed Jul 26, 2025
    Configuration menu
    Copy the full SHA
    5fa0e8b View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2025

  1. clean: remove meta files

    akagik committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    b052e3f View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2025

  1. ignore: package.json.meta

    akagik committed Aug 1, 2025
    Configuration menu
    Copy the full SHA
    2e489d8 View commit details
    Browse the repository at this point in the history
  2. feat: add async method support to InvokeStaticMethodTool

    - Support for Task, Task<T>, UniTask, and UniTask<T> return types
    - Automatic awaiting of async methods with result handling
    - Updated tool to always run asynchronously (IsAsync = true)
    - Added test class with examples of async method invocations
    - Updated documentation with async method usage examples
    - Updated README.md to mention async support
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <[email protected]>
    akagik and claude committed Aug 1, 2025
    Configuration menu
    Copy the full SHA
    e1867e8 View commit details
    Browse the repository at this point in the history
  3. add: meta files

    akagik committed Aug 1, 2025
    Configuration menu
    Copy the full SHA
    df3f174 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2025

  1. feat: Unity MCP実行用シェルスクリプトを追加

    Unity EditorをコマンドラインからMCP経由で操作するスクリプトを追加:
    - execute_unity_menu.sh: MenuItemを実行(GameObject作成、スクリプトリロード等)
    - get_console_logs.sh: Unityコンソールログを取得(エラー、警告、通常ログ)
    - UNITY_MCP_SCRIPTS.md: 詳細な使用ガイドドキュメント
    - 各ファイルのUnity metaファイルも含む
    
    WebSocketクライアントツール不要でNode.jsのみで動作
    Unity側のログで動作確認済み("RequestScriptReload 実行済み"を確認)
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <[email protected]>
    akagik and claude committed Sep 8, 2025
    Configuration menu
    Copy the full SHA
    2954bc4 View commit details
    Browse the repository at this point in the history
  2. chore: add docs

    akagik committed Sep 8, 2025
    Configuration menu
    Copy the full SHA
    73d26c1 View commit details
    Browse the repository at this point in the history
  3. chore: add meta

    akagik committed Sep 8, 2025
    Configuration menu
    Copy the full SHA
    59a8513 View commit details
    Browse the repository at this point in the history
Loading