
3d Texture Toolkit
io.github.JiangShan118由 GitHub 账号 JiangShan118 发布v0.1.1更新于 Oct 24, 2026
Extract embedded PBR texture maps from local GLB files.
概览
本地 MCP 服务器,从 GLB 三维模型文件中提取内嵌的 PBR 贴图并输出为图像文件。
- 可以做什么
- 从本地 GLB 2.0 文件提取 PBR 贴图,可指定输出目录并选择是否覆盖已有文件。
- 按原始 PNG、JPEG 或 WebP 字节原样导出基础色与法线贴图。
- 将打包的 glTF 金属-粗糙度贴图拆分为独立的灰度粗糙度与金属度 PNG,并套用材质系数。
- 报告已写入的文件、被跳过的贴图以及警告信息。
- 适用场景
- 适用于手头有内嵌贴图的 GLB 模型,希望把各张 PBR 贴图单独导出到磁盘以便编辑、检查或在其他流程中复用的情况。功能单一,仅用于 GLB 贴图提取。
- 运行要求
- 需要 Node.js 20 或更高版本,以及支持本地 stdio 服务器的 MCP 客户端,通过 npx 在本地运行。GLB 文件与输出目录须对运行该服务器的机器可读写。无需账号、API 密钥或网络访问。
安装
在 SourceWeft 中
- 打开 控制台中的 3d Texture Toolkit,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
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:
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:
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>-texturesis created beside the GLB.overwrite(optional, defaults tofalse): 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版本历史
1- v0.1.1最新Oct 14, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分