Meshy MCP Server
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., "@Meshy MCP Server Generate a 3D model of a medieval castle"
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.
Meshy MCP Server
An MCP (Model Context Protocol) server that gives AI assistants the power to generate 3D models, textures, and images through the Meshy.ai API.
Ask Claude to "create a 3D model of a medieval castle" and it will handle the entire workflow — generating previews, refining models, remeshing for export, and more — all through natural conversation.
Features
Feature | Description |
Text to 3D | Generate 3D models from text descriptions with a preview + refine workflow |
Image to 3D | Create 3D models from a single reference image |
Multi-Image to 3D | Generate 3D from up to 4 reference images for better accuracy |
Remesh & Export | Re-mesh models and export in glb, fbx, obj, usdz, blend, or stl |
Retexture | Apply new textures to existing 3D models via text or image style reference |
Text to Image | Generate images from text (useful as input for image-to-3D pipelines) |
Rigging | Auto-rig humanoid 3D models for animation (GLB format, max 300k faces) |
Animation | Apply 500+ animations to rigged models from the Meshy animation library |
Image to Image | Transform and edit images using reference images and text prompts |
Balance | Check your Meshy credit balance |
Related MCP server: meshy-mcp
Prerequisites
Node.js 18+ (uses native
fetch)Meshy API Key — sign up at meshy.ai and get your key from API Settings
Installation
From npm
npm install -g meshy-mcp-serverFrom source
git clone https://github.com/gwizards/meshy-mcp-server.git
cd meshy-mcp-server
npm install
npm run buildConfiguration
Claude Code
Add to your project .mcp.json or ~/.claude/settings.json:
{
"mcpServers": {
"meshy": {
"command": "node",
"args": ["/absolute/path/to/meshy-mcp-server/dist/index.js"],
"env": {
"MESHY_API_KEY": "your-api-key-here"
}
}
}
}Claude Desktop
Add to your config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"meshy": {
"command": "node",
"args": ["/absolute/path/to/meshy-mcp-server/dist/index.js"],
"env": {
"MESHY_API_KEY": "your-api-key-here"
}
}
}
}Usage
Text-to-3D Workflow
The most common workflow uses wait_for_task to handle polling automatically:
Generate preview —
text_to_3d_createwithmode: "preview"and your promptWait for completion —
wait_for_taskwithtask_type: "text_to_3d"— returns download URLs when doneRefine the model —
text_to_3d_createwithmode: "refine"and thepreview_task_idWait again —
wait_for_taskreturns the final model with download URLsExport (optional) —
remesh_createthenwait_for_task
Image-to-3D Pipeline
Combine text-to-image with image-to-3D for a fully text-driven pipeline:
Generate reference image —
text_to_image_createwith your descriptionWait for image —
wait_for_taskwithtask_type: "text_to_image"Generate 3D from image —
image_to_3d_createwith the resulting image URLWait for 3D model —
wait_for_taskwithtask_type: "image_to_3d"
Rigging & Animation Pipeline
Generate 3D model — any
_createtoolRig the model —
rigging_createwith the task ID or model URLWait for rigging —
wait_for_taskwithtask_type: "rigging"Animate —
animation_createwith the rigging task ID and action IDWait for animation —
wait_for_taskwithtask_type: "animation"
Example Prompts
Once configured, you can ask Claude things like:
"Generate a 3D model of a low-poly fox"
"Create a medieval sword with PBR textures and export as FBX"
"Take this image and turn it into a 3D model"
"Retexture my model with a cyberpunk style"
"Rig this model and apply a walking animation"
"Transform this photo into a different style"
"How many credits do I have left?"
Available Tools
Text to 3D
Tool | Description |
| Generate 3D from text (preview or refine mode) |
| Check task status and retrieve results |
| List tasks with pagination |
| Delete a task |
Image to 3D
Tool | Description |
| Generate 3D from a single image URL or base64 data URI |
| Check task status |
| List tasks |
| Delete a task |
Multi-Image to 3D
Tool | Description |
| Generate 3D from 1-4 reference images |
| Check task status |
| List tasks |
| Delete a task |
Remesh & Export
Tool | Description |
| Remesh and export to glb, fbx, obj, usdz, blend, or stl |
| Check task status |
| List tasks |
| Delete a task |
Retexture
Tool | Description |
| Apply new textures via text prompt or style image |
| Check task status |
| List tasks |
| Delete a task |
Text to Image
Tool | Description |
| Generate images (models: |
| Check task status |
| List tasks |
| Delete a task |
Rigging
Tool | Description |
| Auto-rig a humanoid 3D model (GLB, max 300k faces) |
| Check rigging task status |
| Delete a rigging task |
Animation
Tool | Description |
| Apply animation to a rigged model (500+ actions) |
| Check animation task status |
| Delete an animation task |
Image to Image
Tool | Description |
| Transform images with text prompts and references |
| Check task status |
| List tasks |
| Delete a task |
Workflow Helpers
Tool | Description |
| Poll any task until completion — replaces manual |
Account
Tool | Description |
| Check your Meshy credit balance |
Task Lifecycle
All generation tasks follow the same async pattern:
CREATE → PENDING → IN_PROGRESS → SUCCEEDED / FAILEDPENDING — Task is queued
IN_PROGRESS — Generation is running (
progressfield shows 0-100%)SUCCEEDED — Complete.
model_urls,texture_urls, andthumbnail_urlare availableFAILED — Check
task_error.messagefor detailsCANCELED — Task was canceled
Error Handling
All tools return structured errors via MCP's isError flag instead of raw exceptions:
Validation errors — Missing required fields (e.g., prompt in preview mode) return clear messages
API errors — HTTP errors from Meshy include status code and response body
Network errors — Transient failures (429, 500, 502, 503, 504) are retried automatically with exponential backoff (1s, 2s, 4s — max 3 retries). 429 responses respect the
Retry-Afterheader
Project Structure
meshy-mcp-server/
├── src/
│ ├── index.ts # MCP server setup, 36 tool definitions, validation
│ └── meshy-client.ts # Meshy API client with retry logic
├── tests/
│ ├── meshy-client.test.ts # Client retry/error tests
│ └── tools.test.ts # End-to-end MCP tool tests
├── .github/workflows/ci.yml # GitHub Actions CI (Node 18/20/22)
├── dist/ # Compiled output (generated by npm run build)
├── CLAUDE.md # Project conventions for AI assistants
├── package.json
├── tsconfig.json
├── vitest.config.ts
└── README.mdTech Stack
Component | Technology |
Language | TypeScript (strict mode) |
Runtime | Node.js 18+ |
MCP SDK |
|
Validation | Zod ^4.3.6 |
Testing | Vitest |
Transport | stdio |
Module System | ES modules |
Build |
|
Development
npm run dev # Run with tsx (auto-reload)
npm run build # Compile TypeScript
npm test # Run test suite
npm start # Run compiled versionAPI Reference
This server wraps the Meshy API v1/v2. Key endpoints used:
Meshy API | Server Tools |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Credits
Created by Mr Polti from Wizards.
License
MIT
Available Tools
36 toolsanimation_createA
Apply an animation to a rigged model. Requires a completed rigging task. Common categories: DailyActions (0=Idle), WalkAndRun (1=Walking), Fighting (4=Attack), Dancing (22-24), BodyMovements. See Meshy animation library for full list of 500+ action IDs.
Inputs: rig_task_id (required), action_id (required), post_process.
animation_deleteB
Delete an animation task.
Inputs: id (required).
animation_getB
Check the status of an animation task.
Inputs: id (required).
get_balanceA
Check your Meshy account credit balance.
Inputs: no named parameters.
image_to_3d_createB
Generate a 3D model from a single image. The image_url must be publicly accessible or a base64 data URI.
Inputs: image_url (required), ai_model, model_type, topology, +12 more.
image_to_3d_deleteB
Delete an image-to-3D task.
Inputs: id (required).
image_to_3d_getA
Check the status of an image-to-3D task.
Inputs: id (required).
image_to_3d_listC
List image-to-3D tasks.
Inputs: page_num, page_size, sort_by.
image_to_image_createB
Transform and edit an existing image using reference images and a text prompt. Models: 'nano-banana' or 'nano-banana-pro'.
Inputs: ai_model (required), prompt (required), reference_image_urls (required), generate_multi_view.
image_to_image_deleteB
Delete an image-to-image task.
Inputs: id (required).
image_to_image_getA
Check the status of an image-to-image task.
Inputs: id (required).
image_to_image_listC
List image-to-image tasks.
Inputs: page_num, page_size, sort_by.
multi_image_to_3d_createA
Generate a 3D model from multiple images (1-4). Provide publicly accessible URLs.
Inputs: image_urls (required), ai_model, topology, target_polycount, +11 more.
multi_image_to_3d_deleteB
Delete a multi-image-to-3D task.
Inputs: id (required).
multi_image_to_3d_getB
Check the status of a multi-image-to-3D task.
Inputs: id (required).
multi_image_to_3d_listC
List multi-image-to-3D tasks.
Inputs: page_num, page_size, sort_by.
remesh_createB
Remesh and export a 3D model into various formats (glb, fbx, obj, usdz, blend, stl). Provide either input_task_id or model_url.
Inputs: input_task_id, model_url, target_formats, topology, +4 more.
remesh_deleteB
Delete a remesh task.
Inputs: id (required).
remesh_getB
Check the status of a remesh task.
Inputs: id (required).
remesh_listC
List remesh tasks.
Inputs: page_num, page_size, sort_by.
retexture_createB
Apply new textures to a 3D model. Provide either input_task_id or model_url, and either text_style_prompt or image_style_url.
Inputs: input_task_id, model_url, text_style_prompt, image_style_url, +5 more.
retexture_deleteC
Delete a retexture task.
Inputs: id (required).
retexture_getB
Check the status of a retexture task.
Inputs: id (required).
retexture_listC
List retexture tasks.
Inputs: page_num, page_size, sort_by.
rigging_createA
Auto-rig a humanoid 3D model for animation. Requires GLB format, max 300k faces (use remesh first if over). Provide either input_task_id or model_url.
Inputs: input_task_id, model_url, height_meters, texture_image_url.
rigging_deleteC
Delete a rigging task.
Inputs: id (required).
rigging_getB
Check the status of a rigging task.
Inputs: id (required).
text_to_3d_createA
Generate a 3D model from a text prompt. Returns a task ID to poll for results. Use mode 'preview' first, then 'refine' with the preview_task_id.
Inputs: mode (required), prompt, preview_task_id, art_style, +13 more.
text_to_3d_deleteC
Delete a text-to-3D task.
Inputs: id (required).
text_to_3d_getA
Check the status of a text-to-3D task. Use wait_for_task to poll until complete.
Inputs: id (required).
text_to_3d_listB
List text-to-3D tasks with pagination.
Inputs: page_num, page_size, sort_by.
text_to_image_createB
Generate an image from text (useful as input for image-to-3D). Models: 'nano-banana' or 'nano-banana-pro'.
Inputs: ai_model (required), prompt (required), generate_multi_view, pose_mode, +2 more.
text_to_image_deleteB
Delete a text-to-image task.
Inputs: id (required).
text_to_image_getB
Check the status of a text-to-image task.
Inputs: id (required).
text_to_image_listB
List text-to-image tasks.
Inputs: page_num, page_size, sort_by.
wait_for_taskA
Poll a task until it reaches a terminal state (SUCCEEDED, FAILED, or CANCELED). Returns the final task result with download URLs. Use this instead of manually calling _get in a loop.
Inputs: task_type (required), task_id (required), poll_interval, timeout.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 36 tools
Each tool targets a distinct resource (e.g., text_to_3d, image_to_3d, retexture) and action (create, get, delete, list), with no overlap. Helper tools like wait_for_task and get_balance are clearly separate. An agent can easily distinguish purposes.
All tools follow a strict 'category_action' snake_case pattern (e.g., text_to_3d_create, image_to_image_list). No mixing of conventions, and the naming is predictable and readable.
36 tools is high, but justified by the breadth of the domain (text, image, multi-image, retexture, remesh, rigging, animation) where each feature requires CRUD operations plus a few utilities. Slightly above the ideal range, but not excessive given the complexity.
The tool set covers the full lifecycle for each 3D generation/modification feature: create, get status, delete, and list. Additionally, there are helpers (wait_for_task, get_balance) and supporting tools (text_to_image, image_to_image). No obvious gaps for the stated purpose of 3D asset creation and editing.
Maintenance
Related MCP Connectors
Generate images, video, music, voice and 3D through one API. 30 tools, 200+ models.
Build and edit Spline 3D scenes from any AI tool: create files, generate 3D models and images.
Turn text or an image into an animation-ready 3D model (GLB): generate, rig, animate, retexture.
Image and video AI tools and your own pipelines, run from any AI assistant.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with the Tripo3D AI API to generate 3D models from text, images, or multiview inputs. It supports advanced features like model animation, stylization, and real-time task status tracking.7ISC
- AlicenseAqualityDmaintenanceEnables Claude to generate 3D models from text or images, apply textures, and export to GLB/FBX/USDZ using the Meshy AI API.63MIT
- AlicenseCqualityDmaintenanceWraps the Meshy AI API to enable generative 3D tools via Model Context Protocol, allowing creation of 3D models, textures, animations, and more from text or images.5145 npm43MIT
- AlicenseNot gradedqualityDmaintenanceEnables to generate 3D models from text and images, apply textures, and remesh models using the Meshy AI API.6MIT