Logo AssetBundleMCP

AssetBundleMCP

Cộng đồng
hanachiru

MCP Server for easily and efficiently analyzing Unity AssetBundles.

Nhà phát hànhhanachiru
Kho mãAssetBundleMCP
Ngôn ngữC#
Bản fork
2
Sao
24
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    AssetBundleMCP cung cấp các chức năng MCP cho các ứng dụng khách AI và tác nhân AI tương thích.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Mẫu cấu hình có thể sao chép ngay

    Dùng các đoạn cấu hình mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Mức độ quan tâm của cộng đồng đến kho mã

    24 sao và 2 bản fork từ kho mã được liên kết.

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.

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

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

Dùng MCP AssetBundleMCP với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối AssetBundleMCP, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Thiết lập trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Thiết lập trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh thiết lập trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Để tiến trình tiếp tục chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Để tiến trình tiếp tục chạy trong cửa sổ Terminal khi bạn dùng các công cụ MCP.
3

Thêm AssetBundleMCP làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của AssetBundleMCP.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "hanachiru-assetbundlemcp": {
      "command": "npx",
      "args": [
        "-y",
        "AssetBundleMCP"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của AssetBundleMCP, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của AssetBundleMCP.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện trên TypingMind dùng các công cụ MCP đã bật với mô hình AI đã chọn
Bạn có thể dùng AssetBundleMCP giúp tôi làm việc này không?
AssetBundleMCP
Được. Tôi đọc rồi.
Đây là kết quả tôi tìm được bằng AssetBundleMCP.

Câu hỏi thường gặp

Máy chủ MCP AssetBundleMCP dùng để làm gì?

AssetBundleMCP là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP AssetBundleMCP với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng AssetBundleMCP với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP AssetBundleMCP với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối AssetBundleMCP, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP AssetBundleMCP với TypingMind?

AssetBundleMCP hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP AssetBundleMCP cung cấp những công cụ nào trong TypingMind?

AssetBundleMCP cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP AssetBundleMCP không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu AssetBundleMCP yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇