# Show-Real Suite — 2Dream & Tangibl3D for agents > One MCP server drives two creative apps: **2Dream** (vector illustration & page layout: multi-page documents, shapes, flow text, images, photo effects, PDF export, flipbook viewer, Sign & Confirm) and **Tangibl3D** (3D modelling from recipes: Doo-Sabin subdivision and hard-edge polymeshes, blueprints with real-world dimensions). Hosted, nothing to install. A keyless sandbox lets any agent start in one call; projects there expire after 24 hours. ## Endpoints - MCP (Streamable HTTP, JSON-RPC 2.0, protocol 2025-06-18): https://api.2dream.studio/mcp — header `Authorization: Bearer t3d_` (same server as https://api.show-real.com/mcp) - Sandbox without account: POST https://api.2dream.studio/mcp/sandbox — header `X-Agent-Id: `, or `?agent=` in the URL for clients that cannot set headers (claude.ai and ChatGPT connectors). Without either, the client IP is the identity, which is unreliable for cloud clients whose egress IP changes between calls. - Live tool registry, limits and changelog (JSON, CORS open): https://api.2dream.studio/mcp/docs.json - Human-readable documentation: https://api.2dream.studio/ (same as https://doc.api.show-real.com/) ## Tools - 2Dream `d2_*`: d2_doc_list, d2_doc_create, d2_doc_describe, d2_page_add, d2_page_delete, d2_node_add (rect | ellipse | line | polygon | path (SVG d) | text (a flow text frame that wraps; mode art only for display lettering) | image (URL) | signature), d2_text_story (body text through linked frames, across pages), d2_text_link, d2_node_update, d2_node_transform, d2_node_delete, d2_node_order, d2_node_group, d2_doc_svg, d2_doc_share (view | sign | sandbox); blueprint: d2_expose_start, d2_wire_list, d2_wire_add, d2_wire_set, d2_wire_fill, d2_ci_get, d2_ci_set. Units: millimetres, origin top-left, y down; pt for strokes and fonts. - 2Dream book author `d2_book_*` (v1.11.0): d2_book_howto, d2_book_create, d2_book_get, d2_book_set, d2_book_submit (chapter manuscripts, unit loop), d2_book_image (illustrations: url upload or server generation), d2_book_typeset, d2_book_flatten — see “Book author” below. - Tangibl3D `t3d_*`: t3d_scene_list, t3d_scene_create, t3d_scene_describe, t3d_object_add (box | sphere | torus | cylinder | lathe | prism), t3d_object_transform, t3d_object_color, t3d_object_delete, t3d_mesh_extrude, t3d_mesh_collapse, t3d_mesh_heal, t3d_mesh_subdivide, t3d_blueprint_list, t3d_blueprint_place, t3d_scene_share, t3d_scene_import; v1.6: t3d_howto (modelling guide), t3d_object_faces (find faces by direction/size/position), t3d_turtle (extrude · squeeze · pitch/yaw/roll steps — the 3D turtle), t3d_face_transform (the gizmo on a face selection), t3d_material_list, t3d_object_material (finishes, texture library, tileSize_m); v1.7: t3d_mesh_bridge (ONE new tunnel segment between two faces — inside an object or across objects), t3d_mesh_merge (two opposite faces welded into a seamless joint — closes rings, joins parts, repairs); v1.8 animation: t3d_anim_describe, t3d_anim_scene, t3d_anim_track (entry/exit effects, keyframe offsets, path following), t3d_anim_camera (camera rides: keyframes or a control-path ride), t3d_path_add, t3d_camera_add, t3d_anim_event, t3d_interact_set (clickable objects); v1.8.1: t3d_avatar (start point, view direction, eye height and walking speed for the first-person walk mode); v1.8.2: t3d_scene_share nav + player {controls, autoplay, click_cameras, loop, grid, helpers, lock} configure the shared player and return the iframe embed code; v1.9.0: t3d_object_clone, t3d_object_split, t3d_object_group (one object per thing, t3d_howto objects), t3d_scene_import objects[] + faceColors; v1.10.0: t3d_scene_check (quality score 0–100 with flags), brief on t3d_scene_create / t3d_scene_brief, every tool call is recorded with arguments and result. Units: meters, X right, Y up (ground y=0), Z depth. ## Start here - Connect (Claude Code): `claude mcp add --transport http show-real https://api.2dream.studio/mcp --header "Authorization: Bearer t3d_YOUR_KEY"` - Try without a key: `claude mcp add --transport http show-real-sandbox https://api.2dream.studio/mcp/sandbox --header "X-Agent-Id: my-agent"` - claude.ai custom connector (no auth): URL `https://api.2dream.studio/mcp/sandbox?agent=my-agent` - 2Dream blueprint (v1.4): d2_expose_start (kind report | yearbook | menu | letter | flyer | website → document + wireframe frames with prompts on a non-printing layer), d2_wire_list (blueprint incl. CI + data tables), d2_wire_add, d2_wire_set (prompt, data binding, status=done, filledId), d2_ci_get, d2_ci_set (colours with roles, fonts, logos). Execute a blueprint (v1.5): for every open frame call d2_wire_fill — text | headline | footer with your text (set as a flow text frame at the bbox in the CI fonts/colours, shrink-to-fit on overflow), image | logo with a url; charts/tables: d2_node_add at the bbox + d2_wire_set status=done. - Typical 2Dream flow: d2_doc_create → d2_node_add (shapes, text frames, images) / d2_text_story (running copy) → d2_doc_describe → d2_node_update / d2_node_transform → d2_doc_share. Hand a draft to a human with mode `sandbox` (editable 24-hour copy, no account needed). - Images (v1.12): every raster picture you add to a 2Dream document (URL or data URL) is stored once on the server and linked from the document. Documents stay small and calls stay fast even with a full-page picture on every page (comics, picture books); the same picture on several pages costs nothing extra. Pictures already embedded in older documents move out on the next change. One call per picture is fine — there is no need to batch. - One object per thing (v1.9.0): a chair, a door, a window, a wheel is its own named object — never one mesh per material or layer that holds every item of that kind in the whole house (selecting one would select all; nothing can be moved, recoloured or animated on its own). `t3d_object_add parts[]` and `t3d_scene_import objects[]` make one object each (faceColors = a colour per face, so frame + cushion can share one object); repeat a thing with `t3d_object_clone` (placements, name counting, assemblies); name an assembly with `t3d_object_group` (a click selects the set in the editor); repair a merged mesh with `t3d_object_split {mode: clusters | islands}`. `t3d_scene_describe` reports islands (disconnected pieces) per object and warns about meshes with many pieces. Parts of ONE thing (leaves, tread lugs, screws) stay inside it. - Check before you finish (v1.10.0): `t3d_scene_check {project}` scores the scene 0–100 and lists flags — generic names ("Object 3"), objects made of many disconnected pieces (one object per thing), open Doo-Sabin cages, size outliers (> 300 m or < 3 mm), objects below the ground (y < 0). Fix what it flags, then share. Give every scene a brief (`t3d_scene_create {title, brief}` or `t3d_scene_brief`): what the scene is for, in one or two sentences — `t3d_scene_describe` returns it. - Traces (v1.10.0): every tool call is recorded with its arguments and result (tool, duration, ok) for debugging and as training data for the Tangibl3D CAD model; see the privacy notes in the app. - Typical Tangibl3D flow: t3d_howto → t3d_scene_create → t3d_object_add from recipes (softedge:true) → t3d_object_faces → t3d_turtle / t3d_face_transform / extrude / collapse / heal → t3d_mesh_bridge / t3d_mesh_merge (join parts, close rings) → t3d_mesh_subdivide level 2 → t3d_object_material → optionally t3d_anim_scene / t3d_anim_track / t3d_anim_camera (animation, camera rides) → t3d_scene_share (the link plays the animation). ## Book author (d2_book_*) — v1.11.0 - A book is a MANUSCRIPT, never a layout: you write chapters (Markdown-light) and describe illustrations; the typesetter (deterministic code) makes the pages — chapter openers on right-hand pages with blank versos, running heads and folios, contents with leaders and page numbers, half- and full-page illustrations at their anchors, chapter end-notes, widow/orphan control. - Loop: `d2_book_howto` (once) → `d2_book_create {title, author, lang, layout, fontSet, voice, audience, synopsis, chapters:[{title, summary, targetWords}], imageStyle}` → `d2_book_submit {doc, unit:"ch:", text, images:[{id, size, caption, prompt}]}` chapter by chapter — EVERY result names the next unit (chapter or image) in `next` plus a `directive`: do it at once, never ask the user whether to continue, never print the chapter text in the chat. The server validates length (targetWords), truncation and placeholders and rejects with `problems` (fix and resubmit; `force:true` overrides). - Illustrations: `next` of kind image carries the compiled prompt (style sheet merged: style, palette, mono, references, negatives, aspect). Generate it with your image tool and hand it in with `d2_book_image {doc, id, url}` (https or data URL → stored and placed); `mode:"generate"` lets the server create it (OpenAI image model, user's ⚡ balance); if you cannot upload, ask the user to paste it into the slot in the editor and go on. - Layout types: novel · nonfiction · textbook · children · coffeetable · documentation · paperback · poetry (format, margins, columns, fonts, image rule per type); fonts: serif Tinos, EB Garamond, Libre Bodoni, Libre Baskerville, Crimson Text, Literata, Gentium Book Plus, Spectral · sans Arimo, Inter, Source Sans 3, Fira Sans, Work Sans, Archivo; voices: sachlich, reisserisch, dokumentarisch, kritisch, kuenstlerisch, erzaehlerisch, kinderbuch, intellektuell, lehrbuch, ratgeber. - Manuscript syntax: `## section`, `### sub-section`, blank line = paragraph, `> quote`, `- list`, `1. list`, `***` scene break, `\newpage`, `![caption](id half|full|vignette)` places the illustration after that paragraph, `[^1]` + `[^1]: note`, `[[ch:c2]]` cross-reference, `**bold**`, `*italic*`; poem lines end with two spaces. - Finish: `d2_book_typeset` (optional), `d2_doc_share mode view` → reader link. Server page breaks are estimates; opening the document in 2Dream (editor or viewer) re-sets the book with exact font metrics. `d2_book_flatten` („Buch auf Dokument umrechnen") turns the locked book pages into ordinary editable frames; `d2_book_get` is the resume point, `d2_book_set` changes settings and the chapter plan. ## Body text (Fließtext) — v1.5 - `d2_node_add kind:text` creates a TEXT FRAME: paragraphs (separated by \n) wrap at word boundaries inside w×h, like a text box in a page layout. This is the default (`mode: flow`) — use it for body copy, headlines, captions, footers. Omit `h` to size the frame to the text. Options: fontSize (pt), font, align (left | center | right | justify), lineHeight, valign, columns + columnGap, padding, autofit (shrink | grow), hyphenate + lang, firstIndent, paragraphSpacing; `fill` is the text colour. - `mode: art` is display lettering only: the text is scaled to the frame (fitted to its natural proportions, so it is never distorted). Never use it for running text. - Long copy: `d2_text_story` takes the whole text once plus the frames in reading order (any pages); the text flows through the chain and the editor keeps it editable. Continue an existing frame with `d2_text_link` (to an empty flow frame). Resize a frame with `d2_node_transform width/height` — glyphs keep their size, the text re-wraps. - Every text result carries an estimate: `lines_est`, `capacity_lines`, `overflow_est_lines` + `hint`. The exact layout (real fonts, hyphenation) happens in the editor, viewer and PDF; overflow shows there as a red ⊞. - Objects always land on the printable layout layer (pass `layer` to choose another). The "Wireframes" layer is non-printing: nothing placed there reaches the viewer or PDF — `d2_doc_describe` warns about such objects (`nonprinting`, `warnings`). - `d2_doc_svg` wraps flow text by estimate and hides wireframes — a quick check, not the final rendering. ## Modelling in Tangibl3D — Doo-Sabin, the 3D turtle, materials (v1.6) - Tangibl3D is a cage modeller: you edit a coarse polygon cage, the app smooths it with Doo-Sabin subdivision (level 1–4). Think in cages (a bottle = a 12-sided cylinder + three extrudes), keep them closed (t3d_mesh_heal), set level 2 at the end. - Soft shapes come from extrude + squeeze: extrude a face and scale the new cap below 1 — after smoothing the end is rounded (two squeezes = a dome, scale > 1 = flare). Crisp edges come from two cage faces close together, not from flags. - The control gizmo is a 3D turtle: the selected face is the head, its normal the heading. `t3d_turtle` extrudes forward (distance), squeezes/flares (scale), steers (pitch, yaw), twists (roll) and returns the new head — chain steps to draw pipes, horns, handles, branches; a 90° elbow = {pitch: 15, repeat: 6}. `t3d_face_transform` is the same gizmo without the extrude (move, alongNormal, scale per axis, rotate). `t3d_object_faces` finds the face to start from (facing up/down/left/right/front/back, largest, near). This chain is the trademark of the Show-Real subdivision editor. - Materials: `t3d_object_material` sets a finish (standard | kunststoff | keramik | beton | silber | alu | gold | glas), a library texture (`t3d_material_list`: brick, concrete, wood deck, oak, parquet, marble, rock, bark, hedge, meadow, forest floor, gravel, metal plate, steel, rust, brushed metals (alu, chrome, copper, gold, rose gold — tint with color), camo, glass ceramic, aerial terrain, street, displays …), color, brightness, reflectivity, transparency. - Tiling: textures are box-projected (no UVs) and repeat `tile` times across the object's largest dimension. Pass `tileSize_m` (real size of one repeat, e.g. 2 for a 2 m brick texture) and the server computes tile = largest_extent / tileSize_m; every library entry lists its typical `realTile_m`, used by default. `tileSizeV_m` and `angle_deg` adjust the second axis and the rotation. Smoothing never changes the projection. Materials are per object, colours (t3d_object_color) per face and visible only without a texture. - Joints, closed shapes, repairs (v1.7): `t3d_mesh_bridge` connects two faces with equal corner counts by ONE new ring segment of quads (both faces vanish) — inside one object (faces [a, b]) or across objects (faces [a] + with {object, face?}; the other object is merged in, the partner face is picked automatically when omitted). `t3d_mesh_merge` fuses two roughly opposite faces seamlessly: corners welded, both faces removed, no new segment (dock-and-weld across objects; anchor a | b | mid). Both return the new face indices (segment / seamFaces), closed and an Euler check (2 = ball, 0 = ring). Closed turtle ring: tilt the start cap 15° (t3d_face_transform rotate), 23 × {distance, pitch 15} in one call, then merge the head with the start face. - Full guide: `t3d_howto` (topics overview, doo-sabin, turtle, joints, materials, recipes, animation) — also in docs.json under `guides`. ## Animation in Tangibl3D — scenes, keyframes, camera rides, paths (v1.8) - Timeline = scenes (segments at 30 fps). Frame 0 is the placement; from frame 1 the animation runs, so every key is an offset from where the object stands. `t3d_anim_describe` lists scenes, tracks, cameras, paths, events and clickable objects — read it before editing. - Objects: `t3d_anim_track {object, keys:[{t_s, move, rotate_deg, scale, alpha, path_pos}], entry/exit {fx: fade|grow|flyL|flyR|flyT|flyB, at_s, dur_s}, path, pathAlign, hide}`. Parametric groups (vehicle, watch, plant) animate as one object via their driver. - Paths: `t3d_path_add {points, closed, smooth, flat}` creates a control path (helper curve — drawn as a line in the editor, hidden in the player). Objects follow it (`t3d_anim_track path`, path_pos 0 → 1, pathAlign turns them along), and the camera rides it. - Camera rides: static view = `t3d_camera_add` + `t3d_anim_scene camera`; keyframed ride = `t3d_anim_camera keys [{t_s, pos, target, fov_deg}]` (dolly, crane, push-in, orbit), eased smooth or linear; path ride = `t3d_anim_camera path {path, look: ahead|center|object|[x,y,z], height_m, from, to, t0_s, t1_s}` (walkthrough, fly-over, turntable on a closed circle). `depth` 0–1 on the scene is the perspective slider. - Events and clicks: `t3d_anim_event` (label, goto for loops, stop, scene switch, prompt, sound) and `t3d_interact_set` (cmd play|stop|goto|scene|cam|url|sound|vis|light) turn objects into hot spots and buttons. - Viewer: `t3d_scene_share` links play scene 1 in a loop (?play=auto), ?play=click steps through cameras, ?play=free; ?nav=orbit|spin|walk. Player button bottom-left; controls fade during playback and return on tap or mouse move. Camera rides play in the link (not in walk mode). - Player configuration (v1.8.2): `t3d_scene_share {nav, player: {controls, autoplay, click_cameras, loop, grid, helpers, lock}}` writes the settings into the link (?ui=…, ?play=click|free, ?loop=0, ?grid=1, ?helpers=1, ?lock=rot,zoom,pan,pinch) and returns the iframe embed code. Control groups: bar (header), menu (view menu top-left), gizmo (orientation ball), nav (orbit/spin/walk bar), view (edges/control mesh/grid/helper toggles), zoom (zoom-all / local view), info (info pins), hint (hint line), anim (play/pause/stop) — `controls: []` is the bare scene (?ui=0). loop:false plays once and holds the last frame; the Stop button resets, double-click Stop replays. lock fixes the camera in orbit/spin (all four = fixed camera); walk keeps its own controls. Presets: interactive = everything on; player = controls ["anim"] + all four locks; thumbnail = controls [], nav spin. The editor's share dialog (Publish link · configure player) offers the same settings. - Walk mode and the avatar: ?nav=walk (or the Walk button) is first person (WASD / arrows / touch sticks, Shift = 2.8×). `t3d_avatar {pos, yaw_deg | look_at, eye_height_m, speed_mps}` sets the start point (feet on the floor), the view direction, the eye height (default 1.7 m) and the walking speed (default 2.0 m/s); without an avatar the walk starts where the orbit camera stands. `t3d_anim_describe` reports it. - Helper layer in the player: control paths, camera and light gizmos, helper cubes and the avatar are hidden by default; the eye button in the bottom-right navigation cluster or ?helpers=1 shows them. ## Apps and keys - 2Dream editor: https://2dream.studio (deep link to a document: https://2dream.studio/?open=) - Tangibl3D editor: https://app.show-real.com (deep link: https://app.show-real.com/editor/) - API keys: 2Dream → account menu → "Agenten & API-Schlüssel"; Tangibl3D → Settings → "MCP · API keys". One key works for both apps. - Limits: free 60 requests/min and 500 tool calls/day per key; sandbox 30/min, 150/day, 5 projects, 24 h TTL. Responses carry X-RateLimit-* and X-Quota-Remaining; 429 includes Retry-After. ## Policies - Sandbox content is public to whoever holds a share link and is deleted after 24 hours. Do not put personal data there. - Documents and scenes created with a key belong to the key's user and workspace; the editor and the tools share the same file.