forge3d-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FORGE3D_WORKDIR | No | Absolute path to the working directory used by the forge3d MCP server for outputs (models, viewers, job records). | |
| FORGE3D_EXEC_MODE | No | Set to 'subprocess' to run agent code in a killable child process with rlimits instead of inside the server (HTTP mode forces subprocess isolation). | |
| FORGE3D_THREE_URL | No | URL of a local mirror of three.js used when building the single-file viewer page, for air-gapped machines (defaults to a CDN). | |
| FORGE3D_HTTP_TOKEN | No | Bearer token required by the HTTP transport for any non-loopback bind (e.g. set via openssl rand -hex 32). The server refuses a public bind without a token. | |
| FORGE3D_ALLOW_CODE_EXEC | No | Set to false to disable execution of agent-written code by the procedural, cadquery and blender backends. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_backendsA | List every geometry engine with its availability, strengths and weaknesses. Call this first when a model needs something other than the default. The
|
| doctorA | Diagnose this runtime: OS, Python, which engines exist, what is missing and how to fix it. Call this when a backend reports itself unavailable, or before telling a user that something cannot be done. It returns copy-pasteable install commands for the current OS rather than a generic error. |
| plan_modelB | Turn a vague request into a checkable model spec, before generating anything. purpose is print | web | game | cad | any and it changes what "correct"
means. dimensions are real-world sizes in |
| create_modelB | Generate a 3D model and return its card, validation report and viewer link. backend='auto' routes from the spec; pass an explicit engine when you know
better. Returns |
| get_jobA | Read one generation job by id (status, output path, log, error). |
| list_jobsC | Recent generation jobs, newest first. |
| inspect_modelB | Geometry facts for a model file: triangles, dimensions, watertightness, bodies. Cheap and safe on broken meshes. Use this instead of opening the file. |
| validate_modelA | Check a mesh against a delivery profile: print, web, game, cad or any. Each failure carries a |
| repair_modelB | Merge, drop, fill, re-orient — and optionally decimate — a broken mesh. Writes a new file (never overwrites the input unless you pass the same path). Returns the actions taken so you can tell a human what changed. |
| convert_modelB | Convert between mesh formats: stl, obj, ply, off, glb, gltf, dae. Delivery cheat-sheet: print -> stl, web/game -> glb, archival/CAD -> step (step needs the cadquery backend, not this tool). |
| render_modelA | Render CPU preview images (iso, front, right, top) so you can see the model. Use this after every generation. A model you have not looked at is a guess. |
| make_viewerB | Build a single self-contained Three.js HTML page with the model embedded. The mesh is embedded as a data URI, so the page needs no server, no CORS and
no hosting — send the file to anyone. Note that three.js itself loads from a
CDN by default: for an air-gapped machine, set FORGE3D_THREE_URL to a local
mirror before building the page. For embedding inside an existing web app,
use the |
| create_planetA | Generate a procedural rocky planet: terrain, craters, optional canyon, baked PBR maps. Deterministic — the same seed always produces the same planet, so a website hero image is reproducible. Writes albedo, normal and metallic-roughness textures with correct spherical UVs and embeds them in the GLB. Use this instead of writing noise code inside radius is in world units. subdivisions: 4 = ~5k faces, 5 = ~20k, 6 = ~82k. texture_resolution 0 disables baking (vertex colours only, much smaller file). |
| make_scene_viewerC | Compose several models into ONE self-contained Three.js page. |
| list_shapesA | Catalogue of maths-defined shapes, with the equation and parameters for each. Call this before |
| create_shapeA | Build a shape from a mathematical equation and export it to any mesh format. Pick a family with resolution controls detail (12-512). It is the one knob you usually need — raise it for a hero asset, lower it for a game prop or a phone scene. export_format: glb (default, web), stl (print), obj, ply, off, gltf, dae. GLB and STL are always written; export_format adds one more. Shapes marked |
| list_providersA | List text-to-3D providers: what is configured here, and what is verified. Call this before choosing |
| model_cardA | A ~300-token summary of a model file — the only safe way to describe it in context. Never read mesh data directly; call this and pass the path onward. |
| checklistA | Get a review checklist: brief, geometry, print, web, game or delivery. Tick items as they are verified and carry the dict into the handoff. |
| create_handoffB | Write a handoff packet (JSON + Markdown) so the next agent or teammate needs no context. owners maps a role to a name, e.g. {"design": "priya", "geometry": "agent-a"}. |
| review_modelA | One call for the whole review loop: validate + render + card. Use this as the last step before telling a user the model is ready, and after every repair. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 21 tools
Most tools target distinct pipeline stages: backend discovery, planning, generation, inspection, validation, repair, conversion, rendering, viewing, and handoff. There is some potential overlap between create_model, create_shape, and create_planet, and review_model intentionally aggregates validate/render/card, but the descriptions clearly explain when each is appropriate.
The set is mostly consistent verb_noun naming (list_backends, create_model, inspect_model, validate_model, repair_model, convert_model, render_model, make_viewer, create_handoff, review_model). A few outliers such as doctor, model_card, and checklist are still readable and domain-appropriate, but they break the otherwise predictable convention.
At 21 tools, the surface is heavy for an MCP server and sits at the borderline of the recommended range. The broad 3D generation/validation/delivery domain justifies many of them, but some grouping or consolidation could reduce cognitive load.
The core lifecycle is well covered: plan, generate, inspect, validate, repair, convert, render, review, and hand off. Minor gaps remain around job/model cleanup or cancellation, explicit scene creation, and direct STEP export, but agents can generally work around these.