Skip to main content
Glama

MCP Three - 3D Model Processing Server

A Model Context Protocol (MCP) server specialized for working with 3D models, specifically GLTF/GLB files. This server provides tools to convert 3D models into React Three Fiber JSX components and analyze model structures.

Features

  • GLTF/GLB to JSX Conversion: Convert 3D models into reusable React Three Fiber components

  • Model Structure Analysis: Inspect and debug 3D model hierarchies and properties

  • Performance Optimization: Support for instancing, mesh simplification, and texture optimization

  • TypeScript Support: Generate type-safe React components with proper TypeScript definitions

Related MCP server: threejs-devtools-mcp

Tools Available

1. gltfjsx

Converts GLTF/GLB 3D model files into declarative React (react-three-fiber) JSX components.

Features:

  • TypeScript definitions generation

  • Mesh and material instancing for performance

  • Texture format conversion and optimization

  • Mesh simplification

  • Shadow casting/receiving setup

  • Bone layout for animations

  • Metadata preservation

2. get-model-structure

Analyzes and returns the structure of a GLTF/GLB model file as JSON. Useful for debugging complex models and understanding their hierarchy before conversion.

Getting Started

Add this server to your MCP client configuration:

{
  "mcpServers": {
    "mcp-three": {
      "command": "npx",
      "args": ["mcp-three"]
    }
  }
}

Supported File Formats

  • .gltf - GLTF JSON format

  • .glb - GLTF Binary format

Common Use Cases

  1. Converting 3D Models for Web Apps: Transform GLTF/GLB files into optimized React components

  2. Model Debugging: Inspect model structure and properties before integration

  3. Performance Optimization: Generate instanced meshes and optimized textures

  4. Animation Setup: Prepare models with proper bone layouts for animations

This project is built using the xmcp framework.

Available Tools

2 tools
get-model-structureA
Read-onlyIdempotent

Get the structure of a GLTF/GLB model file. This tool loads the file and returns the parsed scene structure as JSON, using GLTFStructureLoader from gltfjsx. Use this tool for complex model debugging and not implementation. For code generation use the gltfx tool.

Inputs: modelPath (required).

gltfjsxA
Read-onlyIdempotent

Converts a GLTF/GLB 3D model file into a reusable, declarative React (react-three-fiber) JSX component. Supports options for TypeScript output, mesh/material instancing, pruning, compression, texture format, mesh simplification, and more. Useful for integrating 3D assets into React apps with optimal performance and flexibility.

Inputs: modelPath (required), options (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: get-model-structure is for debugging and analysis by returning parsed JSON structure, while gltfjsx is for code generation by converting models into React components. There is no overlap in functionality, making it easy for an agent to choose the correct tool based on the task.

    Naming Consistency4/5

    The tool names follow different conventions: get-model-structure uses kebab-case with a verb-noun pattern, while gltfjsx is a specific tool name without a clear verb. This minor deviation prevents a perfect score, but the names are still readable and descriptive enough for their functions.

    Tool Count3/5

    With only 2 tools, the server feels thin for handling GLTF/GLB models, as it might lack operations like model validation, editing, or export. However, the tools cover core tasks of analysis and code generation, making it borderline appropriate but potentially incomplete for broader workflows.

    Completeness3/5

    The server covers two key aspects: model structure analysis and React component generation. However, there are notable gaps, such as no tools for model creation, updating, or deletion, and no support for non-React frameworks or basic file operations, which could limit agent capabilities in full model lifecycle management.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI agents to inspect and modify live Three.js scenes in real time through 59 tools covering objects, materials, shaders, textures, animations, performance monitoring, memory diagnostics, and code generation. Works with vanilla Three.js, React Three Fiber, and any framework without changing your project, using an injected browser bridge and in-page devtools overlay.
      5,202 npm
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI agents to inspect and live-edit running Three.js or React Three Fiber scenes in the browser, covering objects, materials, shaders, textures, lights, animation, performance and memory without modifying the project. Previewed changes can be converted into ready-to-paste vanilla Three.js or React Three Fiber code, and it also supports website audits, video frame capture and Playwright helpers.
      5,202 npm
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI agents to inspect Three.js and React Three Fiber scenes in a live browser and experiment with changes to objects, materials, shaders, textures, lighting, animation and performance without touching project code. Previewed adjustments can be converted into ready-to-paste vanilla Three.js or R3F source code, and the server also offers website performance audits, frame capture for video, and Playwright/Puppeteer helpers.
      5,202 npm
      MIT