threenative-sculpt-mcp
Provides tools for turning reference images into user-owned procedural Three.js source, including plan validation, spec gating, image comparison, and pass gating.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@threenative-sculpt-mcp Validate my reference image and create a sculpt plan."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
threenative-sculpt-mcp
Five fail-closed MCP tools for turning a reference image into user-owned procedural Three.js
source. The server evaluates plans, ObjectSculptSpec depth, captured frames, and pass gates;
it never generates source or launches a browser.
Run locally
pnpm install --frozen-lockfile
pnpm build
node dist/server.jsThe server communicates over stdio. Configure an MCP host to launch
./node_modules/.bin/threenative-sculpt-mcp from the generated project.
Related MCP server: rupa3d
Surface
sculpt_plan— validate a reference and return the locked pass order plus relevant grimoire URIs.sculpt_spec_gate— validate the retainedObjectSculptSpeccontract and depth minimums.sculpt_compare— compare an existing capture with the reference globally and by normalized region.sculpt_pass_gate— returnadvance,retry, orstop; uncertainty can never advance.sculpt_grimoire— read a topic; unknown topics fail with the complete valid-topic list.
Every technique-safe page is exposed as sculpt://grimoire/<topic>.
The source repository retains the complete upstream grimoire verbatim. The served resource
index is narrower: pages containing concrete fenced GLSL or material recipes are rejected by
both resource discovery and sculpt_grimoire. This keeps the MCP surface technique-oriented;
the agent authors the game's materials and shaders in src/render/.
Upstream does not contain a standalone JSON Schema for ObjectSculptSpec. This fork documents
its explicit MCP runtime subset in schema/object-sculpt-spec.runtime.schema.json and applies
the upstream simple/moderate/complex/ultra-complex depth thresholds in code. The eight locked
passes are blockout, structural, form, material, surface, lighting, interaction, and optimization.
The nested shapes consumed by sculpt_spec_gate are objects: the tier is
preSpecAssessment.complexity.tier, and inventory entries are in
preSpecAssessment.detailInventory.details. This complete simple-tier example is also packaged
as examples/simple-object-sculpt-spec.json:
{
"schemaVersion": "2.1",
"targetName": "Reference object",
"suitability": "pass",
"coordinateFrame": {},
"silhouette": {},
"componentTree": [{ "id": "root", "level": "macro", "localFeatures": [] }],
"materials": [{ "id": "base" }],
"repetitionSystems": [],
"proceduralStrategy": ["Build the observed silhouette"],
"preSpecAssessment": {
"complexity": { "tier": "simple" },
"detailInventory": {
"details": [
{ "id": "primary-outline" },
{ "id": "dominant-proportion" },
{ "id": "material-break" }
]
}
},
"qualityContract": {
"minimumSpecDepth": {
"macroComponents": 1,
"mesoComponents": 0,
"microFeatureGroups": 0,
"materialLayers": 1,
"repetitionSystems": 0,
"reviewViewpoints": 2
}
},
"qualityTargets": { "reviewViewpoints": ["front", "three-quarter"] }
}Deterministic pixel comparison is diagnostic evidence. sculpt_pass_gate requires a semantic
review of the same image pair and its critical features; absent or ambiguous review evidence
returns retry (or stop at the configured final attempt), never advance.
Low deterministic scores and regional confidence produce correction guidance but do not block
an otherwise passing semantic review when compareResult.ambiguous is false. An explicitly
ambiguous comparison still blocks advancement.
sculpt_compare reads PNG, JPEG, WebP, GIF, AVIF, and TIFF through Node's sharp package.
It rejects missing, zero-byte, undecodable, and all-one-colour captures. It does not include
Python, uv, Playwright, browser automation, source generation, or runtime game code.
Verify
pnpm typecheck
pnpm test
pnpm pack --dry-runThe retained material, adaptations, ports, and resource-safety filter are described in
NOTICE; the package is Apache-2.0.
Available Tools
5 toolssculpt_compareARead-onlyIdempotent
Produce deterministic diagnostic evidence from an existing capture and reference, globally and per normalized region. Never launches a browser and never authorizes advancement.
Inputs: capturePath (required), referencePath (required), regions.
sculpt_grimoireARead-onlyIdempotent
Fetch a technique-safe grimoire page by topic. Unknown and concrete shader/material recipe topics fail and list valid topics.
Inputs: topic (required).
sculpt_pass_gateCRead-onlyIdempotent
Return advance, retry, or stop. Semantic review controls advancement; deterministic scores supply corrections, while an explicitly ambiguous comparison blocks advancement.
Inputs: passId (required), compareResult (required), attempt, threshold, +3 more.
sculpt_planBRead-onlyIdempotent
Validate a reference image and return the locked eight-pass sculpt order plus relevant technique-safe grimoire resources.
Inputs: intent (required), referencePath (required).
sculpt_spec_gateARead-onlyIdempotent
Validate the MCP runtime ObjectSculptSpec contract and canonical complexity depth thresholds before code is written.
Inputs: spec (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool addresses a distinct phase or concern: planning, spec validation, comparison, pass gating, and resource lookup. There is no ambiguity between them; the descriptions clearly separate their roles.
All tool names share the sculpt_ prefix, but the suffixes mix verbs (compare) and nouns (plan, grimoire) with compound nouns (spec_gate, pass_gate). This is mostly consistent but not a uniform verb_noun pattern.
5 tools is well within the ideal 3-15 range, and each tool serves a necessary, non-redundant function within the workflow.
The core workflow of plan, validate, compare, gate, and fetch resources is well covered. Minor gaps exist, such as no direct way to list all grimoire topics without triggering an error, but the surface is sufficient for the likely use case.
Related MCP Connectors
Deterministic MCP, JSON Schema, and SemVer preflight via Agothe's public MUV scope.
- VULKDeprecatedio.github.devjoaocastro
Generate, edit, and deploy immersive 3D/WebGL web projects from any MCP assistant.
Create, inspect, validate, and save editable 3D building scenes with Pascal's MCP server.
Verified component catalog over remote MCP: agents pick component ids and get a stamped project repo that builds. Connect at https://www.botkelp.com/mcp. Auth: MCP OAuth 2.1, or a Bearer bk_live_ API key; initialize and tools/list are open.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceReconstructs a reference image as procedural 3D geometry through a staged pipeline, generating a Three.js model, preview, comparison, and glTF export.MIT
- AlicenseAqualityCmaintenanceEnables AI agents and MCP clients to perform 3D asset creation and verification: exact b-rep CAD, GLB validation with embedded certificates, mesh inspection, and physics scenes, with most tools running without Blender.3648 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to procedurally generate, transform, inspect, and export 3D meshes and scenes through MCP tools.1MIT
- AlicenseAqualityCmaintenanceEnables generating consistent four-view concept references, textured Meshy 3D models, and Adaptive Low remeshes through an MCP server and resumable command-line workflow.8MIT