MCP Three
Converts GLTF/GLB 3D model files into React Three Fiber JSX components and analyzes model structures, with support for performance optimization, mesh instancing, and texture conversion.
Generates declarative React Three Fiber components from 3D models, including TypeScript definitions, instanced meshes, animation bone layouts, and optimized rendering configurations.
Generates type-safe React components with proper TypeScript definitions when converting 3D models to JSX format.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Three convert this character model to JSX with TypeScript support"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Converting 3D Models for Web Apps: Transform GLTF/GLB files into optimized React components
Model Debugging: Inspect model structure and properties before integration
Performance Optimization: Generate instanced meshes and optimized textures
Animation Setup: Prepare models with proper bone layouts for animations
This project is built using the xmcp framework.
Available Tools
2 toolsget-model-structureARead-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).
gltfjsxARead-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
Scored across 2 tools
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.
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.
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.
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
Related MCP Connectors
3D avatar/asset foundry: text/image -> rigged, validated, engine-ready GLB via x402.
Turn text or an image into an animation-ready 3D model (GLB): generate, rig, animate, retexture.
Geometry and CAD file metadata extraction for STL, OBJ, PLY, PCD, LAS/LAZ, glTF/GLB.
Free text/image → 3D: generate, rig, avatar-ify, and refine GLB models. No auth, no payment.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables processing, validation, optimization, and analysis of 3D models with glTF/GLB support, including format conversion, compression (Meshopt/Draco), texture optimization, and detailed model statistics.31 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables 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 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables 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 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables 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 npmMIT