MCP mesh generation for AI agents
Connect low-poly.com to any MCP-compatible AI so the assistant can generate low-poly meshes, poll artifacts, inspect models, reduce polygons and convert formats through native tools.
On this page
Start
Generation tools
Model tools
Reference
Give any MCP-compatible AI low-poly 3D tools
The low-poly.com MCP server exposes generation and mesh utilities as native tools. Once connected, an AI assistant can create image candidates, launch 3D mesh generation, poll the generated artifacts, then inspect, reduce or convert models without writing custom integration code.
POSThttps://low-poly.com/mcp
Connect an AI client
Use any MCP client that can reach a remote HTTP MCP server and send an
Authorization: Bearer ... header. The bearer token is a normal low-poly.com API key.
For clients that still need a stdio bridge, use mcp-remote and pass the authorization header explicitly.
Endpoint
-
URLHTTP MCPrequired
https://low-poly.com/mcp -
Authorizationheaderrequired
Bearer lp_live_...
{
"mcpServers": {
"low-poly": {
"type": "http",
"url": "https://low-poly.com/mcp",
"headers": {
"Authorization": "Bearer lp_live_..."
}
}
}
}
{
"mcpServers": {
"low-poly": {
"command": "npx",
"args": [
"mcp-remote",
"https://low-poly.com/mcp",
"--header",
"Authorization: Bearer lp_live_..."
]
}
}
}
Recommended mesh workflow
The most reliable path is explicit and chainable: image candidates first, mesh second, texture after that — each step's output URL feeds the next call.
- Ask your AI for concepts.Call
generate_imagewith a prompt. - Poll the image generation.Use
get_generation_statusuntiloutput[].urlis available. - Generate the mesh.Call
generate_meshwithimage_urlset to the chosen candidate's URL. - Texture it.Call
generate_texturewithmesh_url(the generated mesh) andimage_url(the same reference image). - Finish the model.Download the artifact or ask the AI to reduce polygons, inspect the file, or convert the format.
Already have your own reference photo or a GLB to retexture? Skip straight to generate_mesh or generate_texture with a URL to your own file — no prior generation required.
Use low-poly MCP to generate a stylized modular sci-fi crate.
Make 4 image candidates, pick the cleanest silhouette, then
turn it into a game-ready GLB mesh and texture it.
generate_image(prompt="...")
get_generation_status(generation_id=...) # → output[0].url
generate_mesh(image_url="...")
get_generation_status(generation_id=...) # → output[0].url
generate_texture(mesh_url="...", image_url="...")
get_generation_status(generation_id=...)
generate_image
Generates low-poly concept image candidates from a prompt, or a variation of a reference image.
| Field | Required | Use |
|---|---|---|
prompt | yes | What to generate. |
count | no | Candidates, 1-8 (default 1). |
mode | no | txt2img (default) or img2img. |
image_url | for img2img | Reference image URL to vary. |
generate_mesh
Turns an image into a 3D low-poly mesh.
| Field | Required | Use |
|---|---|---|
image_url | yes | Source image — a URL you already have, or a prior generate_image output. |
count | no | Mesh candidates, 1-8 (default 1). |
generate_texture
Paints a texture onto a mesh, using a reference image for appearance. Both URLs are required — there's no lineage to infer the image from an arbitrary mesh URL.
| Field | Required | Use |
|---|---|---|
mesh_url | yes | The mesh to texture. |
image_url | yes | The appearance reference. |
count | no | Texture candidates, 1-8 (default 1). |
get_generation_status
Polls a generation and returns status, progress, consumed credits and output artifacts. Ready outputs include a raw download URL.
{
"generation_id": 918
}
{
"id": 918,
"kind": "mesh",
"status": "success",
"output": [
{
"url": "https://low-poly.com/api/v1/artifacts/.../raw",
"mime_type": "model/gltf-binary",
"size_bytes": 812433
}
]
}
Available MCP tools
| Tool | Purpose | Input | Returns |
|---|---|---|---|
list_supported_formats | List model formats accepted by mesh utilities. | none | Format slugs such as glb, gltf, obj, fbx, 3ds, stl, blend. |
count_polygons | Inspect a remote 3D model URL. | url | Triangle count, source format and URL. |
convert_to_low_poly | Decimate a remote model to a lower polygon ratio. | url, optional ratio, optional format | Output stats and base64 model data. |
convert_format | Swap model format without decimation. | url, format | Output stats and base64 model data. |
count_polygons
Lets an AI inspect a publicly reachable model URL before deciding whether to reduce it, convert it or generate a replacement.
{ "url": "https://example.com/model.glb" }
convert_to_low_poly
Fetches a remote model, validates it, charges the MCP tool cost, decimates it and returns base64 model data. Use this after generation when a mesh is too heavy for the target platform.
{
"url": "https://example.com/dragon.fbx",
"ratio": 0.25,
"format": "glb"
}
convert_format
Converts a remote model to a requested output format without simplification. Useful when the AI needs a GLB for web preview, OBJ for a DCC handoff, or FBX for an engine workflow.
{
"url": "https://example.com/prop.obj",
"format": "glb"
}
Auth and limits
Every MCP request requires a bearer API key. Tool calls are rate-limited per key, so one integration cannot starve another on the same account. Read-only tools (list_supported_formats, get_generation_status) are free; count_polygons runs a Blender job and costs one credit.
MCP is an API surface and is billed as one. Generations
started here draw on the same monthly API allowance as /api/v1
— included on the Studio plan, billed in credits on every other plan.
A plan that advertises unlimited generations means unlimited
in the browser: it does not make agent-driven generation free. See
Access and billing for the full rule.
- Authentication
Authorization: Bearer lp_live_...- Protocol
- JSON-RPC 2.0 over HTTP, MCP protocol version
2024-11-05. - Tool call rate limit
- Default
MCP_RATE_LIMIT_USERper minute, per key. - Generation billing
- Studio plan: from the included monthly API allowance, then per generation. Every other plan: credits per call.
- Remote model inputs
- Model tools fetch public
httporhttpsURLs and validate supported 3D file extensions.
curl https://low-poly.com/mcp
curl -X POST https://low-poly.com/mcp \
-H "Authorization: Bearer lp_live_..." \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Errors
MCP errors use JSON-RPC error objects. Authentication failures return HTTP 401; most validation and processing errors return HTTP 200 with a JSON-RPC error payload so MCP clients can display the tool failure.
| Code | Meaning |
|---|---|
-32001 | Unauthorized: missing or invalid bearer token. |
-32002 | Insufficient credits. |
-32029 | Too many MCP tool calls. |
-32602 | Invalid parameters, unsupported format, or an invalid/unreachable URL. |
-32603 | Fetch, processing or status refresh failed. |