io.github.JiangShan118/3d-texture-toolkit

السجل الرسمي الخرائط والسفر والطقس

Extract embedded PBR texture maps from local GLB files.

ماذا يمكنك أن تفعل مع io.github.JiangShan118/3d-texture-toolkit؟

  • glb_path (required): path to a local GLB 2.0 file.
  • output_dir (optional): output folder. By default, a folder named
  • overwrite (optional, defaults to false): replace files with matching

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package 3d-texture-toolkit-mcp
Claude Code
claude mcp add 3d-texture-toolkit -- npx -y 3d-texture-toolkit-mcp@0.1.1
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "3d-texture-toolkit": {
            "command": "npx",
            "args": [
                "-y",
                "3d-texture-toolkit-mcp@0.1.1"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. 3D Texture Toolkit MCP
  2. Requirements
  3. Install and run
  4. Client configuration
  5. Tool inputs
  6. Privacy
  7. Limitations
  8. Publication status

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:

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:

{
  "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.

الأسئلة الشائعة

ما هو io.github.JiangShan118/3d-texture-toolkit؟

Extract embedded PBR texture maps from local GLB files.

كيف أثبّت io.github.JiangShan118/3d-texture-toolkit؟

يعمل على جهازك. في Claude Code: claude mcp add 3d-texture-toolkit -- npx -y 3d-texture-toolkit-mcp@0.1.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.JiangShan118/3d-texture-toolkit إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل io.github.JiangShan118/3d-texture-toolkit مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.JiangShan118/3d-texture-toolkit؟

ينشره JiangShan118. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.