AssetBundleMCP 0.1.5
See the version list below for details.
dotnet tool install --global AssetBundleMCP --version 0.1.5
dotnet new tool-manifest
dotnet tool install --local AssetBundleMCP --version 0.1.5
#tool dotnet:?package=AssetBundleMCP&version=0.1.5
nuke :add-package AssetBundleMCP --version 0.1.5
AssetBundleMCP
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.
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.
Prerequisites
- .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
{
"servers": {
"AssetBundleMCP": {
"type": "stdio",
"command": "dnx",
"args": [
"AssetBundleMCP",
"--version",
"0.1.2",
"--yes"
]
}
}
}
- For Gemini Cli:
.gemini/settings.json
{
"mcpServers": {
"AssetBundleMCP": {
"command": "dnx",
"args": [
"AssetBundleMCP",
"--version",
"0.1.2",
"--yes"
]
}
}
}
Before .NET 10 preview 6 (Not Recommended)
Clone the Repository:
Clone with the --recurse-submodules option to also fetch the Git submodules.
git clone --recurse-submodules [https://github.com/hanachiru/AssetBundleMCP.git](https://github.com/hanachiru/AssetBundleMCP.git) cd AssetBundleMCP
Build the Project:
dotnet build -c Release
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
{
"servers": {
"AssetBundleMCP": {
"type": "stdio",
"command": "dotnet",
"args": [
"run",
"--project",
"<PATH TO PROJECT DIRECTORY>/src/AssetBundleMCP/AssetBundleMCP.csproj"
]
}
}
}
- For Gemini Cli:
.gemini/settings.json
{
"mcpServers": {
"AssetBundleMCP": {
"command": "dotnet",
"args": [
"run",
"--project",
"<PATH TO PROJECT DIRECTORY>/src/AssetBundleMCP/AssetBundleMCP.csproj"
]
}
}
}
Usage
Loading AssetBundles:
Specify the directory path containing the AssetBundles you want to analyze and instruct the tool 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.
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
- To get a list of assets:
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 Name | Description |
---|---|
LoadAssetBundle |
Loads an AssetBundle for analysis. |
UnLoadAssetBundle |
Unloads the loaded database file. |
ListAnimations |
Lists all animations in the AssetBundle. |
ListAssetDependencies |
Lists all asset dependencies in the AssetBundle. |
ListAssets |
Lists all assets in the AssetBundle. |
ListAudioClips |
Lists all audio clips in the AssetBundle. |
ListMeshes |
Lists all meshes in the AssetBundle. |
ListObjects |
Lists all objects in the AssetBundle. |
ListShaderKeywordRatios |
Lists all shader keyword ratios in the AssetBundle. |
ListShaderSubprograms |
Lists all shader subprograms in the AssetBundle. |
ListShaders |
Lists all shaders in the AssetBundle. |
ListTextures |
Lists all textures in the AssetBundle. |
ListBreakdownByType |
Lists breakdown by type in the AssetBundle. |
ListBreakdownShaders |
Lists breakdown of shaders in the AssetBundle. |
ListMaterialShaderRefs |
Lists all material shader references in the AssetBundle. |
ListMaterialTextureRefs |
Lists all material texture references in the AssetBundle. |
ListPotentialDuplicates |
Lists all potential duplicates in the AssetBundle. |
ExecuteSqlQuery |
Executes 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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
Version | Downloads | Last Updated |
---|---|---|
0.2.4 | 145 | 8/31/2025 |
0.2.3 | 150 | 8/30/2025 |
0.2.2 | 152 | 8/30/2025 |
0.2.1 | 154 | 8/30/2025 |
0.2.0 | 160 | 8/30/2025 |
0.1.11 | 185 | 8/27/2025 |
0.1.10 | 177 | 8/26/2025 |
0.1.9 | 181 | 8/26/2025 |
0.1.8 | 149 | 8/25/2025 |
0.1.7 | 270 | 8/25/2025 |
0.1.6 | 265 | 8/25/2025 |
0.1.5 | 198 | 8/24/2025 |
0.1.4 | 152 | 8/24/2025 |
0.1.3 | 155 | 8/24/2025 |
0.1.2 | 158 | 8/24/2025 |