Skip to main content
Glama
Vectorworks MCP

Vectorworks MCP

Vectorworks MCP

Beta. Tested on Vectorworks 2026 (Update 3, English) and 2027 (32.1, English and German) with Spotlight on macOS only. Other versions, languages and Windows may not work yet. Save your file before asking for edits, and please report what you find. Working under an NDA? Read Your drawing data first.

Let Claude work inside your open Vectorworks drawing, on a Mac, with nothing to compile. Spotlight first: read and bulk-edit Lighting Devices, check hanging positions, pull paperwork, place symbols, look at the drawing through a screenshot, and run any Vectorworks Python when you need more.

  • Mac-native. Pure Python, no C++ SDK, no compiling. One-line installer. The Mac is the primary platform here, not a fallback.

  • Spotlight-first. Channels, addresses, purposes, colors, gobos, positions, paperwork. Validated on a real 216-device plot.

  • Safe edits. Bulk edits are validated before anything changes, address edits are re-read and report what Spotlight overrode, and vw_revert_last undoes exactly the last thing Claude did.

  • Sees its work. vw_screenshot returns the document window as an image, so Claude can check what it drew, or show you which dialog is in the way.

  • Runs where Vectorworks allows writes. Every call runs through a menu command on Vectorworks' main thread, the only context we found that doesn't crash on writes. Vectorworks stays usable between calls.

Example asks, once it's set up:

  • "List every device on the 1E with its channel and color."

  • "Which devices have no position? Which position names have no position object?"

  • "Renumber channels on FOH TRUSS 101 to 127 in unit-number order."

  • "Move FOH TRUSS units 1–6 to universe 2, starting at address 1."

  • "Give me a channel hookup as CSV on my Desktop."

  • "Find Global Truss F34 in the library and hang a 30-foot run upstage at 14 feet, position name US TRUSS."

  • "Hang eight MAC Ones on US TRUSS at 18-inch centres, units 1 to 8, channels 101 up, purpose Wash."

  • "Show me the drawing." / "Undo that last change."


Install (about 10 minutes, macOS)

You need: Vectorworks 2026, and Claude Desktop and/or Claude Code.

1. Run the installer (2 minutes)

Open Terminal (Applications > Utilities) and paste:

curl -LsSf https://raw.githubusercontent.com/giorgiomoroder/vectorworks-mcp/main/scripts/install-macos.sh | bash

It installs uv if needed, copies the small bridge script and the "MCP Run Job" menu command into your Vectorworks Plug-ins folder (~/Library/Application Support/Vectorworks/2026/Plug-ins/), and adds Vectorworks to Claude Desktop and Claude Code. Your existing Claude Desktop settings are kept (a backup is saved next to them).

2. Put "MCP Run Job" in a menu (once, 1 minute)

Claude reaches into Vectorworks through one menu command. The installer already placed the command file; Vectorworks loads it at startup, so if Vectorworks was running during the install, quit and reopen it. Then:

  1. Tools ▸ Workspaces ▸ Edit Current Workspace… ▸ Menus tab. Find MCP Run Job in the left list (under Miscellaneous) and drag it into any menu on the right, e.g. Tools. Click OK.

Test it: choose Tools ▸ MCP Run Job. Nothing visible happens, and no error appears. That's correct; there's no work queued yet.

Tools ▸ Plug-ins ▸ Plug-in Manager… ▸ Custom Plug-ins ▸ New…, type Command, name it exactly MCP Run Job, then Edit Script…, Language: Python, and paste:

from vwmcp import vwmcp_bridge
vwmcp_bridge.run_pending()

3. Restart Claude and say hello (1 minute)

Quit and reopen Claude Desktop. With a drawing open in Vectorworks, ask:

Ping Vectorworks.

The first time, macOS asks whether Claude may control Vectorworks. Click Allow. You should get back your Vectorworks version and the name of your open drawing.

If that fails, run the self-check in Terminal; it looks at the bridge, both Claude configs, the Vectorworks process and the runtime folder without touching Vectorworks:

uvx --from git+https://github.com/giorgiomoroder/vectorworks-mcp vwmcp doctor

Alternative: Claude Desktop extension (one file)

Download vectorworks-mcp-<version>.mcpb from the releases (or build it: uv run python scripts/build-mcpb.py), double-click it, and Claude Desktop installs the server with its own Python (via uv). Set the Vectorworks version when asked. Then say "check the Vectorworks MCP setup": vw_doctor(fix=True) installs the bridge into your Plug-ins folder, and the only manual step left is step 2 above (drag "MCP Run Job" into a menu) plus a Vectorworks restart. Claude Code users keep using the installer script.

Related MCP server: AutoCAD MCP

Tools

Tool

What it does

vw_ping

Bridge alive? Vectorworks version, open document, bridge version check

vw_document_info

Units, active layer/class, counts, selection size

vw_list_layers, vw_list_classes

Layers (design/sheet, visibility) and classes

vw_get_selection

Selected objects: type, name, class, layer, bbox, records

vw_find_objects

Find by class, layer, type, plug-in, record field value, name

vw_get_record, vw_set_record

Read/write record fields or plug-in parameters

vw_list_symbols, vw_insert_symbol

Symbol definitions by name/folder; place one at x, y(, z)

vw_list_lighting_devices

Every Lighting Device: unit, channel, address, purpose, position, type, color, gobo, focus…

vw_set_lighting_device_fields

Bulk edit by position + unit number, channel, or uuid

vw_list_positions

Positions with their devices, plus unassigned devices and orphan position names

vw_lighting_device_report

Paperwork export (CSV or JSON), naturally sorted

vw_mvr_check

MVR export pre-flight: devices without GDTF fixture or mode, missing or duplicate Fixture IDs, unpatched or overlapping DMX addresses, loose positions, 2D-only symbols. Read-only; the export itself stays in the File menu

vw_import_hookup

Channel hookup from a spreadsheet export (.csv/.tsv): rows matched by channel or position + unit, columns written as device fields; dry run first, then one revertible step

vw_lightwright_snapshot

Every Lighting Device as Spotlight's Lightwright Data Exchange last exported it (the XML next to the saved file): works even while a dialog blocks the other tools

vw_lightwright_patch

Change device fields through that exchange file (Lightwright-style sparse patch, applied when Vectorworks regains focus); dry run by default, guarded against the known ways to damage a plot, revertible; the full export is copied to ~/.vwmcp/lightwright/ first

vw_list_library

Browse the Vectorworks and user libraries on disk (lighting, truss, people, stage decks), or list the symbols inside one library file

vw_import_resource

Import one symbol or plug-in style from a library file into the document

vw_insert_truss_run

A straight truss run from a library symbol: pieces end to end at a trim height, linked into a Braceworks system, named position

vw_insert_truss_run with vertical=True

A ground-support tower: base plate, pieces stood on end, spindle on top

vw_insert_truss_path

A truss shape (L, U, rectangle) from straights and matching corner pieces along a polyline, one linked system

vw_list_truss

Truss inventory: runs grouped by system, pieces in order, total length and weight, broken links flagged

vw_insert_hoists, vw_list_hoists

Place Spotlight hoists at points with ID, location, function and hook height, data copied from the hoist symbol; rigging inventory with capacities

vw_insert_stage_decks

Build a platform or riser from Spotlight Stage Deck objects: columns x rows of a deck size at a height, leg style, purpose

vw_insert_platform

Platform and steps in one call: decks plus a flight of Stage Steps centred on a chosen edge, rails, class; one revertible step

vw_insert_stage_ramp

A Stage Ramp down from a stage edge, by ramp length or pitch angle, with rails and a down arrow; revertible

vw_insert_stage_steps

A flight of Spotlight Stage Steps down from a stage edge: height, step count, rails, purpose

vw_insert_soft_goods

A Soft Goods run (curtain, truss border, pipe-and-drape) along a polyline: height, opening, traveler, pipe/track; revertible (not yet run live)

vw_insert_band

Band members, crew or backline from people/backline symbols at positions, each with a name label; one revertible step (not yet run live; needs the People/Audio libraries downloaded once)

vw_insert_lighting_devices

Hang fixtures from a fixture symbol on a position at a spacing, as real Lighting Devices with unit numbers, channels, purpose; verified after insert

vw_create_pio

Place a plug-in object (TrussItem, Lighting Device, positions…) by its parameter names; read and edit its parameters with vw_get_record / vw_set_record

vw_apply_class_standard

A tidy class set with colours and line weights (Lighting-, Rigging-, Stage-, Soft Goods, Audio, Video, Scenery, People, Venue-, Notes): creates what is missing, optionally restyles the rest; revertible

vw_create_sheet

A sheet layer with a viewport of chosen design layers at a scale, classes hidden in it, optional title block with sheet title/number/project; revertible (not yet run live)

vw_create_layer, vw_create_class, vw_move_objects, vw_delete_objects

Document housekeeping; all but delete are revertible

vw_rename_layer, vw_delete_layer, vw_rename_class, vw_delete_class, vw_rotate_objects, vw_duplicate_objects

Layer and class lifecycle, rotate and copy; renames, rotations and copies are revertible, deletes refuse while anything is on the layer or in the class

vw_set_view

Top/Plan, standard 3D views, fit to objects (e.g. before a screenshot)

vw_list_documents / vw_switch_document / vw_open_document / vw_save_document

List the open documents (tabs included), bring a saved one to the front, open a .vwx from disk, File > Save (AppleScript and a menu command, no extra permission). Write tools take an optional document= and refuse if another document is active

vw_export_geometry

Exact 2D geometry of a layer (lines, polygons, arcs, texts, dimensions) as JSON, inline or written to a file; with fill and pen of every object and whether they follow the class

vw_render_layers

Picture of any design layers drawn from their real geometry (optionally a zoomed area), independent of the screen; no Screen Recording needed

vw_duplicate_layer

Copy a design layer with its objects next to the original (same scale, visibility as the source by default); can return the uuid mapping; revertible

vw_set_vertices

Replace the vertices of a polygon or polyline, with read-back check and area before/after; revertible

vw_revert_last

Undo exactly the last Claude edit in this drawing (repeatable), including objects a vw_exec_python call created

vw_exec_python

Run any Vectorworks Python (vs.*), given as code or as a script file path, and get stdout, value, traceback; records created objects for revert; optional timeout

vw_lint

Check Python for Vectorworks without running it: syntax, wrong vs.* argument counts, deprecated calls, and functions a published safety sweep found to crash or hang Vectorworks or to open a dialog. vw_exec_python runs this check first

vw_screenshot

The document window as an image (plus window geometry and any dialog or open menu in front); works even while a dialog blocks the bridge; mapping=True adds the pixel-to-drawing-coordinates mapping

vw_point_to_world

Drawing x, y of a pixel in the last mapped screenshot (Top/Plan), no job

vw_doctor

Setup check from inside Claude: bridge, menu command file, Claude configs, process, stale files, log; fix=True reinstalls a missing bridge

vw_vs_lookup

Search the vs.* API of your Vectorworks, with signatures

Skill: recipes for Claude

skills/vectorworks-spotlight/SKILL.md teaches Claude the session-start document check, the safety rules and step-by-step recipes (hang fixtures, hookup import, MVR pre-flight, platforms, troubleshooting). Claude Code: copy the folder into ~/.claude/skills/. Claude Desktop: paste the file's text into a project's instructions.

Your drawing data and NDAs

What leaves your Mac: whatever Claude reads from your drawing, plus whatever you type, is sent to Anthropic as part of your Claude conversation. That includes fixture lists, channel and address data, position and layer names, venue and show names, and anything else the tools return. The .vwx file itself is never uploaded, but Claude can read most of what's in it if you ask.

What stays local: the bridge runs entirely on your Mac. Requests and results pass through ~/.vwmcp/, and nothing in this project sends data anywhere except through your Claude app.

If a project is under NDA or a client confidentiality clause:

  • Check whether your agreement allows project data to be processed by a third-party AI service. Many NDAs don't address it, and some forbid it. When in doubt, ask the client or producer first.

  • Your Claude plan and privacy settings govern how Anthropic stores conversations and whether they may be used for model training. Review them at claude.ai/settings and in Anthropic's privacy policy. Team and Enterprise plans have different terms from personal plans.

  • Limit what Claude sees: ask about one position or layer rather than the whole drawing, and prefer report tools that return only the columns you need.

  • Don't use it on a confidential drawing if you can't share that drawing's contents with Anthropic.

Good to know

  • Undo. Vectorworks lumps back-to-back Claude edits into a single Cmd-Z, so Cmd-Z may undo several of them at once (never your own work). To undo exactly one Claude edit, ask Claude to "undo that" (vw_revert_last). This works for all typed edit tools and deletes the objects a raw Python call (vw_exec_python) created, even if the script stopped halfway. What raw Python changed on existing objects (moves, attributes, deletions) can only be undone with Cmd-Z.

  • Bulk edits are all-or-nothing. If any device in a bulk edit can't be found or any field name is wrong, nothing changes. Unit numbers repeat per position, so give the position too.

  • Addresses. Spotlight treats UniverseAddress (e.g. 2/101) as the source of truth. Edits to Universe or DMX Address are applied through it automatically, and the tool re-reads each device afterwards and reports anything Spotlight overrode.

  • No more "Script Errors" boxes (bridge 0.2). Inside Vectorworks every vs.* call Claude makes is checked first against a signature table (argument count and types) and a safety table of functions known to crash or hang Vectorworks or to open a dialog. A bad call comes back to Claude as an error instead of a modal window you have to click away while nothing else can run. Dialog-opening functions need allow_dialogs=True on purpose.

  • Alerts and open menus block Claude. If a system alert (such as "Script Errors"), a plug-in's Object Preferences dialog or a right-click menu is open, Claude's request waits 15 seconds, is cancelled (it will not run later by surprise) and Claude is told why. Close it and ask again; vw_screenshot can tell Claude what is in the way. Vectorworks' own dialogs (Preferences, About) do not block; jobs run underneath them.

  • Right document, every time. A write names its document, and the bridge checks that name inside Vectorworks right before running each job, so a document switched in between is refused rather than drawn into.

  • Just launched, or no document open? Claude waits until Vectorworks has been open ~30 seconds, and refuses to send anything while only the start screen shows. Scripts sent in either state can crash Vectorworks.

  • Log file. Bridge errors and timeouts are logged to ~/.vwmcp/vwmcp.log; vwmcp doctor summarizes them.

  • Screenshots need Screen Recording permission for the app running the server (Claude Desktop, or Terminal for Claude Code). The last ten captures are kept in ~/.vwmcp/screenshots/.

Troubleshooting

When reporting a problem, please use the bug report form.

Symptom

Fix

Anything, first step

uvx --from git+https://github.com/giorgiomoroder/vectorworks-mcp vwmcp doctor (add --fix to clear stale job files). Ask Claude for a screenshot to see what Vectorworks is showing.

"did not pick up the job"

Open a drawing, close any dialog or open menu (a right-click menu counts), and check MCP Run Job is in a menu (step 2, part 4). Run it once by hand; it should do nothing silently.

"is not running" / "still starting"

Open Vectorworks and wait a few seconds.

A "Script Errors" window in Vectorworks

Should be rare since bridge 0.2 (calls are checked first). Click OK; ask Claude to run vw_doctor: an old bridge or missing check tables beside it are the usual cause, and vw_doctor(fix=True) reinstalls them (then restart Vectorworks once so it loads the new bridge).

"No document is open (only the start screen)"

Open a drawing. Jobs sent to the start screen crash Vectorworks, so Claude refuses them.

Nothing works and you don't know why

Ask Claude to "check the Vectorworks MCP setup" (vw_doctor; with fix it reinstalls a missing bridge). It never touches Vectorworks itself.

vw_ping warns about bridge version

Re-run the installer (or uvx --from git+https://github.com/giorgiomoroder/vectorworks-mcp vwmcp install-plugin).

Nothing happens, no macOS permission prompt

System Settings ▸ Privacy & Security ▸ Automation: allow Claude (or Terminal) to control Vectorworks 2026.

vwmcp doctor says several Vectorworks versions are installed

Run the installer once per version you use (VW_VERSION=2027 bash install-macos.sh); each server entry then names its version.

vw_ping warns the Vectorworks version is untested

It may work; save first, check results, and please open an issue either way.

Different Vectorworks version

VW_VERSION=2025 bash install-macos.sh: installs the bridge for that version and registers a server with VWMCP_VW_VERSION set. Only 2026 is tested.

Two versions at once (e.g. 2026 and 2027)

Run the installer once per version. Each gets its own server (vectorworks, vectorworks-2027), job folder and journal; see docs/claude-config.md.

Manual configuration

See docs/claude-config.md for the Claude Desktop and Claude Code config blocks, and the environment variables.

How it works

Claude ──MCP──▶ vwmcp server ──writes──▶ ~/.vwmcp/jobs/<id>.json
                     │
                     └─AppleScript: run VectorScript "DoMenuTextByName('MCP Run Job')"
                                          │
Vectorworks ◀────────────────────────────┘
  MCP Run Job ▶ vwmcp_bridge.run_pending(): exec job with `vs` in scope
              ▶ ~/.vwmcp/results/<id>.json ──▶ server ──▶ Claude

The in-app bridge is a ~120-line "dumb executor" and rarely changes. All logic, including the helper library run inside Vectorworks, is sent from the server with each request. Details and the reasons for this design are in docs/architecture.md; vs.* findings are in docs/vs-notes.md.

Windows

Experimental and untested. scripts/install-windows.ps1 installs the bridge and registers Claude Desktop, but there's no automatic trigger yet: run MCP Run Job yourself to process each request. Contributions welcome.

Development

uv sync
uv run pytest            # bridge round-trips with a fake Vectorworks
uv run vwmcp             # run the server on stdio

Code sent into Vectorworks (src/vwmcp/vwlib.py, vw-plugin/) must stay Python 3.9-compatible: that's what Vectorworks 2026 embeds.

Nothing from the Vectorworks install (stubs, SDK headers, libraries, sample files) is included. Bring your own licensed Vectorworks.

How this compares (November 2026)

Several Vectorworks MCP servers appeared during 2026. This one is the Mac-native, Spotlight-focused option with the smallest install. The others, as of this writing:

Project

Platform

Bridge into Vectorworks

Focus

vicquick/vwx-mcp

Windows (macOS through an older TCP dialog bridge)

File IPC, native C++ palette, Python menu command

248 general tools: BIM, GIS, 2D/3D modeling, worksheets

SRVR-JOE/showcad-mcp

Windows (fork of vwx-mcp)

Same

ConnectCAD and Spotlight, scaffold stage

BhaveshY/vectorworks-mcp

Windows, VW 2024/2025

TCP, prebuilt native SDK plug-in

Architecture: walls, doors, slabs, roofs, exports, screenshots

chronista-club/vectorworks-mcp (was mako-357) and upipibi/claude-vectorworks-mcp

macOS

Unix socket from a C++ SDK plug-in you compile

6 generic tools; SDK calls off the main thread can crash the document

edmacovaz/rt-vectorworks-mcp

macOS

Python modal dialog, TCP

Read-only, architecture template extraction

seraphinernst4/vectorworks-2d-mcp ("Keystone", a fork of this project)

macOS, German VW 2026

Same job folder; triggers Python over VectorScript without a menu command; type-checked vs proxy

Exact 2D architecture drawing, geometry checks and repair, DWG import clean-up, room planning

MattA-Official/vwmcp

Windows, VW 2026/2027

Single Rust .exe, file IPC, keyboard shortcut posted to Vectorworks

12 general tools, well documented

stevenmorgan94/vw-mcp

macOS, VW 2027

C++ library plug-in, loopback HTTP, Node relay

4 tools; published a safety sweep of ~2,800 vs.* calls (safe / opens a dialog / crashes)

Gribiche64/vectorworks-bridge

macOS

No plug-in: reads and patches Spotlight's Lightwright Data Exchange XML

Fixture data and field edits for Lighting Devices only; dormant since 2026-09

What is different here:

  • Nothing to compile, no SDK. The in-app part is a 120-line Python file.

  • Main-thread writes. Every call runs inside a Vectorworks menu command. vwx-mcp reached the same conclusion independently; the C++ socket bridges warn that their writes can crash or corrupt the document.

  • Undo. vw_revert_last reverts one call at a time and write tools verify what was applied. No other project documents an undo story.

  • Spotlight. Lighting devices, positions and paperwork as typed tools, tested on a real plot, rather than generic geometry.

If you draw buildings on Windows, vwx-mcp has far more tools. If you draw exact 2D architecture on a German Mac, Keystone (built on this code) goes much deeper there. If you need ConnectCAD, watch showcad-mcp. This project is also listed on Glama.

License

MIT

Available Tools

61 tools
vw_apply_class_standardA

Give the document a consistent set of Spotlight classes with colours and line weights. Use it once per show file so plots look tidy and layers can be filtered; for a single ad-hoc class use vw_create_class. Missing classes are created and styled; existing ones are left alone unless overwrite=True. No object changes class: afterwards pass class_name= to the insert tools or use vw_set_record. One revertible step (created classes are deleted, restyled ones restored). Returns {standard, created: [...], restyled: [...], unchanged: [...], note?}.

Inputs: only, document, standard, overwrite.

vw_create_classA

Create one class in the open document with default attributes. For a whole consistent class set with colours and line weights use vw_apply_class_standard instead. The active class is left unchanged and no object is moved into the new class (pass class_name= to the insert tools, or vw_set_record). One revertible step: vw_revert_last deletes the class. Returns {name}.

Inputs: name (required), document.

vw_create_layerA

Create a design layer or a sheet layer in the open document. Adds the layer only; nothing is drawn on it. For a sheet with a viewport and title block use vw_create_sheet instead. The user's active layer stays active unless activate=True. One revertible step: vw_revert_last deletes the layer. Returns {name, kind, active}.

Inputs: name (required), kind, scale, activate, +1 more.

vw_create_pioA

Place one Vectorworks or Spotlight plug-in object by its internal name and set its parameters. The general-purpose way to create a plug-in object when no typed tool fits; prefer vw_insert_truss_run, vw_insert_lighting_devices, vw_insert_stage_decks and the other insert tools where they exist, since those know the objects' quirks. The object is created and regenerated with the given parameters; nothing else in the document is touched. Unknown parameter names abort the call and nothing is placed. One revertible step. Returns the new object's summary as vw_find_objects lists objects ({uuid, type, name, layer, class, bbox...}) plus class; read the resulting fields with vw_get_record.

Inputs: x (required), y (required), plugin (required), layer, +4 more.

vw_create_sheetA

Create a presentation sheet: a sheet layer with one Top/Plan viewport of chosen design layers and an optional title block. Use it to make a printable plot page; vw_create_layer makes a bare layer only. The viewport shows layers at 1:scale with hide_classes hidden in that viewport. With title, sheet_number or project, a Title Block Border is placed at the sheet origin and those fields written where the title block style has them. The user's active layer is restored. One revertible step: vw_revert_last deletes the sheet with its viewport and title block. Returns {sheet, viewport (uuid), title_block: {uuid, fields_set, fields_unknown, fields_available}?, title_block_error?}. To look at it, the user switches to the sheet and you call vw_screenshot, or use vw_render_layers for a picture.

Inputs: name (required), layers (required), scale, title, +4 more.

vw_delete_classA

Delete a class, by default only when no object uses it. Built-in classes (None, Dimension) cannot be deleted. This call is a revert barrier: vw_revert_last cannot recreate the class or put objects back into it. Returns {name, objects_moved_to_none}.

Inputs: name (required), force, document.

vw_delete_layerA

Delete a layer, by default only when it is empty. With force=True the objects on it are deleted too and cannot be brought back by vw_revert_last (this call is a revert barrier either way: later reverts stop here). The only layer of a document cannot be deleted; if the layer is active, another one is made active first. Returns {name, objects_deleted}.

Inputs: name (required), force, document.

vw_delete_objectsA

Permanently delete objects by UUID; the one write that vw_revert_last cannot undo. Only Cmd-Z inside Vectorworks can bring them back, and the deletion also blocks reverting earlier journaled edits, so confirm with the user before calling it. To undo something a tool placed, use vw_revert_last instead of deleting by hand. All-or-nothing: if any UUID is unknown nothing is deleted. Returns {deleted: n}.

Inputs: uuids (required), document.

vw_doctorA

Check this Vectorworks MCP setup on this Mac without touching Vectorworks.

Checks: bridge installed in the right Plug-ins folder and up to date (with its check tables), the 'MCP Run Job' command file present, Claude Desktop / Claude Code configured for this Vectorworks version, Vectorworks running, stale job files, recent log errors. Returns {ok, checks: [{name, ok (true / false / null = could not check here), detail, fix}], next_step, installed?}. Use it first when vw_ping fails; vw_ping is the live test that this one deliberately does not do. Not checked here: whether 'MCP Run Job' is in a menu and the macOS Automation permission.

Inputs: fix.

vw_document_infoA
Read-only

Describe the active Vectorworks document: name, path, units, active layer and class, counts.

Read-only, one small job. Returns {name, path (empty for an unsaved document), units: {display_name, area_name}, active_layer, active_class, layer_count, class_count, selection_count}. Use it to confirm which document a write will land in; vw_list_documents lists all open documents without a job.

Inputs: no named parameters.

vw_duplicate_layerA

Copy a design layer with all its objects, to try a variant without touching the original.

Changes the document: one new layer, one revertible step (vw_revert_last deletes the copy). The copy keeps the scale and is placed right after the source in the layer list; the active layer stays active. Use vw_create_layer for an empty layer. Returns {document, layer, source, objects, source_objects, after_source, scale, visibility, uuid_map when asked for}; objects below source_objects means not every object was copied.

Inputs: name (required), source (required), document, uuid_map, +1 more.

vw_duplicate_objectsA

Copy objects to an offset, keeping class, layer, rotation and plug-in parameters. Each copy is a full duplicate (Vectorworks' own duplicate), placed dx, dy, dz away from its original. All-or-nothing. One revertible step: vw_revert_last deletes the copies. To repeat a copy in a row, call again with the returned UUIDs. Returns {created: [uuid, ...]} in the order of uuids.

Inputs: uuids (required), dx, dy, dz, +1 more.

vw_exec_pythonA

Run arbitrary Python inside Vectorworks; the last resort when no typed tool fits.

Prefer the typed vw_* tools (they verify and revert precisely); give path for a script that already lives in a file, and use vw_lint to check code without running it. The code is linted first, then every vs.* call is checked inside Vectorworks (argument count and types, known crashers): a bad call comes back as VSArgumentError / VSUnsafeError in the result instead of opening the modal "Script Errors" window. Look up signatures with vw_vs_lookup.

Changes the document when the code does. Objects the code creates are revertible with vw_revert_last; changes to objects that existed before (moves, attributes, deletions) are not, and such a call blocks stepping further back. Returns {ok, value, stdout, error, traceback, created, revertable, warning?, lint_warnings?}.

Inputs: code, lint, path, timeout, +3 more.

vw_export_geometryA
Read-only

Read the 2D geometry of one design layer as numbers, in document units.

Read-only. Lines and polygons come as points, arcs as centre / radius / angles, texts with origin and string, dimensions with their text; groups are descended, plug-in objects (chain dimensions, doors) are one entry each. Use it to verify what is really in the file, or to compare fill and pen attributes with neighbouring objects before drawing in the same style; vw_render_layers draws the same data as a picture, vw_screenshot shows the real window instead. Returns {document, layer, objects: [{type, class, uuid, points | origin | center, attrs?...}], truncated}, or with out_path {path, count, by_type, by_class, extent}.

Inputs: layer, limit, classes, timeout, +2 more.

vw_find_objectsA
Read-only

Find objects in the active document by class, layer, type, plug-in, record or name.

Read-only; every given criterion must match (all are exact, not substrings). Returns [{uuid, type, name, class, layer, bbox, records, symbol or plugin name}], the same shape as vw_get_selection. For Lighting Devices with their fields use vw_list_lighting_devices instead.

Inputs: name, field, layer, limit, +5 more. Returns: result

vw_get_recordA
Read-only

Read every field of one record on one object, or a plug-in object's parameters when no record is named.

Read-only. Returns {record (the name resolved, which is also what vw_create_pio needs as the plug-in name), fields: {field name: value as text}}. Write with vw_set_record; for Lighting Devices prefer vw_list_lighting_devices and vw_set_lighting_device_fields, which know Spotlight's rules.

Inputs: uuid (required), record. Returns: object

vw_get_selectionA
Read-only

Describe the objects the user has selected on the active layer.

Read-only. Returns [{uuid, type, type_code, name, class, layer, bbox, records (attached record names)}]. Use it when the user says "this one"; vw_find_objects searches by criteria instead. UUIDs stay valid across calls.

Inputs: limit. Returns: result

vw_import_hookupA

Load a channel hookup or instrument schedule from a spreadsheet export into the Lighting Devices, as a dry run first and then one revertible step.

Changes the document only with dry_run=False. Each row is matched to exactly one device by key; the other columns are written as Lighting Device fields when their header is a field name, unknown headers are ignored and listed, empty cells are not written. The dry run returns {dry_run, rows, updates (the planned per-device changes), ignored_columns, skipped_rows, next_step}. Applying goes through vw_set_lighting_device_fields: all-or-nothing (a row that matches no device, or several, stops everything), undone with vw_revert_last, with result holding before/after and not_applied for values Spotlight overrode. For a handful of edits call vw_set_lighting_device_fields directly.

Inputs: path (required), key, dry_run, document, +1 more.

vw_import_resourceA

Import one symbol or plug-in style from a library file into the open document. Goes through Vectorworks' own importer, so the resource arrives complete (a truss symbol brings its Braceworks record, a fixture symbol its Lighting Device data). Changes the document's resource list only; nothing is placed in the drawing. Afterwards place it with vw_insert_symbol (plain symbols) or the typed insert tools (truss runs, lighting devices). One revertible step: vw_revert_last removes the imported resource. Returns {name, type_code} with the name as it exists in the document.

Inputs: name (required), path (required), document, new_name, +1 more.

vw_insert_bandA

Place a band or crew on stage: people or backline symbols at given points, each with a name label. The symbols must already be in the document (vw_list_symbols); bring them in first with vw_list_library and vw_import_resource. For a single symbol without a label use vw_insert_symbol. All-or-nothing; one revertible step removes symbols and labels together. Returns {members: [{uuid, label_uuid, ...}], class?}.

Inputs: members (required), label, layer, document, +2 more.

vw_insert_hoistsA

Place Spotlight hoists (BrxHoist plug-in objects) at points, one revertible step. Each hoist gets the symbol's capacity, chain weight and length, motor weight, voltage, speed and motor height (from the symbol's HoistObjectData, as the Hoist tool does), its ID, location, function, direction and hook height. Linking to a truss system is left to Vectorworks' own hoist tools. All-or-nothing; vw_revert_last removes every hoist placed. Returns {symbol, count, hoists: [{uuid, id, x, y}], class?}; the derived values (hook height, chain length, weight) exist after the regeneration: read them with vw_list_hoists.

Inputs: height (required), points (required), symbol (required), ids, +8 more.

vw_insert_lighting_devicesA

Hang a row of lighting fixtures as real Spotlight Lighting Devices with position, unit numbers, channels and purpose set. Places the symbol count times from (x, y) along rotation, spacing apart, and converts each to a Lighting Device the way Spotlight's insertion tool does, so Inst Type, wattage, DMX footprint and GDTF data come from the symbol. To change fixtures that already exist use vw_set_lighting_device_fields; to place a plain (non-fixture) symbol use vw_insert_symbol. All-or-nothing; one revertible step removes them all. Fields are re-read after Spotlight's reset: trust the returned values, and anything Spotlight overrode is listed under not_applied. Returns {devices: [{uuid, unit, inst_type, Position, Unit Number, Channel, Purpose, Inst Type}], imported, z, class?, not_applied?}.

Inputs: x (required), y (required), symbol (required), z, +13 more.

vw_insert_platformA

Build a platform of Stage Decks together with one flight of Stage Steps on a chosen edge, as one revertible step. The decks are laid out exactly as vw_insert_stage_decks does; the flight is centred on the steps_on edge and descends away from the platform. Use vw_insert_stage_decks or vw_insert_stage_steps alone when only one part is wanted. All document units. One vw_revert_last removes decks and steps together. Returns {decks: [{uuid, center, size}], footprint, steps: {uuid, steps, center, size}?, class?} with geometry read back after creation.

Inputs: x (required), y (required), depth (required), width (required), +15 more.

vw_insert_soft_goodsA

Place a Spotlight Soft Goods run (curtain, truss border or pipe-and-drape) along a path of points. Creates one Soft Goods object on the open polyline through points, height tall, with the optional opening and hardware. One revertible step removes it with its path. The geometry is read back after creation. Returns {uuid, center: [x, y, z], size: [w, d, h], path_length, class?}.

Inputs: height (required), points (required), layer, purpose, +9 more.

vw_insert_stage_decksA

Build a platform from Spotlight Stage Deck objects tiled edge to edge in a grid. Creates columns x rows rectangular decks of width x depth at height, starting at corner (x, y). For a platform with a flight of steps in one call use vw_insert_platform; for the steps alone vw_insert_stage_steps. All-or-nothing; one revertible step removes the whole platform. The geometry is read back after creation. Returns {count, footprint: {width, depth}, decks: [{uuid, center: [x, y, z], size: [w, d, h]}], class?}.

Inputs: x (required), y (required), depth (required), width (required), +10 more.

vw_insert_stage_rampA

Place a Spotlight Stage Ramp descending from a stage edge. Same placement convention as vw_insert_stage_steps: (x, y) is the top centre on the edge, the ramp runs away from the stage along rotation. One revertible step; the geometry is read back after creation. Returns {uuid, center: [x, y, z], size: [w, l, h], class?} (the plan length is size[1] at rotation 0).

Inputs: x (required), y (required), stage_height (required), kind, +12 more.

vw_insert_stage_stepsA

Place a flight of Spotlight Stage Steps descending from a stage edge. (x, y) is the top centre of the flight on the edge and the flight runs away from the stage along rotation. For decks and steps in one call use vw_insert_platform; for a ramp vw_insert_stage_ramp. The default 'Self-Adjusting' kind is a rental unit with a fixed stringer, so a low flight lies at a shallow pitch; 'Simple' gives a compact flight. One revertible step; the geometry is read back after creation. Returns {uuid, steps, center: [x, y, z], size: [w, l, h], class?}.

Inputs: x (required), y (required), stage_height (required), kind, +11 more.

vw_insert_symbolA

Place one instance of a symbol from the document's resources at a point.

Changes the document; one revertible step (vw_revert_last deletes the instance). For lighting fixtures use vw_insert_lighting_devices, which also converts them to Lighting Devices; for truss use vw_insert_truss_run. Returns {uuid, name, layer, class, x, y, z}.

Inputs: x (required), y (required), name (required), z, +4 more.

vw_insert_truss_pathA

Build a truss shape (L, U, rectangle, any polyline with matching bends) from straights and corners, one chained system. Each leg takes as many whole straight pieces as fit; a corner piece sits at every interior point and takes its own length from both legs, so legs end up shorter than the path by the leftover gap (placed per fit). Pieces are linked in order (one Braceworks system), hung at z, and get the position name. Use vw_insert_truss_run for a single straight run. All-or-nothing; one revertible step. Returns {system, piece_length, straights, corners, legs: [{pieces, length, gap, turn}], imported, items: [{uuid}], class?}; check with vw_list_truss.

Inputs: path (required), corner (required), straight (required), z, +6 more.

vw_insert_truss_runA

Place a straight run of truss pieces end to end, or stack them into a tower, linked into one truss system the way Spotlight's Insert Truss tool does. Creates count TrussItem objects on the symbol's length centres from (x, y) along rotation, dimensions, weight and type from the symbol's Braceworks record, chained into a new truss system. With vertical=True the pieces are stacked upward from (x, y, z) into a tower, optionally on a base plate and under a top piece. Shapes with corners are vw_insert_truss_path; for a single odd piece use vw_create_pio with 'TrussItem'. All-or-nothing; one revertible step removes the whole run (and the import, if any). Returns {system, piece_length, total_length, vertical, imported, pieces: [{uuid, bbox}] (towers: [{uuid, symbol, z}] plus total_height), class?}; check with vw_list_truss.

Inputs: x (required), y (required), count (required), symbol (required), +10 more.

vw_lighting_device_reportA
Read-only

Produce paperwork from the live Lighting Devices, such as a channel hookup or an instrument schedule, as CSV or JSON text and optionally a file.

Read-only in Vectorworks; writes only the file you name. Returns the full report text (the same text is written to output_path). For rows to reason about rather than a document to hand over, use vw_list_lighting_devices; to load a hookup back in, vw_import_hookup.

Inputs: fields, format, sort_by, position, +1 more. Returns: result

vw_lightwright_patchA

Change Lighting Device fields through Spotlight's Lightwright Data Exchange file instead of a job, for Lightwright round trips or when a dialog blocks the bridge.

With dry_run=False this changes the document, indirectly: the patch is written beside the .vwx and Vectorworks applies it 1 to 2 s after it next gains focus, so the user has to click into Vectorworks; verify afterwards with vw_list_lighting_devices. Prefer vw_set_lighting_device_fields when the bridge works. Refuses deletes, fields not in the export, a Symbol_Name no fixture uses yet (an unknown symbol breaks fixture selection drawing-wide, irreversibly) and a type change without Wattage. Before writing, the full export is copied to ~/.vwmcp/lightwright/ (backup) and the drawing's current values of the touched fixtures are journaled (inverse_from: live, or export when a fixture could not be read, in which case the undo restores possibly stale export values); vw_revert_last writes the inverse patch, which again needs a click. After a patch the file holds only Vectorworks' acknowledgement until the next full export. Returns {dry_run, path, changes, patch, and when written: backup, inverse_from, note}.

Inputs: changes (required), dry_run, document.

vw_lightwright_snapshotA
Read-only

Read the Lighting Devices as Spotlight's Lightwright Data Exchange file last exported them, from the XML beside the saved document.

Read-only. The file itself is read without a job (only the document's path is asked from Vectorworks), so this works even while a dialog blocks the other tools, but it shows the plot as of the last export, which can be older than the drawing; vw_list_lighting_devices is the live view. Returns {available, path, exported (timestamp), fields, count, fixtures: [{uid, lightwright_id, accessories, ...}]}; {available: False, hint} when the exchange is off (the hint says how to switch it on); and count 0 with a hint right after a vw_lightwright_patch, when Vectorworks has written back only an acknowledgement and the user must redo the full export. UIDs from here are what vw_lightwright_patch takes.

Inputs: limit, fields, position.

vw_lintA
Read-only

Check Python meant for Vectorworks without running it.

Finds syntax errors, vs.* calls with a wrong number of arguments, deprecated calls (these would open the blocking "Script Errors" window) and functions a published safety sweep found to crash or hang Vectorworks or to open a dialog; unknown vs.* names are warnings. Works without Vectorworks running. Argument types and values are not checked here (the bridge checks types when the code runs). vw_exec_python and vw_exec_python run this check themselves, so call it directly only to check a script you do not intend to run yet. Returns {ok, errors, warnings, api}.

Inputs: code, path.

vw_list_classesA
Read-only

List the class names of the active document, optionally filtered by a substring.

Read-only. Returns the names as strings, in Vectorworks' order; class hierarchy shows as "Parent-Child". Create classes with vw_create_class or a whole set with vw_apply_class_standard.

Inputs: name_contains. Returns: result

vw_list_documentsA
Read-only

List the documents open in Vectorworks, front to back, and which one is active.

Read-only; asks macOS from outside Vectorworks (no job, no Accessibility permission). Returns {documents: [names], active, paths: {name: path}} for the paths this server has learned. Every other tool works on the active document, so call this at session start and before writes; switch with vw_switch_document. Fails with "No document is open" when only the start screen shows.

Inputs: no named parameters.

vw_list_hoistsA
Read-only

Inventory of the hoists (BrxHoist objects) in the document for rigging paperwork. Reads only. Sorted by location then ID. Returns {count, total_capacity_kg, hoists: [{uuid, id, symbol, location, function, direction, capacity_kg, hook_height_mm, hook_height (as Vectorworks formats it), weight_with_chain, truss_system_top, truss_system_bottom, notes, class, layer, x, y}]}.

Inputs: layer, location.

vw_list_layersA
Read-only

List every layer of the active document, design and sheet layers alike.

Read-only. Returns [{name, kind (design / sheet), visibility (Vectorworks' numeric code), active}] in the document's layer order. Create layers with vw_create_layer, copy one with vw_duplicate_layer.

Inputs: no named parameters. Returns: result

vw_list_libraryA
Read-only

Browse the Vectorworks libraries: find library files on this Mac by words in their path, or list the symbols inside one file.

Read-only, imports nothing. Without path it searches the application and user library folders on disk (no job; only libraries that are actually downloaded are found, many are download-on-demand) and returns {query, count, files: [{library, folder, name, path}]}. With path Vectorworks reads that file's resource list and returns {path, type_code, count, names}. Typical flow: search, then list one file, then vw_import_resource brings a symbol into the document for vw_insert_symbol or the typed insert tools.

Inputs: path, limit, query, type_code, +1 more.

vw_list_lighting_devicesA
Read-only

List the Spotlight Lighting Devices in the live drawing, one row per device, sorted by position then unit number.

Read-only; one job inside Vectorworks. Each row has uuid (stable id for vw_set_lighting_device_fields and vw_move_objects), layer, class and the requested fields as strings. Use this to look at the plot, verify a write, or find a device; use vw_lighting_device_report for paperwork (CSV/JSON file), vw_list_positions for the hang structure, and vw_lightwright_snapshot only when you want the Lightwright exchange file's view (as of its last export) or the bridge is blocked by a dialog.

Inputs: layer, limit, fields, position. Returns: result

vw_list_positionsA
Read-only

List the lighting positions in the live drawing with the devices hung on each, plus the devices that have no position and position names no object carries.

Read-only; one job inside Vectorworks. Positions are Light Position Objects, Lighting Pipes, Pipe Ladders, Truss and Hanging Positions, matched to devices by the device's Position field (a text match, so a typo shows up here as a position name without an object). Returns {positions: [{name, type, uuid, devices or count}], without_position: count, names_without_object: [...]}. Use vw_list_truss for truss runs by system and vw_list_lighting_devices for the device rows themselves.

Inputs: include_devices.

vw_list_symbolsA
Read-only

List the symbol definitions already in the active document's resources.

Read-only. Returns [{name, folder}]. These are the names vw_insert_symbol and vw_insert_lighting_devices accept; a symbol that is not in the document yet comes in from a library with vw_list_library and vw_import_resource.

Inputs: limit, folder, name_contains. Returns: result

vw_list_trussA
Read-only

Inventory of the truss in the document, grouped by truss system in chain order. Reads only. Each system lists its pieces in order along the chain with count, total length and weight, symbols, position names, each piece's 3D centre and the run's plan bounding box (document units, independent of the current view); linked is False when a run's pieces are not chained. Returns {runs: [{system, count, total_length, total_weight_kg, positions, symbols, linked, bbox, pieces: [{uuid, symbol, length, center, class, layer}]}], total_pieces, total_length}.

Inputs: layer, system.

vw_move_objectsA

Move objects by an offset, keeping their rotation and everything else. All-or-nothing on unknown UUIDs. One revertible step: vw_revert_last moves them back (a plug-in regeneration between move and revert can leave an object off by a fraction of a unit). Returns {moved: n}.

Inputs: uuids (required), dx, dy, dz, +1 more.

vw_mvr_checkA
Read-only

Check the Lighting Device data for the gaps that make an MVR export incomplete, before the user runs File > Export > Export MVR.

Read-only; nothing changes and the export itself is a menu action the user runs (there is no scripting call for it). Errors, which would break or empty the MVR (My Virtual Rig) file: no GDTF fixture type, no fixture mode, missing or duplicate Fixture ID, no DMX patch, overlapping DMX footprints in one universe, footprint past channel 512. Warnings: device without position, position name with no position object, symbol with 2D geometry only (exports as empty geometry), symbol missing from the document; gdtf_unlinked: a GDTF name typed into the field without a linked fixture type (type id 0), which only the Object Info palette's GDTF chooser can fix. Returns {ok, device_count, summary: {check: count}, issues: [{check, severity: "error" | "warning", message, devices: [{uuid, position, unit, channel}]}], document, next_steps}; a "field_missing" issue lists the fields this document lacks, whose checks were skipped. Fix findings with vw_set_lighting_device_fields (Fixture ID, UniverseAddress, Position, Fixture Mode), the Object Info palette (GDTF fixture) or by importing a hybrid symbol (vw_list_library, vw_import_resource), then check again.

Inputs: position.

vw_open_documentA

Open a Vectorworks document from disk and wait until it is the front document.

Uses the same Apple Event as vw_switch_document; nothing runs inside Vectorworks and nothing is saved. A file from an older Vectorworks is converted in memory on open (it stays unsaved until the user saves it). Other open documents stay open. Returns {active, opened, documents, seconds}; fails with what is in front when the window does not appear.

Inputs: path (required), wait.

vw_pingA
Read-only

Check that Vectorworks answers: one tiny job through the bridge.

Read-only. Returns {vectorworks_version, build, document (the active one), bridge_version, documents (all open ones), warning?}. The warning says when the installed bridge is older than this server expects or when this Vectorworks version is untested. Call it once at session start, after vw_list_documents. If it fails or times out, call vw_doctor (which never touches Vectorworks) and vw_screenshot (to see a blocking dialog).

Inputs: no named parameters.

vw_point_to_worldA
Read-only

Turn a pixel of the last mapped screenshot into drawing coordinates.

Pure arithmetic, no job, read-only. Use it to say where something seen in the picture is, such as the gap a truss should fill, or to check that an object landed where it looks. Needs a prior vw_screenshot(mapping=True). Exact in Top/Plan views only; otherwise the result carries a warning. Returns {x, y, units, warning?}.

Inputs: px (required), py (required), mapping.

vw_rename_classA

Rename a class; every object in it follows, as do viewport overrides. Built-in classes (None, Dimension) cannot be renamed. One revertible step: vw_revert_last renames it back. Returns {name, new_name}.

Inputs: name (required), new_name (required), document.

vw_rename_layerA

Rename a design or sheet layer; its objects stay where they are. Fails if the new name exists. One revertible step: vw_revert_last renames it back. Returns {name, new_name}.

Inputs: name (required), new_name (required), document.

vw_render_layersA
Read-only

Draw design layers as a PNG from their real geometry, whatever the Vectorworks window shows.

Read-only; one geometry job per layer, no Screen Recording needed. Use it to check drawing work on any layer, visible or hidden; vw_screenshot shows the real window instead (and any blocking dialog), vw_export_geometry returns the same data as numbers. It is a check picture, not a plot: object colours, solid fills and line weights are shown; hatches, dash styles, opacity and curved polyline segments are not, texts are marked with a small cross at their origin, and symbols / plug-in objects are grey boxes. Returns the image.

Inputs: bbox, fills, layers, classes, +3 more.

vw_revert_lastA

Undo exactly the most recent write this server made in the active document.

Changes the document (back to its previous state for that one call). Every typed write tool records what it changed; this restores previous field values, vertices, class attributes, deletes objects, layers and classes that were created, or writes the inverse Lightwright patch. Call it repeatedly to step further back. Not possible: vw_delete_objects, and a vw_exec_python call that created nothing (it only changed existing objects); such an entry blocks stepping further back. Use this instead of Cmd-Z, which merges consecutive scripted edits. Returns {reverted_tool, ...what was restored or deleted, note?}.

Inputs: document.

vw_rotate_objectsA

Rotate objects in plan view about a point, keeping their positions relative to each other. Every object turns by the same angle about the same centre. All-or-nothing on unknown UUIDs. One revertible step: vw_revert_last turns them back (a plug-in regeneration in between can leave an object off by a fraction of a unit). For a different rotation per object use vw_set_record on its plug-in parameters. Returns {rotated: n, center, angle}.

Inputs: angle (required), uuids (required), center, document.

vw_save_documentA

Save the active document in place (File > Save) without any dialog. Fails on a document that has never been saved, because Vectorworks would ask for a name then (there is no silent Save As in the scripting API). Not journaled: earlier reverts still work after a save. Returns {path}.

Inputs: document.

vw_screenshotA
Read-only

Capture the Vectorworks document window as an image, without going through Vectorworks.

Read-only; no job and no Apple Event (unless mapping is requested), so it works even while a dialog blocks every other tool. Use it to check drawn results or to see what is in front; vw_render_layers draws layers from their geometry instead, independent of the window. Returns the image plus JSON {window (screen geometry), path (saved PNG), in_front (dialogs or open menus that stall jobs), mapping? or mapping_error?, view?}.

Inputs: title, mapping, max_width.

vw_set_lighting_device_fieldsA

Change fields of one or more Lighting Devices in the live drawing, verified by reading them back, as one revertible step.

Changes the document. This is the default way to edit device data; use vw_import_hookup for many rows from a spreadsheet export and vw_lightwright_patch only for Lightwright round trips or when a dialog blocks the bridge. Every selector and field name is validated first; if any fails, nothing changes. Universe / DMX Address edits are applied through UniverseAddress (Spotlight's source of truth), so set that field rather than Universe or DMX Address alone. Undo exactly this call with vw_revert_last. Returns one item per device with uuid, before, after (re-read from Vectorworks) and not_applied for values Spotlight overrode; trust after.

GDTF fixture types cannot be assigned here: 'GDTF Fixture Name' and 'GDTF Fixture Mode' accept text but link nothing (live 2026-11-21); the user picks the GDTF in the Object Info palette.

Inputs: updates (required), document. Returns: result

vw_set_recordA

Set fields of one record on one object, or a plug-in object's parameters when no record is named.

Changes the document; one revertible step (vw_revert_last restores the previous values). Unknown field names are rejected before anything changes. For Lighting Devices use vw_set_lighting_device_fields, which applies Spotlight's address rules and verifies the result. Returns {uuid, record, after: the whole record read back after the change, so values Vectorworks rejected show their actual state}.

Inputs: uuid (required), values (required), record, document. Returns: object

vw_set_verticesA

Replace every vertex of one polygon or polyline with a new point list.

Changes the document; one revertible step (vw_revert_last restores the previous vertices). Works the same for both object types (the plain vs.SetPolyPt silently does nothing on polylines). Use vw_move_objects to shift a shape unchanged. Returns {points (read back), area_before, area_after, applied, warning?}; applied is false when Vectorworks did not take every point.

Inputs: uuid (required), points (required), document, arc_radii, +1 more.

vw_set_viewA

Change the drawing view or zoom to fit, typically before vw_screenshot. Changes how the user sees the document, not the document itself, so it is not journaled and vw_revert_last does not undo it. For a view-independent picture use vw_render_layers instead. Returns {view, fit}.

Inputs: fit, view.

vw_switch_documentA

Bring one of the open, saved Vectorworks documents to the front.

Changes only which document is active (no drawing change); verified afterwards by reading the front window's name. All other tools act on the active document, so use this before writing when vw_list_documents shows the wrong one in front. Returns {active, switched, documents}.

Inputs: name (required).

vw_vs_lookupA
Read-only

Search the vs.* scripting API of the running Vectorworks by keyword.

Read-only (one small job). Use it before writing code for vw_exec_python: it shows the signature the bridge will enforce. Returns [{name, doc (signature and description as Vectorworks ships them), types (the parameter types the bridge checks, "name:TYPE, ..." plus the codes), safety (null, or "crash" / "hang" / "interactive" / "document_level" from the safety sweep: crash and hang are refused, interactive needs allow_dialogs)}].

Inputs: query (required), limit. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 61 tools

    Disambiguation4/5

    The tool descriptions are exceptionally explicit about boundaries, with frequent cross-references such as using vw_insert_stage_decks versus vw_insert_platform, or vw_set_lighting_device_fields versus vw_lightwright_patch. A few clusters remain easy to confuse—screenshot/render/export geometry, multiple lighting-report tools, and generic vw_create_pio versus typed insert tools—but the descriptions usually resolve them.

    Naming Consistency4/5

    All tools use a consistent vw_ snake_case prefix, and most names follow a verb_noun pattern (list_, create_, insert_, set_, delete_, move_). Minor deviations are noun-like or state-check tools such as vw_ping, vw_doctor, vw_screenshot, and vw_document_info, but they remain readable and predictable.

    Tool Count2/5

    With 61 tools, the surface is far above the typical 3-15 range and well past the 25+ threshold where selection burden becomes significant. The Vectorworks/Spotlight domain is broad enough to justify many specialized tools, but several insert/report/check tools could likely be consolidated or grouped.

    Completeness4/5

    Coverage is broad across document management, layers, classes, objects, records, symbols, libraries, lighting devices, truss, hoists, stage pieces, reports, and scripting. Minor gaps remain—such as primitive 2D shape creation, new/close document operations, sheet/viewport updates, and direct MVR export—but the vw_exec_python fallback mitigates many of them.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables Claude to control AutoCAD—draw, edit, query, layers, blocks, annotations, screenshots, plot to PDF—using plain language.
      8
      14
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Connects Claude Desktop to a running AutoCAD instance over local Windows COM, letting users query, draw, edit, organize layers, measure areas, take off quantities, and export sheets to PDF using plain language. Every action is undoable, logged, and optionally restricted to read-only mode with no network exposure.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables Claude to draw, verify, correct, and organize precise 2D architectural geometry directly in an open Vectorworks file, including exact arcs, measurements, classes, layers, and self-checking fixes.
      28
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Lets Claude draw in and inspect the AutoCAD session already running on a Windows PC by attaching over COM, so no add-in or restart is needed. Provides 32 tools for drawings, layers, geometry, dimensions, blocks, queries, view capture and PDF plotting, with an edit guard, busy guard and one undo step per tool.
      5
      MIT