Logo van AssetBundleMCP

AssetBundleMCP

Community
hanachiru

MCP Server for easily and efficiently analyzing Unity AssetBundles.

Uitgeverhanachiru
RepositoryAssetBundleMCP
TaalC#
Forks
2
Sterren
24
Beschikbare tools
0
Transporttypestdio
Categorieën
LicentieMIT
Links
  • Koppel tools aan AI-workflows

    AssetBundleMCP biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • Beschikbare tools: 0

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Belangstelling voor het opensourceproject

    Statistieken van de gekoppelde repository (sterren: 24, forks: 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.

Installatie

TypingMind
Vereisten:

Node.js 18+

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

Gebruik AssetBundleMCP MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra AssetBundleMCP is verbonden, kun je de verbinding dus met verschillende AI-modellen in TypingMind gebruiken, zonder die voor elk model apart in te stellen. Deze MCP-integratie draait lokaal via de TypingMind MCP-connector op je apparaat.

Installatiehandleiding voor de lokale connector

Gebruik dit als de MCP-server toegang nodig heeft tot lokale bestanden, apps of privébronnen op je computer.

1

Open de MCP-instellingen

Ga in TypingMind naar Instellingen, Geavanceerde instellingen en vervolgens Model Context Protocol. Kies daar Connector instellen.

  1. Open TypingMind in je browser.
  2. Klik op het pictogram Instellingen.
  3. Ga naar Geavanceerde instellingen.
  4. Open het gedeelte Model Context Protocol.
  5. Klik op Connector instellen en kies Dit apparaat.
Instelscherm voor de TypingMind MCP-connector met Dit apparaat geselecteerd
2

Voer de connectoropdracht uit

Kies Dit apparaat, kopieer de opdracht uit TypingMind en voer deze uit in Terminal. Laat het proces draaien zolang je MCP gebruikt.

  1. Kopieer de installatieopdracht die TypingMind toont.
  2. Open Terminal op macOS of Windows Terminal op Windows.
  3. Plak de opdracht en voer deze uit.
  4. Keur de pakketinstallatie goed als Terminal vraagt of je wilt doorgaan.
  5. Laat het proces in het Terminal-venster draaien zolang je MCP-tools gebruikt.
3

Voeg AssetBundleMCP toe als server

Klik op Servers bewerken zodra de connectorstatus Gereed is en plak de MCP-serverconfiguratie.

  1. Wacht tot de connectorstatus op ‘Gereed’ staat.
  2. Klik op Servers bewerken.
  3. Plak de MCP-serverconfiguratie van AssetBundleMCP.
  4. Sla de serverlijst op.
  5. Vernieuw de pagina als je wilt controleren of de connectorstatus nog op ‘Gereed’ staat.
MCP-instellingen van TypingMind met een actieve server en de knop Servers bewerken
{
  "mcpServers": {
    "hanachiru-assetbundlemcp": {
      "command": "npx",
      "args": [
        "-y",
        "AssetBundleMCP"
      ]
    }
  }
}
4

Gebruik de verbinding met verschillende modellen

Sla de serverlijst op, open Plug-ins en schakel de MCP-tools van AssetBundleMCP in. Selecteer vervolgens een ondersteund AI-model in TypingMind en gebruik de tools in de chat of wijs ze toe aan een AI-agent.

  1. Open de pagina Plug-ins in TypingMind.
  2. Schakel de MCP-tools van AssetBundleMCP in.
  3. Start een chat en kies het AI-model dat je wilt gebruiken.
  4. Gebruik de MCP-tools in een chat of wijs ze toe aan een AI-agent.
  5. Schakel wanneer nodig over naar een ander AI-model zonder opnieuw verbinding te maken met MCP.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je AssetBundleMCP gebruiken om me hiermee te helpen?
AssetBundleMCP
Zeker. Ik heb het gelezen.
Dit vond ik met AssetBundleMCP.

Veelgestelde vragen

Waarvoor wordt de MCP-server AssetBundleMCP gebruikt?

AssetBundleMCP is een MCP-server waarmee compatibele AI-clients toegang krijgen tot externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik AssetBundleMCP MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je AssetBundleMCP gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom AssetBundleMCP MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als AssetBundleMCP verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik AssetBundleMCP MCP met TypingMind?

AssetBundleMCP werkt via de lokale MCP-connector van TypingMind. Dit is de beste optie als de MCP-server toegang nodig heeft tot lokale bestanden, desktopapps, opdrachtregeltools of privébronnen op je computer.

Welke tools biedt AssetBundleMCP MCP in TypingMind?

AssetBundleMCP biedt MCP-functies die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om AssetBundleMCP MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als AssetBundleMCP authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Gerelateerde MCP-servers

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇