AI integration
Connect AI agents and coding assistants to Meshy, with the Meshy CLI or a Meshy MCP server for generating models, or with llms.txt and llms-full.txt for reading the docs.
If your agent can run shell commands, as Claude Code, Cursor, and Codex can, use the CLI or an MCP server. If it only connects to tools over MCP, use an MCP server. If it supports neither, point it at https://docs.meshy.ai/llms.txt.
CLI or MCP
All three call the Meshy REST API, at the same prices and under the same rate limits. The following table compares how they run and sign in. A check mark means yes, and a cross means no. Each name links to its setup page.
| Meshy CLI | Remote MCP server | Local MCP server | |
|---|---|---|---|
| Runs | On your computer | On Meshy's servers | On your computer, started by your AI app |
| Install | npm install -g meshy-cli | Nothing to install | One command or config entry per app |
| Signs in with your Meshy account | API key only | ||
| Generates on the Free plan | |||
| Shows your models in the Meshy web app | |||
| How long Meshy keeps your models | 3 days | As long as it keeps your web app models | 3 days |
| Works with an API key | |||
| Saves files to your computer | Returns download links | ||
| Opens models in your slicer | |||
| Runs in shell scripts and CI |
The following table shows the tasks each one can run. For the tool that runs each task on each MCP server, see Tools.
| Task | Meshy CLI | Remote MCP server | Local MCP server |
|---|---|---|---|
| Text to 3D | |||
| Image to 3D and Multi-Image to 3D | |||
| Retexture | |||
| Remesh | |||
| Rigging | |||
| Animation | |||
| Text to Image and Image to Image | |||
| Convert a model to another format | GLB, FBX, OBJ, USDZ, or STL, on download | ||
| Resize a model or unwrap its UVs | |||
| 3D printing prep | |||
| Creative Lab | |||
| Check your credits and tasks | |||
| Cancel or delete a task | |||
| List your team's API usage |
To use ready-made Meshy workflows instead, install the open-source meshy-3d-agent skill pack. It works in Claude Code, Cursor, Codex, OpenClaw, and Hermes Agent, and runs on the Meshy CLI, so it needs Node.js 22.12 or later and no API key.
npx skills add meshy-dev/meshy-3d-agent
Supported apps
The following table shows the ways each app can connect to Meshy. The page for each way has the setup for every app it lists.
| App | Meshy CLI | Remote MCP server | Local MCP server |
|---|---|---|---|
| Claude Code | |||
| Codex | |||
| Cursor | |||
| VS Code | In agent mode | ||
| Windsurf | |||
| Gemini CLI | |||
| Claude on the web | As a custom connector | ||
| Claude Desktop | In Cowork and Code, not Chat | As a custom connector | |
| ChatGPT on the web | As the Meshy 3D plugin | ||
| ChatGPT desktop app | In Work and Codex, not Chat | As the Meshy 3D plugin | In Codex |
| Other apps | If the app's agent can run shell commands | If the app connects to remote MCP servers or runs mcp-remote | If the app runs local (stdio) MCP servers |
What is MCP
The Model Context Protocol (MCP) is an open standard that lets AI assistants call external tools. The Meshy MCP servers offer the Meshy REST API as tools, so an agent can generate a model, check the task, and download the result without writing HTTP code. The remote server's tool names have no prefix, such as image_to_3d, and the local server's start with meshy_, such as meshy_image_to_3d.
llms.txt and llms-full.txt
To put the Meshy docs into a prompt, point your agent at the plain-text versions of the docs:
llms.txt: a compact index with integration instructions, such as authentication, polling async tasks, rate limits, model choice, and common mistakes.llms-full.txt: every API page in one file.- Per-page Markdown: add
.mdto any endpoint URL, for examplehttps://docs.meshy.ai/api/v2/text-to-3d.md.
Meshy regenerates all three every time the docs site builds, so they match the HTML docs.