DX.GL

MCP Server

Markdown API Reference Guide

Setup, the 49-tool reference and prompt examples for any MCP client

Contents
OverviewQuick startAuthentication and keysToolsRender settingsExamplesTroubleshooting

Overview

The MCP server is a thin wrapper over the DX.GL /v1 REST API — it forwards your bearer token and exposes 49 tools covering the full pipeline: import/upload models, quote costs, create single and batch renders, poll status, manage overlays/textures/ environments, and download results (streamed or via presigned direct-from-storage URLs).

The server is hosted at https://mcp.dx.gl/ (Streamable HTTP). There is nothing to install: point your client at the URL and send your key in the Authorization header.

Everything the tools can do is scoped by your API key. The key implies the workspace — a personal key operates on your personal library and bills you; a workspace-bound key (editor role or above) operates on that team workspace and bills its owner. There is no workspace parameter on any tool.

Quick start

  1. In Studio, open the account menu → API → Keys, and create a key. It looks like dxgl_sk_... — copy it now; it is shown once. Older keys keep working, whatever their prefix.
  2. Add the server to your MCP client. For a streamableHttp-capable client (e.g. Claude Code, Claude Desktop):
{
  "mcpServers": {
    "dxgl": {
      "type": "streamableHttp",
      "url": "https://mcp.dx.gl/",
      "headers": {
        "Authorization": "Bearer dxgl_sk_..."
      }
    }
  }
}
  1. Restart the client. Ask it something like "Import the GLB at <url> and render a 4K turntable on a white background" — the agent handles the tool calls.

The hosted server stores no key — each request carries its own Authorization header, so one endpoint serves every user.

Authentication and keys

Every tool call forwards your key as Authorization: Bearer dxgl_sk_... to the REST API, which validates it and applies scope and role checks. Mint and revoke keys in Studio → account menu → API → Keys.

Tools

49 tools, grouped.

Models

Tool Description
ingest_model Import a 3D model from a URL — GLB registers at once; FBX / OBJ / STL / USDZ / ZIP bundles convert server-side (poll get_model for ingestStatus); optionally starts a render Gaussian-splat files (.spz, splat .ply, .splat, .ksplat) are not accepted yet; they are Studio-only for now.
upload_model Upload a GLB sent as base64 (glbBase64, up to 32 MB decoded); staged presigned PUT under the hood
list_models List models — search (q: title / file name / SKU), tag / group filter, updatedSince delta polling, cursor pagination
get_model Get model details and render history
get_model_inventory Every mesh and material, uncut (get_model's name lists stop at 512): collection and batch hide keys, materials with their maps, meshes with material, triangles and collection; paged
update_model Update a model's title, SKU, tags and/or group
archive_model / unarchive_model Hide / restore a model in the library
delete_model Soft-delete a model
list_versions List a model's versions — number, status, note, size, which is current, renders per version
restore_version Roll back: make an earlier version current (pointer move + rebuild)
delete_version Delete a non-current version; force when renders were made from it
check_hash Dedup pre-flight — does this SHA-256 already exist?
get_model_file API-streamed download URL for a model's original GLB
get_model_file_url Presigned direct-from-bucket GLB URL — no auth header needed

A model on your own disk. The hosted server cannot read your disk, so a model reaches it as a URL (ingest_model) or as base64 (upload_model, 32 MB decoded at most). For a larger GLB (up to 1 GB), upload it with the REST API's staged upload: POST /v1/models/create-upload-url, a PUT of the file to the URL it returns, then POST /v1/models/finalize with the ticket (see Staged Upload under Models in the API Reference). Use the same key, and the model is in the workspace the MCP tools work on.

Groups — the workspace's categories (Artists / Product groups / Sites …), depth ≤ 4; every model has one home

Tool Description
list_groups List the workspace's groups (flat rows with parentId, subtree counts)
create_group Create a group — root or nested; kind seeds about; fromTag files every unfiled model carrying the tag
update_group Rename, re-parent, hide/unhide, reorder or edit the Markdown about
delete_group Delete an empty group (owner)
file_models File up to 200 models under a group in one call

Renders

Tool Description
create_render Create a video, stills or dataset render (costs credits; idempotent per call)
create_batch_renders Create multiple renders atomically (max 100)
list_renders List render jobs — status/model filters, updatedSince delta polling, cursor pagination
get_render Check render status (poll until done)
cancel_render Cancel a still-queued render and refund its credits
dismiss_render Acknowledge an errored render (no refund)
delete_render Permanently delete a terminal render and its stored assets
quote Estimate credit cost before committing

Billing

Tool Description
get_account Check credit balance (paid / total; free is legacy) + token scopes and the key's workspace (id, name, personal, role)
list_products List purchasable credit packs (name, credits, price)
get_purchases Credit ledger — purchases, render spends, refunds, grants

Downloads — each returns a URL. API-streamed URLs need your Authorization header; the presigned tools don't.

Tool Description
download_render API-streamed video URL for a completed render (quality=web for the light variant)
get_download_url Presigned direct-from-bucket URL for any render asset (video/web/poster/full_poster/thumb/dataset — the dataset or stills ZIP)
get_poster Poster image URL — 960 px WebP by default, quality=full for the full-resolution PNG
get_thumb Thumbnail loop video (MP4) URL
download_bundle ZIP of all assets for a completed render
download_dataset ZIP of a dataset render's multi-view images, or of a stills render's PNGs
get_hls HLS streaming status + playback URLs

For large files, prefer the presigned tools: get_download_url (render assets) and get_model_file_url (source GLB) return short-lived URLs that download directly from storage with no Authorization header — ideal for ProRes videos and dataset ZIPs that run to tens of GB, and for handing a download to another system.

Overlays

Tool Description
upload_overlay Upload a PNG/JPEG/WebP as a reusable asset (≤8 MB via MCP) — layer background/foreground/decal/texture
list_overlays List overlay assets (yours + system) — ids feed bgImageId, decals[].imageAssetId, materialEdits.<name>.mapAssetId
list_fonts List the workspace's Google Font families (added in Studio's Text panel) — ids feed textOverlays[].font
list_library Browse the free Library — models, HDRIs, backgrounds, stickers (tags, license, credit)
add_from_library Copy a Library item into the workspace and get its id — a model for create_render, an overlay for bgImageId / decals[].imageAssetId / envId
delete_overlay Delete an overlay asset you own (leaves the lists, frees its slot; renders and saved edits that name it keep it)

Textures and environments

Tool Description
upload_texture Upload a diffuse-replacement texture — id feeds materialEdits.<name>.mapAssetId (≤8 MB via MCP; content-sha deduped)
upload_env Upload a custom HDRI as the pre-encoded gainmap triple — id feeds envId
list_assets List the workspace's texture or environment assets
delete_asset Delete an owned texture/environment asset (leaves the list and the quota; renders and saved edits that name it keep it)
resolve_asset_sha Content-sha pre-flight — reuse an existing asset instead of re-uploading

Render settings

Render settings are passed to create_render / create_batch_renders / quote. The schema mirrors the server validator 1:1, so anything the Studio UI can author is reachable.

Video quality tiers

quality is the resolution, format the encode (two independent fields).

quality Display label Resolution Credits/sec (H.264)
draft Draft 480×270 1
share Standard 960×540 1
standard (server default) HD 1920×1080 4
4k 4K 3840×2160 16

draft costs what share costs: a quarter of the pixels, for turnaround. ssaa: false delivers the frame as rendered instead of 2× supersampled (true, and the behaviour when omitted); no price difference.

format Output Multiplier
h264 (default) H.264 MP4 ×1
hevc HEVC MP4 (hvc1) ×1
prores422hq ProRes 422 HQ .mov, 10-bit 4:2:2 ×2
prores4444 ProRes 4444 .mov, 10-bit 4:4:4, transparent unless alpha: false ×4
pngseq PNG sequence: a zip of one PNG per frame, transparent with alpha: true ×4

Transparency. alpha: true delivers the model on transparency with no background in the file: a video needs prores4444 (premultiplied alpha) or pngseq (straight alpha), stills come out as PNGs with alpha. alpha: false puts the background in the file. With the key omitted a prores4444 video is transparent, a pngseq render has its background, and stills are composited. A transparent file carries the Look, overlay frame, text and fades (as fades of alpha) and leaves out vignette. previewBacking ("checker" or a hex color) is what its previews sit on.

quality: "pro" is a legacy alias for 4k + prores4444 (64 credits/sec). The JSON enum values are frozen for API stability; the display labels were renamed and no longer match one-to-one. Pass the JSON value as quality.

When quality is omitted the server defaults to standard (HD, 4 credits/sec) — a bare 6-second render bills 24 credits, not 6. Always pass quality explicitly.

Dataset tiers

Tier Views Resolution Credits
100x800 100 800×800 40
196x1024 196 1024×1024 160
400x2048 400 2048×2048 640

Stills

output: "stills" with a stills array renders one PNG per camera pose (1–64) at the quality tier's size, priced per still: draft 1, share 1, standard 2, 4k 4 credits. Add pathTraced: true for path-traced stills (soft shadows, real reflections; any background and HDRI environment, no procedural scene) at draft 1, share 1, standard 4, 4k 16. Each entry is { pose: { position, lookAt, fov }, label? } — the keyframe pose shape, normalized model frame; label (≤ 24 chars) names the file {model}_{nn}_{label}.png. length, fps and format do not apply. The ZIP (PNGs + manifest.json) comes from download_dataset; the render's poster is the contact sheet.

Camera paths

turntable (default), hero-spin, showcase, zoom-orbit, reveal, keyframes — passed as the effect field.

Full surface

All optional; see each tool's input schema for exact ranges:

Examples

"Import the GLB at https://example.com/chair.glb and render a 4K turntable video with a white background."

The agent calls ingest_model with the URL, create_render with { quality: "4k", bgColor: "#ffffff" }, polls get_render until done, and returns the URL from download_render.

"How much would it cost to render 50 models at 4K?"

The agent calls quote with 50 entries of { quality: "4k" } and reports 4,800 credits (fifty 6-second 4K turntables at 16 credits/second).

"Render the chair facing the label, leaning slightly toward the camera, with the packaging hidden."

The agent calls create_render with:

{ "quality": "share", "panX": 35, "tiltX": -12, "zoom": 1.3, "hiddenMeshNames": ["Packaging"] }

panX/tiltX/rollZ rotate the model (yaw first, then pitch, then roll); rotateY instead offsets where the camera's orbit starts. hiddenMeshNames needs exact case-sensitive mesh names from the GLB — unknown names silently hide nothing.

"Give me HD stills of the chair from the front, the back and a three-quarter hero angle."

The agent calls create_render with output: "stills", quality: "standard" and three stills entries (label front / back / hero, each with a pose), polls get_render until done (6 credits), and returns the ZIP URL from download_dataset.

Troubleshooting