Stori3D (renamed: use stori3d-mcp)

v0.4.2
io.github.richy7734/nexus3d-mcp Checked 3 days ago Published 1 month ago

Renamed: use io.github.richy7734/stori3d-mcp.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

connect Connect to Stori3D

Pair with the Stori3D tab showing this 6-digit code (Stori3D → AI agent → Connect). Needed once per session before the other tools work.

ParameterTypeDescription
code *stringThe 6-digit code shown in Stori3D

status Connection status

Whether Stori3D is connected, and to which project.

project_summary Project summary

Start here. The open project at a glance: levels (id, name, elevation and floor-to-floor height in mm, room count and usable room area in m²), element counts, custom property definitions, site location and sun, the active level and the selection. Units: lengths mm, areas m², angles degrees; plan x east, y north.

list_elements List elements

Elements of the model as plain data, filtered and paged. Kinds: level, wall (start/end points, length, height, thickness, face area m², opening ids), slab, roof, stair, door, window (width, height, sill, host wall id, size limits), furniture (type, position, rotation, size, limits), room (area m², enclosed, tag). Outlines are summarised unless detail is "full". Every element has id, kind, name, level (the level's id) and properties (custom data).

ParameterTypeDescription
detailstringfull includes outlines
kindOnly these kinds
levelstringLevel id or name
limitintegerDefault 100
offsetinteger
propertyobjectOnly elements with this custom property (set to this value)
selectedbooleanOnly what the user has selected

get_element Get element

One element by id, in full (outlines included).

ParameterTypeDescription
id *string

get_selection Get selection

What the user has selected in Stori3D right now — use it when they say "this wall" or "these doors".

get_schedule Get schedule

A schedule table: standard columns for the kind plus a column per custom property. openings = doors and windows (type, width, height, sill, wall); rooms (area, gross area, perimeter, enclosed); walls (length, height, thickness, face area, openings); slabs; stairs (risers, riser height, going); furniture.

ParameterTypeDescription
kind *string
formatstringDefault json ({ columns, rows })

list_catalogue List catalogue

What can be placed: furniture types for place_furniture (with default sizes in mm and category), including about 180 realistic models from the asset library ("ph:…": furniture, Lighting, Decor, Office, plants and trees; ceiling and wall lamps are hung automatically), the user's My library pieces ("custom:…"), and door and window types for place_opening. Filter by category in your own reasoning: the list is long.

ParameterTypeDescription
kindstring

list_finishes List finishes

Finishes for paint_surface: id, name, group (Paint & plaster, Brick & block, Concrete & stone, Timber, Tiles, Flooring, Roofing, Metal & glass, Fabric, Landscape), tile (mm per pattern repeat) and source (built-in, or ambientCG: photographed PBR materials, "acg:…"). Filter with group and/or search words (e.g. "oak", "terrazzo", "white paint"). With element instead: that element's surfaces and the finish on each (a room gives walls, floor and ceiling).

ParameterTypeDescription
elementstringAn element or room id: list its surfaces and their finishes instead
groupstring
searchstringWords to match in id, name or group

list_skies List skies

Skies for set_sky (HDRI environments: clear, cloudy, sunset, overcast, city, countryside, night, studio) with id, name and group, plus the project's current sky and its settings (null: the default lighting).

list_properties List custom properties

The project's custom property definitions (name, type text/number/boolean/choice, unit, choices, which kinds they apply to).

get_plan_svg Get plan (SVG)

The architectural 2D plan of a level as SVG text (walls cut at 1.2 m, doors and swings, dimensions in mm, room names and areas). For a picture you can look at, use capture_view with mode "plan".

ParameterTypeDescription
levelstringLevel id or name (default: the active level)
scalenumberDrawing scale denominator, default 100 (1:100)

get_drawing_svg Get elevation or section (SVG)

An elevation (south/north/east/west: the façade seen from that side) or a section (section-ew: an east–west cut looking north; section-ns: a north–south cut looking east) of the whole building as SVG text: hidden-line drawing, cut walls/slabs/roofs solid, level lines with elevations. Drawing units are metres, y down. For a picture, use capture_view with mode "drawing".

ParameterTypeDescription
view *string
flipbooleanSections: look the other way (south / west)
offsetnumberSections: where to cut, mm (north for section-ew, east for section-ns). Default: through the middle
scalenumberDrawing scale denominator, default 100

list_views List saved views

The project's saved camera views (id and name). Go to one with go_to_view or picture it with capture_view mode "view".

list_tours List walkthrough tours

The project's walkthrough tours: camera paths played like a video (stops with plan positions in mm and heights above the ground in mm, travel and pause seconds, loop, where visitors may walk from, and the player-only share link if shared), plus the project details shown with shared tours.

capture_view Look at the model

A picture, so you can check your work. mode: "overview" (the whole building from the south-east, above; site context hidden), "plan" (the 2D plan drawing of a level, north up, with dimensions), "drawing" (an elevation or section, see get_drawing_svg), "element" (one element framed), "view" (a saved view), "current" (exactly what the user sees). Look after significant changes.

ParameterTypeDescription
contextbooleanInclude site context (terrain, neighbouring buildings)
drawingstringFor mode "drawing" (default south)
elementstringElement id for mode "element"
heightintegerPixels, default 768 (plans keep their proportions)
levelstringLevel id or name for mode "plan"
modestringDefault current
offsetnumberFor a section drawing: where to cut, mm
viewstringSaved view id or name, for mode "view"
widthintegerPixels, default 1024

select Select

Select elements in Stori3D so the user sees them highlighted and their properties (e.g. the doors that fail a check). Empty ids clears the selection.

ParameterTypeDescription
ids *array

set_camera Move the camera

Move the user's view: preset "overview", "top" (plan view of the active level) or "element" (frame one element), or an eye position and target (plan mm plus height in mm above ground).

ParameterTypeDescription
elementstring
positionobject
presetstring
targetobject

go_to_view Go to a saved view

Move the user's camera to a saved view (id or name from list_views).

ParameterTypeDescription
view *string

set_active_level Switch level

Make a level the active one (the one being edited and drawn in plan; others show ghosted or hidden). New elements go on the active level unless you name one.

ParameterTypeDescription
level *stringLevel id or name

set_section Section cut

Cut the model to see inside: "plan" (horizontal, height mm above the active floor), "x" (vertical at plan x = offset mm), "y" (vertical at plan y = offset mm), or "off".

ParameterTypeDescription
mode *string
heightnumber
offsetnumber

set_sun Set the sun

Sun and shadows for the site (needs a site location): date YYYY-MM-DD and time in hours local to the site (e.g. 9.5 = 09:30). Returns the sun's azimuth (degrees clockwise from north) and altitude. Use with capture_view for shadow studies.

ParameterTypeDescription
datestring
enabledboolean
timenumber

update_element Update element

Change an element. Lengths in mm, angles in degrees. By kind: level {name, elevation, height}; wall {length, height, thickness}; slab {thickness}; roof {roofType flat|shed|gable|hip, pitch, overhang, thickness}; stair {width, going, maxRiser, shape straight|L|U, turn left|right, position, rotation}; door/window {width, height, open 0–1}; furniture {position, rotation, width, depth, height, lamp {on, lumens, kelvin}}; column {shape rect|round, width, depth, height, position, rotation}; room {name}. wall also {attachTop: true} to extend it up to the roof over it. Any: {name}. A size outside th…

ParameterTypeDescription
changes *object
id *string
clampboolean

create_walls Draw walls

Walls along a polyline of plan points (wall centre lines, mm). closed joins the last point back to the first. Corners join automatically. Default height 2700, thickness 200 (mm).

ParameterTypeDescription
points *array
closedboolean
heightnumber
levelstringLevel id or name (default: the active level)
thicknessnumber

create_room Create room

A room in one step: walls around the outline (wall centre lines; edges that an existing wall already covers are skipped, so rooms can share walls), a floor slab, and a room tag holding its name and custom properties. Returns the room (area = usable floor inside the walls, m²).

ParameterTypeDescription
outline *arrayWall centre lines in order; closed for you
heightnumberWall height mm (default 2700)
levelstring
namestring
propertiesobject
slabbooleanFloor slab (default true)
thicknessnumberWall thickness mm (default 200)

place_opening Place door or window

A door or window in a wall. offset = mm from the wall's start point to the opening's centre (get the wall's start/end/length from list_elements). Windows take a sill height (mm above the floor); doors stand on the floor. flip turns it to face the other side (door swing). Fails with the allowed range if it doesn't fit or overlaps another opening, unless clamp is true. Types: list_catalogue.

ParameterTypeDescription
offset *number
type *string
wall *string
clampboolean
flipboolean
heightnumber
namestring
sillnumber
widthnumber

place_furniture Place furniture

A piece of furniture: type from list_catalogue, position (plan mm, its centre) and rotation in degrees counter-clockwise: 0 faces south (back to the north), 90 faces east, 180 north, 270 west. Against a wall, face away from it. Sizes in mm within its limits (fixed dimensions can't change) unless clamp is true. Leave clearances: ~900 mm walkways, 600 mm in front of storage.

ParameterTypeDescription
position *objectPlan point in mm (x east, y north), relative to its level
type *string
clampboolean
depthnumber
heightnumber
levelstring
namestring
rotationnumber
widthnumber

place_column Place column

A structural column standing on its level: position = centre of its foot (plan mm), shape rect (width × depth) or round (width = diameter), default 300 × 300 mm and the level's floor-to-floor height. rotation in degrees counter-clockwise. Cut solid in plans and sections.

ParameterTypeDescription
position *objectPlan point in mm (x east, y north), relative to its level
clampboolean
depthnumber
heightnumber
levelstring
namestring
rotationnumber
shapestring
widthnumber

solid_operation Solid tools (booleans)

Boolean on closed objects, by id (elements or other objects): union (merge), subtract (the first minus the others, which are removed), trim (the same, the others kept) or intersect (only the overlap). The first id is kept and becomes a plain mesh (it loses parametric data, so walls, slabs, roofs, stairs and columns can only cut, not be cut). A door or window used to cut cuts its rough opening and stays, e.g. to open an imported wall. Objects that aren't closed solids are refused. Returns the result's id.

ParameterTypeDescription
ids *arrayThe first is kept
operation *string

paint_surface Paint surfaces

Put a finish (list_finishes) on surfaces of one or more elements, as one undo step. surface by kind: room — walls (every wall face inside the room), floor (its floor slab), ceiling (the underside of the slab above); wall — left, right (seen walking from its start to its end) or both; slab — top or underside; roof — roofing or gables; stair — flights or rails; column, furniture, door, window — all, or a part name (list_finishes with element lists them). Default: a room's walls, a wall's both sides, a slab's top, otherwise all. A wall face is one surface along its whole length: paint…

ParameterTypeDescription
finish *stringFinish id from list_finishes
ids *Element or room id(s)
rotationnumberDegrees
scalenumber
surfacestring

set_sky Set the sky

The project's sky (list_skies): an HDRI environment that lights the model with realistic reflections and ambient light and can show behind it. id "none" goes back to the default lighting. rotation (degrees) turns it, e.g. to put the sunset behind the building; intensity is the lighting strength (1 = as photographed, 0–5); background false lights the model without showing the sky; blur (0–1) softens the background. Settings you leave out keep their current values. Saved with the project; one undo step. Works alongside set_sun (direct sunlight and shadows).

ParameterTypeDescription
backgroundboolean
blurnumber
idstringSky id, or "none"; omit to adjust the current sky
intensitynumber
rotationnumber

save_view Save the current view

Save the user's current camera as a named view (for presenting, image exports and share links). Set it up first with set_camera.

ParameterTypeDescription
name *string

create_tour Create walkthrough tour

A walkthrough tour, the way architects draw it: a `path` of points on the plan (mm, x east, y north) that the camera travels through along a smooth curve, at each point's camera `height` above its level's floor and `speed` (m/s) to the next point, pausing where `pause` is set. The camera looks along the path, or turns to a point's `lookAt` near it. Keep paths inside rooms and through door openings (not through walls): a point a metre outside the front door, one just inside, then the middle of each main room; pause 1–2 s where there is something to see. For an opening shot, start with an aeri…

ParameterTypeDescription
fovnumberField of view for path tours, degrees (default 60)
loopboolean
namestring
patharrayThe camera path (preferred)
stopsarrayInstead of a path: camera stops
walkobjectLet visitors walk around from here

update_tour Update walkthrough tour

Change a tour (id or name): name, loop, fov, walk (null: no walking), path (replaces all points; same format as create_tour) or stops.

ParameterTypeDescription
tour *stringTour id or name
fovnumber
loopboolean
namestring
patharray
stopsarray
walk

delete_tour Delete walkthrough tour

Delete a tour (id or name). Its share link stops working.

ParameterTypeDescription
tour *string

share_tour Share walkthrough tour

Publish a tour as a player-only link (play/pause/speed, optional walking, project details; nothing else) and return it. The user is asked to allow it first, and the project must be signed in to the cloud. The link updates on every cloud save. Set the project details with set_project_details first.

ParameterTypeDescription
tour *string

set_project_details Set project details

The details shown with shared tours: architect, client, location, description (plain text). Levels and floor area are added automatically.

ParameterTypeDescription
architectstring
clientstring
descriptionstring
locationstring

create_level Add level

An empty level on top of the building (or below it). height = floor to floor, mm.

ParameterTypeDescription
belowboolean
heightnumber
namestring

copy_level Copy level above

Copy a level (walls, doors, windows, slabs, furniture, room tags) to a new level on top of the building — the quick way to start the next storey.

ParameterTypeDescription
level *string

remove_elements Delete elements

Delete elements by id (a wall takes its doors and windows with it). Deleting a level, or more than 10 elements, asks the user in Stori3D first — tell them why.

ParameterTypeDescription
ids *array

set_properties Set custom properties

Set custom property values on an element (null clears one). Values are checked against the project's definitions (types, choices). Setting data on an untagged room tags it and returns its new id.

ParameterTypeDescription
id *string
values *object

define_property Define custom property

Add or replace a project property definition: name, type (text, number, boolean, choice), optional unit, choices (for choice), kinds (which element kinds get it; omit for all).

ParameterTypeDescription
name *string
type *string
choicesarray
descriptionstring
kindsarray
unitstring

remove_property Remove custom property

Remove a property definition (values already on elements are kept).

ParameterTypeDescription
name *string

batch Batch of changes

Several changes as ONE undo step, all or nothing: if any operation fails, none are applied and the error says which. Each operation is { tool, args } using update_element, create_walls, create_room, place_opening, place_furniture, place_column, paint_surface, set_sky, save_view, create_level, copy_level, set_properties, define_property or remove_property. Use it for multi-step edits the user would think of as one change.

ParameterTypeDescription
operations *array
labelstringShort name for the undo step, e.g. "Furnish bedroom"

undo Undo

Undo your own last change (only if the latest step in Stori3D's history is an AI change — never the user's).