Sandbox
@meshy-dev/meshy-mcp-server

MCP server for Meshy AI 3D generation

This server exposes Meshy’s 3D generation and print-prep API as MCP tools. An agent can turn text or images into models, refine or retexture them, rig and animate characters, check printability, and download results.

42 stars8 forksTypeScriptUpdated 26d ago
Who it's for

Builders who want their agent to create and prepare 3D assets in Meshy from conversation.

What it delivers

You can ask an agent to generate, manage, and prepare 3D assets without leaving your chat client.

What it does

Text to 3D and image to 3D

Tools like `meshy_text_to_3d`, `meshy_text_to_3d_refine`, `meshy_image_to_3d`, and `meshy_multi_image_to_3d` create 3D models from prompts or reference images.

Creative Lab product generation

`meshy_creative_lab` turns a photo or text into print-ready products such as figures, keycaps, lamps, and fridge magnets.

Post-processing tools

Tools for remeshing, retexturing, rigging, animating, converting, resizing, and UV unwrapping models.

3D printability workflow

`meshy_analyze_printability`, `meshy_repair_printability`, and `meshy_process_multicolor` help prepare models for printing.

Task and workspace management

Tools like `meshy_get_task_status`, `meshy_list_tasks`, `meshy_cancel_task`, `meshy_download_model`, and `meshy_list_models` handle long-running jobs and saved assets.

Built-in server instructions

`src/instructions.ts` guides the agent through the right tool chain for each Meshy workflow.

How to get it

  1. 1add-mcp auto-detects every AI client on your machine (Cursor, Claude Code, Claude…
    npx add-mcp @meshy-ai/meshy-mcp-server --env MESHY_API_KEY=msy_YOUR_API_KEY
  2. 2Already chatting with Cursor / Claude Code / Codex? Paste this prompt
    Install the Meshy MCP server for me. Docs: https://github.com/meshy-dev/meshy-mcp-server
    Use this env var: MESHY_API_KEY=msy_YOUR_API_KEY
  3. 3Windows: replace "command": "npx" with "command": "cmd" and "args": ["/c", "npx", "-y",…
    claude mcp add-json meshy '{"command":"npx","args":["-y","@meshy-ai/meshy-mcp-server"],"env":{"MESHY_API_KEY":"msy_YOUR_API_KEY"}}'

README

Meshy MCP Server

Model Context Protocol (MCP) server for the Meshy AI 3D generation platform. Enables AI agents to create, manage, and download 3D models, textures, images, rigged characters, and animations through natural conversation.

Features

24 tools covering the full Meshy API:

CategoryTools
3D Generationmeshy_text_to_3d, meshy_text_to_3d_refine, meshy_image_to_3d, meshy_multi_image_to_3d
Creative Labmeshy_creative_lab (7 products)
Post-Processingmeshy_remesh, meshy_retexture, meshy_rig, meshy_animate
Conversionmeshy_convert, meshy_resize, meshy_uv_unwrap
Image Generationmeshy_text_to_image, meshy_image_to_image
Task Managementmeshy_get_task_status, meshy_list_tasks, meshy_cancel_task, meshy_download_model
Workspacemeshy_list_models
3D Printingmeshy_send_to_slicer, meshy_analyze_printability, meshy_repair_printability, meshy_process_multicolor
Accountmeshy_check_balance

Key Capabilities

  • Text to 3D: Generate 3D models from text descriptions (preview + refine pipeline)
  • Image to 3D: Convert single or multiple images into 3D models
  • Meshy 7 + Ultra (v0.5.0): ai_model: "meshy-7" on image-to-3d, multi-image-to-3d and retexture, plus ultra_mode for an extra high-detail geometry pass (+5 credits, single-image only)
  • Smart Topology (v0.5.0): model_type: "smart-topology" (models meshy-t2 / meshy-t1) produces part-separated geometry with a configurable polycount for 5 credits of mesh instead of 20
  • 8K Textures (v0.5.0): texture_resolution: "2k" | "4k" | "8k" on image-to-3d, multi-image-to-3d, text-to-3d refine and retexture (8K costs 15 credits vs 10). Replaces the now-deprecated hd_texture flag
  • Multi-view Retexture (v0.5.0): multiview_image_urls — 1–4 ordered views of the same object drive the texture instead of a single style reference (requires Meshy 7)
  • Auto-Rigging & Animation: Add skeletons and animations to humanoid characters
  • Creative Lab: One tool — a photo or a line of text → a finished, print-ready product. 7 products (v0.5.0): figure, lamp, keychain, fridge-magnet, vinyl-figure, brick-figure and keycap. Runs prototype→build end-to-end and returns only the final 3D model
  • Format & Size Utilities: convert (format conversion incl. 3MF, 1 credit), resize (real-world dimensions, 1 credit), uv_unwrap (clean UV layout for external texturing, 5 credits)
  • 2D Image Models: text_to_image / image_to_image support nano-banana, nano-banana-2, nano-banana-pro and gpt-image-2
  • 3D Printability Suite:
    • analyze_printability — free FDM check (watertight, volume, holes, non-manifold edges, degenerate faces)
    • repair_printability — 10-credit topology repair, now also accepting .fbx / .gltf input (v0.5.0)
    • process_multicolor — 10-credit multi-color 3MF for AMS/MMU printers
  • Slicer Integration: Auto-detect 7 installed slicers (OrcaSlicer, Bambu, Creality, Elegoo, Anycubic, PrusaSlicer, Cura) and return launch commands the agent can execute
  • Smart File Organization: Auto-saves to meshy_output/ with project folders, metadata, and history tracking
  • Built-in Workflow Intelligence: Server instructions guide the agent through correct tool chains for each use case

Models & Credits

ai_model is not the same set on every endpoint, and latest does not resolve to the same model everywhere:

EndpointAccepted ai_modellatest resolves to
meshy_image_to_3dmeshy-5, meshy-6, meshy-7, latest — plus meshy-t1 / meshy-t2 with model_type: "smart-topology"Meshy 7
meshy_multi_image_to_3dmeshy-5, meshy-6, meshy-7, latestMeshy 7
meshy_retexturemeshy-5, meshy-6, meshy-7, latestMeshy 7
meshy_text_to_3d / _refinemeshy-5, meshy-6, latestno meshy-7Meshy 6

Image-to-3D cost by model:

ai_modelMesh only+ texture+ 8K texture
meshy-7 / latest203035
meshy-6203035
meshy-t2 (smart-topology)51520
meshy-5515

ultra_mode: true adds +5 credits. Creative Lab is 36 credits (6 + 30) for every product except keycap, which is 62 (12 + 50). Other tools: remesh 5, rig 5, animate 3, convert 1, resize 1, uv-unwrap 5, analyze-printability free, repair-printability 10, multicolor 10.

Prerequisites

  • Node.js >= 18
  • A Meshy API key (get one here — requires Pro plan or above)

Installation

Pick whichever fits your workflow — they all produce the same config.

Option 1 · One-Command Install · Recommended

add-mcp auto-detects every AI client on your machine (Cursor, Claude Code, Claude Desktop, Windsurf, Codex, VS Code, Cline, …) and writes the right config to each:

npx add-mcp @meshy-ai/meshy-mcp-server --env MESHY_API_KEY=msy_YOUR_API_KEY

After it finishes, jump to Activate for your client.

Option 2 · Install by Asking Your AI Agent

Already chatting with Cursor / Claude Code / Codex? Paste this prompt:

Install the Meshy MCP server for me. Docs: https://github.com/meshy-dev/meshy-mcp-server
Use this env var: MESHY_API_KEY=msy_YOUR_API_KEY

The agent will run add-mcp (or write mcp.json directly) and tell you when it's ready. You'll still need the Activate step for your client.

Option 3 · Manual Install

Cursor

Paste into .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):

{
  "mcpServers": {
    "meshy": {
      "command": "npx",
      "args": ["-y", "@meshy-ai/meshy-mcp-server"],
      "env": { "MESHY_API_KEY": "msy_YOUR_API_KEY" }
    }
  }
}

Windows: replace "command": "npx" with "command": "cmd" and "args": ["/c", "npx", "-y", "@meshy-ai/meshy-mcp-server"].

Claude Code
claude mcp add-json meshy '{"command":"npx","args":["-y","@meshy-ai/meshy-mcp-server"],"env":{"MESHY_API_KEY":"msy_YOUR_API_KEY"}}'
Other clients (Windsurf, Claude Desktop, Codex, VS Code, Cline…)

Use Option 1add-mcp writes the correct config for each.

Activate After Install

Most clients auto-load the new server, but Cursor and VS Code require a manual toggle:

ClientWhat to doVerify
CursorRestart → SettingsMCP & Integrations → toggle meshy on → wait for green dot ● → open a new chatList the meshy tools available
Claude CodeNothing — auto-loads on next message/mcp shows meshy ✓ connected
Claude DesktopQuit & relaunch the appList the meshy tools available
WindsurfRefresh in the Cascade panel's MCP sectionList the meshy tools available
VS CodeRun command MCP: List Servers → click meshyStartList the meshy tools available
CodexNothing — auto-loads on next sessionList the meshy tools available

Troubleshooting

  • MESHY_API_KEY environment variable is required — the key didn't reach the server. Make sure it sits inside an "env": {...} block in your mcp.json, not in args.
  • spawn npx ENOENT (Windows) — wrap with cmd /c (see Cursor block above).
  • error: unknown option '-y' (Claude Code on Windows) — use claude mcp add-json instead of claude mcp add … -- npx -y ….
  • Cursor doesn't list meshy — make sure mcp.json is valid JSON (no trailing commas), then fully restart Cursor.
  • Tool calls return 401 — the API key is invalid or revoked. Regenerate at https://www.meshy.ai/settings/api.

Configuration

Environment VariableDescriptionDefault
MESHY_API_KEYRequired. Your Meshy API key (starts with msy_)
MESHY_API_HOSTAPI base URLhttps://api.meshy.ai
TRANSPORTTransport mode: stdio or httpstdio
PORTPort for HTTP transport3000
CHARACTER_LIMITMax response size in characters25000

Development

# Clone and install
git clone https://github.com/meshy-dev/meshy-mcp-server.git
cd meshy-mcp-server
npm install

# Development with hot reload
npm run dev

# Build
npm run build

# Type check
npm run lint

# Run
npm start

HTTP Transport

For remote access, run in HTTP mode:

TRANSPORT=http PORT=3000 npm start

Endpoints:

  • POST /mcp — MCP protocol endpoint
  • GET /health — Health check

License

MIT

Files in the repo

Repository payload11 top-level entries
  • .github
  • src
  • .env.example
  • .gitignore
  • .npmignore
  • CHANGELOG.md
  • LICENSE
  • package-lock.json
  • package.json
  • README.md
  • tsconfig.json

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More connectors

Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface

86k

High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.

43k

Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama…) with Codex CLI, App, SDK, and Claude Code

14k
okf-memory/
okf-agent-memory

Git-native persistent memory for AI coding agents. Implements Google OKF v0.2 with sub-300µs in-memory BM25 search, embedded MCP server, and progressive disclosure. Slashes token bloat by 80% with zero external databases or dependencies. Built in pure Go.

547
tirth8205/
code-review-graph

Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.

31k
2akouwu/
reverify

Stop your AI from making things up — it proposes, deterministic tools decide, every claim checked against ground truth with evidence. Grounded facts and context survive resets. Reverse engineering is the proving ground. MCP server + CLI.

1.1k