> **Reading as an AI agent?** This is the Markdown version of https://docs.meshy.ai/api/remote-mcp.
>
> - Full docs index: https://docs.meshy.ai/llms.txt
> - Single-fetch full content: https://docs.meshy.ai/llms-full.txt
> - Tool-calling access via MCP server: https://docs.meshy.ai/api/ai
> - Command-line access via the Meshy CLI: https://docs.meshy.ai/api/cli

---
# Remote MCP server

Connect an AI app to Meshy without installing anything. Add the server URL to the app and sign in with your Meshy account, on any plan, and the app can generate, track, and download 3D models. The models appear in the Meshy web app, next to the ones you make there.

The server is at `https://mcp.meshy.ai/mcp`, or `https://mcp.meshy.cn/mcp` for [meshy.cn](https://meshy.cn). It uses the Streamable HTTP transport of the [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) and signs apps in with OAuth. To save files to your computer or open models in your slicer, use the [local MCP server](/api/local-mcp) instead.

---

## Connect your app
Add the server to your app under the name `meshy`. The first time the app uses it, the app opens Meshy in your browser, where you sign in and allow access.

The [local MCP server](/api/local-mcp) uses the name `meshy` too, so an app holds one Meshy server at a time. To switch an app from the local server, do the following:

- **Claude Code**: Run `claude mcp remove meshy -s user` first, because Claude Code won't add a second server named `meshy`.
- **Codex and `add-mcp`**: The command replaces the `meshy` server the app has. The `add-mcp` confirmation doesn't name the server it replaces.
- **Cursor, VS Code, Windsurf, and other apps with a JSON config**: Replace the `meshy` entry in the config.

Earlier `add-mcp` commands for Meshy added the local server as `meshy-mcp-server`. If your app has that entry, remove it too.

To add the server to several apps at once, run [`add-mcp`](https://www.npmjs.com/package/add-mcp). It finds the AI apps on your computer and asks which ones to set up.

```bash
npx add-mcp https://mcp.meshy.ai/mcp --name meshy -g
```

To add the server to one app, use the tab for your app.

**Claude Code**

```bash
claude mcp add -s user --transport http meshy https://mcp.meshy.ai/mcp
# Then run /mcp in Claude Code, select meshy, and choose Authenticate.
```

**Codex**

```bash
codex mcp add meshy --url https://mcp.meshy.ai/mcp
# Codex opens the sign-in. If it doesn't, run codex mcp login meshy.
```

**Cursor**

```json
// ~/.cursor/mcp.json
{
  "mcpServers": {
    "meshy": { "url": "https://mcp.meshy.ai/mcp" }
  }
}
```

**VS Code**

```json
// Run "MCP: Open User Configuration" from the Command Palette
{
  "servers": {
    "meshy": { "type": "http", "url": "https://mcp.meshy.ai/mcp" }
  }
}
```

**Windsurf**

```json
// ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "meshy": { "serverUrl": "https://mcp.meshy.ai/mcp" }
  }
}
```

**Gemini CLI**

```json
// ~/.gemini/settings.json, then run /mcp auth meshy in Gemini CLI
{
  "mcpServers": {
    "meshy": { "httpUrl": "https://mcp.meshy.ai/mcp" }
  }
}
```

**Other**

```json
// For an app that runs only local (stdio) servers. mcp-remote bridges to the server.
{
  "mcpServers": {
    "meshy": { "command": "npx", "args": ["-y", "mcp-remote", "https://mcp.meshy.ai/mcp"] }
  }
}
```

In these apps, add Meshy from the app's own settings:

- **Claude on the web and Claude Desktop**: In **Customize** > **Connectors**, click **Add** > **Add custom connector**. Enter `Meshy` and the server URL, click **Add**, then click **Connect**. On a Team or Enterprise plan, an owner adds the connector.
- **ChatGPT**: Install the **Meshy 3D** plugin by Meshy LLC from [chatgpt.com/plugins](https://chatgpt.com/plugins), then click **Connect**. The plugin has its own tools and shows each model in the chat.
- **Any other app that supports remote MCP servers**: Add the URL as a Streamable HTTP server.

To check the connection, ask the app "What's my Meshy credit balance?" It answers with `get_balance`, which spends no credits.

---

## Connect with an API key
If your app can't sign in with OAuth, send a Meshy API key in the `Authorization` header, as `Bearer msy_YOUR_API_KEY`. The key needs every permission and no IP allowlist, because requests can reach the server from the app's servers. For a key with an IP allowlist, use the [local MCP server](/api/local-mcp) or the [Meshy CLI](/api/cli). To create a key, see [Authentication](/api/authentication).

**Claude Code**

```bash
claude mcp add -s user --transport http meshy https://mcp.meshy.ai/mcp --header "Authorization: Bearer msy_YOUR_API_KEY"
```

**Codex**

```bash
# Reads the key from the MESHY_API_KEY environment variable.
codex mcp add meshy --url https://mcp.meshy.ai/mcp --bearer-token-env-var MESHY_API_KEY
```

---

## Your account and models
The remote server works in your Meshy account, the way the web app does:

- **Credits**: Each generation spends credits from your Meshy account, the same balance the web app uses. For every price, see [Pricing](/api/pricing). Some options depend on your plan. For example, Ultra geometry (`geometry_resolution` set to `2k` or `4k`) isn't available on the Free plan.
- **Models**: The models you make appear in your personal workspace in the web app, and `list_tasks` shows the ones you made in the web app. Models in a team workspace don't appear.
- **Retention**: Meshy keeps these models the way it keeps the ones you make in the web app. The 3-day [asset retention](/api/asset-retention) of API tasks doesn't apply to them.
- **Downloads**: Your plan decides which models you can download and how many a month, as in the web app. `get_balance` and `download_model` report how many downloads you have left.

---

## Tools
The following table lists the tool for each task on this server, next to the one on the local MCP server. A cross means the server has no tool for the task. Each tool's input schema lists its parameters.

| Task | Remote MCP server | Local MCP server |
|---|---|---|
| Check your credits and download allowance | Yes (`get_balance`) | Yes (`meshy_check_balance`) |
| Check a task | Yes (`get_task`) | Yes (`meshy_get_task_status`) |
| List your models or pictures | Yes (`list_tasks`) | Yes (`meshy_list_tasks`, `meshy_list_models`) |
| Text to 3D | Yes (`text_to_3d_preview`, `text_to_3d_refine`) | Yes (`meshy_text_to_3d`, `meshy_text_to_3d_refine`) |
| Image to 3D | Yes (`image_to_3d`) | Yes (`meshy_image_to_3d`) |
| Multi-Image to 3D, from 2 to 4 pictures | Yes (`multi_image_to_3d`) | Yes (`meshy_multi_image_to_3d`) |
| Retexture | Yes (`texture_model`) | Yes (`meshy_retexture`) |
| Remesh | Yes (`remesh_model`) | Yes (`meshy_remesh`) |
| Rigging, with walking and running animations | Yes (`rig_model`) | Yes (`meshy_rig`) |
| Animation | Yes (`animate_model`, `list_animations`, `text_to_motion`) | Yes (`meshy_animate`, `meshy_list_animations`, `meshy_text_to_motion`) |
| Text to Image | Yes (`text_to_image`) | Yes (`meshy_text_to_image`) |
| Image to Image | Yes (`image_to_image`) | Yes (`meshy_image_to_image`) |
| Use a file from your computer | Yes (`create_upload`) | Yes (Generation tools take a file path) |
| Download a model | Yes (`download_model` returns a link) | Yes (`meshy_download_model` saves the file) |
| Convert a model to another format | Yes (`download_model`, as GLB, FBX, OBJ, USDZ, or STL) | Yes (`meshy_convert`) |
| Resize a model or unwrap its UVs | No | Yes (`meshy_resize`, `meshy_uv_unwrap`) |
| Cancel or delete a task | No | Yes (`meshy_cancel_task`) |
| Creative Lab | No | Yes (`meshy_creative_lab`) |
| 3D printing | No | Yes (Five tools, listed on [Local MCP server](/api/local-mcp#available-tools)) |
| List your team's API usage | No | Yes (`meshy_list_usage`) |

On the remote server, note the following:

- `get_balance`, `get_task`, `list_tasks`, and `list_animations` are read-only. Every other tool starts a task that spends credits, creates an upload, or counts a download.
- `create_upload` takes PNG, JPG, JPEG, or WebP images up to 20 MB, and GLB, glTF, OBJ, FBX, or STL models up to 100 MiB. Upload the file within 15 minutes, and use it within 24 hours. An account uploads at most 100 files and 2 GB a day (UTC).
- `remesh_model` and `rig_model` take models made through this server or the API, not in the Meshy web app. `animate_model` takes a character that `rig_model` rigged.
- Links in a `get_task` or `download_model` result expire. Download each file soon after you get its link, or call the tool again for a fresh one.

---

## Tasks, retries, and errors
Generation is asynchronous. A tool that starts a task returns its task ID, and `get_task` reports the task's progress until it succeeds or fails.

Every tool that starts a task takes a `request_id`, a UUID that your app makes for each generation you ask for. When the app sends the same call again with the same `request_id` within 30 days, Meshy returns the first call's task. It doesn't start a second task or charge again, so a retry after a timeout is safe.

Tool calls share the rate limits of your API requests. For the limits of each plan, see [Rate limits](/api/rate-limits).

When a tool fails, its message says why. The main causes are too few credits, a team or API key credit limit, too many queued tasks, too many requests, an expired sign-in, and an invalid parameter.

---

## Security
An app you allow can use these tools with your account, including the ones that spend credits. The access works only on this server. To stay in control, do the following:

- Keep tool approval on in your app, so you confirm each call. Text the app reads from a web page or a shared file can ask it to call a tool you didn't request.
- Sign in to Meshy only on `www.meshy.ai` or `meshy.cn`.
- Disconnect apps you no longer use.

---

## Troubleshooting
| Problem | Fix |
|---|---|
| The app doesn't open the sign-in, or tool calls fail with a sign-in error | Start the sign-in from the app. Run `/mcp` in Claude Code, `codex mcp login meshy` in Codex, or `/mcp auth meshy` in Gemini CLI. |
| The Meshy tools don't appear | Finish the sign-in, then start a new chat. In Cursor, also turn on `meshy` in **Settings** > **MCP & Integrations**. |
| Claude asks you to contact an organization owner | On a Team or Enterprise plan, only an owner can add the connector. |
| The connection fails on a work network | Ask your IT team to allow `mcp.meshy.ai`, `api.meshy.ai`, and `www.meshy.ai`. |

---

## Disconnect an app
To disconnect an app you signed in with, open your Meshy account settings on [meshy.ai](https://www.meshy.ai), go to **Authorized Apps**, and click **Revoke**. The app loses access within 15 minutes. To stop an app that uses an API key, delete the key on the [API Keys page](https://www.meshy.ai/developers/keys).

---

## Next steps
- To compare the Meshy CLI and the two MCP servers, see [AI integration](/api/ai).
- To script Meshy from a terminal, see [Meshy CLI](/api/cli).
