meshy-mcp

meshy-mcp

Enables Claude to generate 3D models from text or images, apply textures, and export to GLB/FBX/USDZ using the Meshy AI API.

Category
访问服务器

README

<div align="center">

<h1>meshy-mcp</h1>

<p><strong>Generate 3D models and environments inside Claude — powered by Meshy AI</strong></p>

<p>The first MCP server that gives Claude native 3D generation capabilities.<br/> Text to 3D · Image to 3D · AI textures · 3D website environments · GLB / FBX / USDZ export</p>

<p> <a href="https://github.com/zyadhajaji/meshy-mcp/actions/workflows/ci.yml"> <img src="https://github.com/zyadhajaji/meshy-mcp/actions/workflows/ci.yml/badge.svg" alt="CI" /> </a> <img src="https://img.shields.io/badge/MCP-compatible-6f42c1?logo=anthropic" alt="MCP" /> <img src="https://img.shields.io/badge/Meshy_AI-powered-ff6b35" alt="Meshy AI" /> <img src="https://img.shields.io/badge/Claude_Desktop-ready-191919?logo=anthropic" alt="Claude Desktop" /> <img src="https://img.shields.io/badge/Node.js-20+-339933?logo=node.js" alt="Node.js 20+" /> <img src="https://img.shields.io/badge/TypeScript-5-3178c6?logo=typescript" alt="TypeScript" /> <img src="https://img.shields.io/badge/license-MIT-22c55e" alt="MIT" /> </p>

<p> <a href="#-quick-start">Quick Start</a> · <a href="#-tools">Tools</a> · <a href="#-use-cases">Use Cases</a> · <a href="docs/setup.md">Full Setup</a> · <a href="docs/tools.md">Tool Reference</a> · <a href="examples/">Examples</a> </p>

</div>


What is this?

meshy-mcp is a Model Context Protocol server that connects Claude to the Meshy AI 3D generation API.

Once connected to Claude Desktop (or any MCP client), you can say:

"Generate a 3D model of a vintage leather messenger bag" "Turn this product photo into a 3D model" "Apply a carbon fiber texture to this model" "Build me a 3D showroom environment for my clothing brand"

…and Claude will call Meshy, poll until the model is ready, and hand you back download links for GLB, FBX, OBJ, and USDZ files — all without leaving the conversation.


Quick Start

1. Get a Meshy API key

Sign up at app.meshy.ai → Settings → API Keys → Generate Key.

2. Add to Claude Desktop

Open your config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "meshy-3d": {
      "command": "npx",
      "args": ["-y", "meshy-mcp"],
      "env": {
        "MESHY_API_KEY": "msy_your_key_here"
      }
    }
  }
}

Restart Claude Desktop. Done — Claude now has 3D generation tools.

See docs/setup.md for custom MCP clients, running from source, and troubleshooting.


Tools

Six tools are exposed to Claude:

Tool What it does
generate_3d_model Text → 3D model (GLB, FBX, OBJ, USDZ)
refine_3d_model Upgrade preview to production quality with PBR textures
generate_3d_from_image Image URL → 3D model
add_texture Apply AI-generated textures + PBR maps to any model
check_task_status Poll status of any running task
list_3d_models List recently generated models

Full parameter reference: docs/tools.md


Demo prompts

Paste any of these into Claude after connecting meshy-mcp:

Generate a 3D model of a puffer jacket with a reflective quilted surface, realistic style, quad topology.
Turn this image into a 3D model and apply a woven denim texture: https://example.com/jacket.jpg
Generate a minimalist luxury showroom environment — white walls, concrete floor, warm spotlights — for a clothing brand website.
Generate a low-poly voxel sneaker for a game. Target 5000 polygons.
Create a 3D wristwatch model, then refine it to production quality with PBR textures.

Use Cases

3D product visualization

Turn product descriptions or photos into 3D assets for e-commerce, AR try-on, and marketing. Works for fashion, furniture, electronics, and more.

3D website environments

Generate scene props and environments, export GLB files, and embed them with Three.js or Babylon.js. Build interactive 3D landing pages, virtual showrooms, and immersive brand experiences — all by describing them to Claude.

Print-on-demand & clothing brands

Generate photorealistic garment mockups, brand kit 3D assets, and complete lookbook scenes. Use alongside ThreadForge for the full clothing brand workflow.

Game & metaverse assets

Generate props, characters, and environment pieces with game-ready topology. Export FBX for Unreal Engine or Unity.

AR & spatial computing

USDZ output works with Apple AR Quick Look and visionOS. Generate and share AR-viewable 3D models directly from Claude.


How Meshy built a $20M+ business on this API

Meshy is not just a tool — it's one of the most well-engineered AI data flywheels in the 3D space. Understanding how they built it changes how you think about using and building on top of their API.

The short version:

  • The 4-variant limit per generation is not a cost-saving measure — it's a training data architecture decision
  • Every model you pick over the others is a free preference signal (RLHF without asking)
  • The free tier exists to collect data, not out of generosity
  • After millions of generations, Meshy holds a (prompt → accepted output) dataset that no competitor can buy
  • Every developer who builds on the API (like this repo) extends their distribution for free

Read the full breakdown: docs/how-meshy-built-a-3d-ai-empire.md

Covers: the technical stack, the data flywheel, the Midjourney parallel, pricing power risk, self-hosting alternatives, and the exact blueprint for replicating this in any vertical.


Architecture

meshy-mcp/
├── src/
│   ├── index.ts           # Entry point
│   ├── server.ts          # MCP server + tool router
│   ├── meshy/
│   │   ├── client.ts      # Meshy REST API client
│   │   ├── types.ts       # Full TypeScript type definitions
│   │   └── poller.ts      # Async task completion poller
│   ├── tools/
│   │   ├── text-to-3d.ts  # generate_3d_model
│   │   ├── refine-3d.ts   # refine_3d_model
│   │   ├── image-to-3d.ts # generate_3d_from_image
│   │   ├── texture.ts     # add_texture
│   │   └── status.ts      # check_task_status + list_3d_models
│   └── utils/
│       └── format.ts      # Markdown output formatters
├── docs/                  # Setup + tool reference
├── examples/              # Claude Desktop config + prompt walkthroughs
├── CLAUDE.md              # AI agent context (for Claude Code)
└── .env.example

Protocol: stdio MCP (compatible with Claude Desktop, Cursor, Zed, and any MCP client) Language: TypeScript 5, ESM, Node.js 20+ Dependencies: @modelcontextprotocol/sdk, zod — nothing else


Environment Variables

Variable Required Default Description
MESHY_API_KEY ✅ — From app.meshy.ai → Settings → API Keys
MESHY_BASE_URL — https://api.meshy.ai Override API base URL
MESHY_POLL_TIMEOUT_SECONDS — 300 Max wait per task
MESHY_POLL_INTERVAL_SECONDS — 3 Polling frequency

Contributing

  1. Fork → create a branch → npm run typecheck before committing
  2. New tool? Follow the pattern in any existing file in src/tools/
  3. Open a PR — see CLAUDE.md for the full contributor guide

Related


License

MIT


<div align="center">

Keywords: MCP server 3D generation · Claude 3D model tool · Meshy AI MCP · text to 3D Claude · image to 3D AI · 3D environment generator · Claude Desktop MCP · AI 3D design tool · model context protocol 3D · Meshy API integration · AI texture generation · GLB FBX generator · Three.js asset generation · 3D website environment AI · anthropic tool use 3D

</div>

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选