3d Texture Toolkit

io.github.JiangShan118由 GitHub 帳號 JiangShan118 發布v0.1.1更新於 Oct 24, 2026

Extract embedded PBR texture maps from local GLB files.

已驗證STDIO僅桌面檔案與儲存媒體與設計

概覽

AI 產生的概覽

本機 MCP 伺服器,從 GLB 3D 模型檔案中擷取內嵌的 PBR 貼圖並輸出為影像檔。

可以做什麼
  • 從本機 GLB 2.0 檔案擷取 PBR 貼圖,可指定輸出資料夾並選擇是否覆寫既有檔案。
  • 以原始 PNG、JPEG 或 WebP 位元組原樣匯出基礎色與法線貼圖。
  • 將打包的 glTF 金屬-粗糙度貼圖拆分為獨立的灰階粗糙度與金屬度 PNG,並套用材質係數。
  • 回報已寫入的檔案、被略過的貼圖以及警告訊息。
適用情境
適用於手邊有內嵌貼圖的 GLB 模型,想把各張 PBR 貼圖單獨匯出到磁碟以便編輯、檢視或在其他流程中重用。功能單一,僅用於 GLB 貼圖擷取。
執行需求
需要 Node.js 20 或更新版本,以及支援本機 stdio 伺服器的 MCP 用戶端,透過 npx 在本機執行。GLB 檔案與輸出資料夾須對執行伺服器的機器可讀寫。不需帳號、API 金鑰或網路存取。
安裝前請注意
此工具會將影像檔寫入磁碟;預設略過同名的既有檔案,啟用 overwrite 後會將其取代。僅支援內嵌影像的 GLB 2.0,不處理外部 URL、KTX2/Basis 格式、遮蔽與自發光貼圖以及貼圖轉換。超過 512 MiB 的檔案與超過 1 億像素的影像會被拒絕。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 3d Texture Toolkit,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

3D Texture Toolkit MCP

A local MCP server that extracts embedded PBR texture images from GLB files. It exposes one tool: extract_pbr_maps.

Requirements

  • Node.js 20 or newer
  • An MCP client that supports local stdio servers

Install and run

After this package is published to npm, install it in an MCP client using npx:

sh
npx -y 3d-texture-toolkit-mcp

The server reads the GLB path supplied by the MCP client and writes extracted images to disk. Base color and normal images keep their original PNG, JPEG, or WebP bytes. The glTF metallic-roughness image is split into grayscale PNG files: roughness comes from the green channel and metallic comes from the blue channel. The corresponding glTF material factors are applied to those two maps.

Client configuration

Example configuration for an MCP client that accepts a mcpServers object:

json
{  "mcpServers": {    "3d-texture-toolkit": {      "command": "npx",      "args": ["-y", "3d-texture-toolkit-mcp"]    }  }}

For local development before an npm release, build the package and point the client at node with the absolute path to dist/index.js as its argument.

Tool inputs

  • glb_path (required): path to a local GLB 2.0 file.
  • output_dir (optional): output folder. By default, a folder named <glb-name>-textures is created beside the GLB.
  • overwrite (optional, defaults to false): replace files with matching output names. Existing files are skipped by default.

Output names include the material number, a sanitized material name, and the map type. The tool reports written files, skipped maps, and warnings.

Privacy

The server processes files on your computer. It makes no network requests and does not upload model or texture data. The GLB and output directory must be accessible to the machine running the MCP server.

Limitations

  • Supports GLB 2.0 with embedded images in buffer views or supported PNG, JPEG, and WebP data URIs.
  • External image URLs and external buffer files are not read.
  • Other image formats, including KTX2 and Basis Universal, are not decoded.
  • Texture transforms, alternate UV sets, occlusion maps, emissive maps, and extensions that alter material interpretation are not applied.
  • Packed metallic-roughness images are converted to grayscale PNGs. Base color and normal images are copied without recompression.
  • Files larger than 512 MiB and decoded images above 100 million pixels are rejected by safety limits.

Publication status

The package name is 3d-texture-toolkit-mcp, and this repository includes server.json metadata for the official MCP Registry. The package uses the MIT License. After submitting it to the Registry, verify that the server is visible there; the metadata alone does not confirm a Registry listing.

來源:README.md,提交 4fa8437

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.1最新Oct 14, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分