AssetBundleMCPのロゴ

AssetBundleMCP

コミュニティ
hanachiru

MCP Server for easily and efficiently analyzing Unity AssetBundles.

公開者hanachiru
リポジトリAssetBundleMCP
言語C#
フォーク
2
スター
24
利用可能なツール
0
通信方式stdio
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    AssetBundleMCPは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 利用可能なツール(0個)

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースプロジェクトの注目度

    リンク先のリポジトリには24件のスターと2件のフォークがあります。

AssetBundleMCP

nuget Releases license test

日本語

AssetBundleMCP is an MCP (Model-Context-Protocol) server for easily and efficiently analyzing Unity AssetBundles through conversation with an AI assistant (such as gemini-cli).

By using this tool, developers and QA engineers can quickly grasp information such as a list of assets and texture details contained in an AssetBundle simply by asking questions in natural language.

Screenshot

Main Features

  • Interactive AssetBundle Analysis: Analyze AssetBundles just by talking to your AI assistant.
  • Easy Installation: Provided as a NuGet package, so you can easily introduce it by adding it to your configuration file.
  • Flexible Data Access: You can also write SQL queries directly to the AI and freely extract information from the database-formatted analysis results.

Requirements

  • .NET 9.0 SDK or later

Installation & Setup

If .NET 10 is installed (Recommended)

Starting from .NET 10 preview 6, you can run it directly using dnx.

Please follow the documentation for your AI assistant to set up AssetBundleMCP as an MCP server.

  • For Visual Studio Code: .vscode/mcp.json
  • For Visual Studio: .mcp.json
json
{
  "servers": {
    "AssetBundleMCP": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "AssetBundleMCP",
        "--yes"
      ]
    }
  }
}
  • For Gemini Cli: .gemini/settings.json
json
{
  "mcpServers": {
    "AssetBundleMCP": {
      "command": "dnx",
      "args": [
        "AssetBundleMCP",
        "--yes"
      ]
    }
  }
}

Before .NET 10 preview 6

1. Install the Tool:

bash
dotnet tool install -g AssetBundleMCP

2. Configure the MCP server:

Please follow the documentation for your AI assistant to set up AssetBundleMCP as an MCP server.

  • For Visual Studio Code: .vscode/mcp.json
  • For Visual Studio: .mcp.json
json
{
  "servers": {
    "AssetBundleMCP": {
      "type": "stdio",
      "command": "assetbundlemcp"
    }
  }
}
  • For Gemini Cli: .gemini/settings.json
json
{
  "mcpServers": {
    "AssetBundleMCP": {
      "command": "assetbundlemcp"
    }
  }
}

Building and using locally

1. Clone the Repository:

Clone with the --recurse-submodules option to also fetch the Git submodules.

bash
git clone --recurse-submodules https://github.com/hanachiru/AssetBundleMCP.git
cd AssetBundleMCP

2. Build the Project:

bash
dotnet build -c Release

3. Configure the MCP server:

Please follow the documentation for your AI assistant to set up AssetBundleMCP as an MCP server.

  • For Visual Studio Code: .vscode/mcp.json
  • For Visual Studio: .mcp.json
json
{
  "servers": {
    "AssetBundleMCP": {
      "type": "stdio",
      "command": "dotnet",
      "args": [
        "run",
        "--project",
        "<PATH TO PROJECT DIRECTORY>/src/AssetBundleMCP/AssetBundleMCP.csproj"
      ]
    }
  }
}
  • For Gemini Cli: .gemini/settings.json
json
{
  "mcpServers": {
    "AssetBundleMCP": {
      "command": "dotnet",
      "args": [
        "run",
        "--project",
        "<PATH TO PROJECT DIRECTORY>/src/AssetBundleMCP/AssetBundleMCP.csproj"
      ]
    }
  }
}

Usage

1. Loading AssetBundles:

Specify the path to the directory containing the AssetBundles or the AssetBundle files you want to analyze, then instruct the system to load them.

Please load the AssetBundles in C:/path/to/your/assetbundles

The tool will analyze the AssetBundles and save the results to a temporary database file. If you do not specify an output destination, an SQLite file will be created in the current directory.

2. Retrieving Information:

Once loading is complete, you can ask various questions.

  • To get a list of assets:

    Please show me the list of assets in the AssetBundle

  • To get a list of textures:

    Please show me the list of textures in the AssetBundle

3. Finishing Analysis:

When you are done analyzing, unload the database and release resources with the following command:

Please unload the AssetBundle database

Available Tools

Command NameDescription
LoadAssetBundleLoads an AssetBundle for analysis.
UnLoadAssetBundleUnloads the loaded database file.
ListAnimationsLists all animations in the AssetBundle.
ListAssetDependenciesLists all asset dependencies in the AssetBundle.
ListAssetsLists all assets in the AssetBundle.
ListAudioClipsLists all audio clips in the AssetBundle.
ListMeshesLists all meshes in the AssetBundle.
ListObjectsLists all objects in the AssetBundle.
ListShaderKeywordRatiosLists all shader keyword ratios in the AssetBundle.
ListShaderSubprogramsLists all shader subprograms in the AssetBundle.
ListShadersLists all shaders in the AssetBundle.
ListTexturesLists all textures in the AssetBundle.
ListBreakdownByTypeLists breakdown by type in the AssetBundle.
ListBreakdownShadersLists breakdown of shaders in the AssetBundle.
ListMaterialShaderRefsLists all material shader references in the AssetBundle.
ListMaterialTextureRefsLists all material texture references in the AssetBundle.
ListPotentialDuplicatesLists all potential duplicates in the AssetBundle.
ExecuteSqlQueryExecutes a SQL query on the AssetBundle database.

License

This project is licensed under the MIT License.

Acknowledgements

The core analysis functionality of this tool uses UnityDataTools. Many thanks to the developers of this excellent library.

Notes

None of the repo, the tool, nor the repo owner is affiliated with, or sponsored or authorized by, Unity Technologies or its affiliates. Use it responsibly and ensure compliance with applicable laws and regulations.

インストール

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "hanachiru-assetbundlemcp": {
      "command": "",
      "args": []
    }
  }
}

AssetBundleMCPのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度AssetBundleMCPに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」→「詳細設定」→「Model Context Protocol」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「Model Context Protocol」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

AssetBundleMCPをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. AssetBundleMCPのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタのステータスが「準備完了」のままか確認するには、画面を更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "hanachiru-assetbundlemcp": {
      "command": "npx",
      "args": [
        "-y",
        "AssetBundleMCP"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてAssetBundleMCPのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. AssetBundleMCPのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
AssetBundleMCPを使ってこのタスクを手伝ってもらえますか?
AssetBundleMCP
はい、読みました。
AssetBundleMCPで調べた結果をお伝えします。

よくある質問

AssetBundleMCP MCPサーバーは何に使いますか?

AssetBundleMCPは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでは、複数のAIモデルでAssetBundleMCP MCPを利用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでAssetBundleMCPを利用できます。

TypingMindでAssetBundleMCP MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けのトップクラスのフロントエンドです。AssetBundleMCPを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

AssetBundleMCP MCPをTypingMindに接続するにはどうすればよいですか?

AssetBundleMCPはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでAssetBundleMCP MCPのどのようなツールを利用できますか?

AssetBundleMCPはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

AssetBundleMCP MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。AssetBundleMCPで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇