MCP mesh generation for AI agents

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

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.

Prompt to meshGenerate images first, then turn the result into a 3D mesh, then paint a texture on it.
Mesh finishingCount polygons, decimate remote models, and swap formats from the same AI session.
URL chaining, no state to trackEvery tool takes a URL and returns a URL — chain steps by passing one call's output straight into the next, no project or artifact id involved.

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_...

Remote HTTP MCPjson
{
  "mcpServers": {
    "low-poly": {
      "type": "http",
      "url": "https://low-poly.com/mcp",
      "headers": {
        "Authorization": "Bearer lp_live_..."
      }
    }
  }
}
stdio bridgejson
{
  "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.

  1. Ask your AI for concepts.Call generate_image with a prompt.
  2. Poll the image generation.Use get_generation_status until output[].url is available.
  3. Generate the mesh.Call generate_mesh with image_url set to the chosen candidate's URL.
  4. Texture it.Call generate_texture with mesh_url (the generated mesh) and image_url (the same reference image).
  5. 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.

Natural prompt to your AI
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.
Tool chain
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.

FieldRequiredUse
promptyesWhat to generate.
countnoCandidates, 1-8 (default 1).
modenotxt2img (default) or img2img.
image_urlfor img2imgReference image URL to vary.

generate_mesh

Turns an image into a 3D low-poly mesh.

FieldRequiredUse
image_urlyesSource image — a URL you already have, or a prior generate_image output.
countnoMesh 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.

FieldRequiredUse
mesh_urlyesThe mesh to texture.
image_urlyesThe appearance reference.
countnoTexture 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.

Argumentsjson
{
  "generation_id": 918
}
Completed mesh outputjson
{
  "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

ToolPurposeInputReturns
list_supported_formatsList model formats accepted by mesh utilities.noneFormat slugs such as glb, gltf, obj, fbx, 3ds, stl, blend.
count_polygonsInspect a remote 3D model URL.urlTriangle count, source format and URL.
convert_to_low_polyDecimate a remote model to a lower polygon ratio.url, optional ratio, optional formatOutput stats and base64 model data.
convert_formatSwap model format without decimation.url, formatOutput 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.

Argumentsjson
{ "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.

Argumentsjson
{
  "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.

Argumentsjson
{
  "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_USER per 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 http or https URLs and validate supported 3D file extensions.
Discoverycurl
curl https://low-poly.com/mcp
List toolsjson-rpc
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.

CodeMeaning
-32001Unauthorized: missing or invalid bearer token.
-32002Insufficient credits.
-32029Too many MCP tool calls.
-32602Invalid parameters, unsupported format, or an invalid/unreachable URL.
-32603Fetch, processing or status refresh failed.