lvmcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LVMCP_CACHE | No | Generated helper VIs and state. | $XDG_CACHE_HOME/lvmcp (~/.cache/lvmcp) |
| LVMCP_ROOTS | No | Folders the server may write VIs in, ':'-separated. | ~/Projects |
| LVMCP_TIMEOUT | No | Seconds to wait for one LabVIEW call. | 30 |
| LVMCP_LABVIEW_BIN | No | LabVIEW executable. | labview64 on PATH, else /usr/local/bin/labview64 |
| LVMCP_LABVIEW_DIR | No | LabVIEW install folder (palette and library search). | newest /usr/local/natinst/LabVIEW-*-64 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Build and run LabVIEW VIs as text. Read guide first (terminal orders, wire kinds, recipes). Use find to look up functions and library VIs, terms to see a node's terminals before wiring, batch for many steps, and check every build with wires (no 'broken: 1') and errors (empty list). If Bridge is not reachable, call start_bridge.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| pingA | Check that LabVIEW and Bridge.vi answer. |
| new_viA | Create and save a new empty VI at |
| placeA | Place an object. type: palette name ( |
| wireC | Wire |
| set_valueA | Set a constant or control value. target |
| get_valueA | Read a constant or control value, e.g. |
| deleteC | Delete an object. target |
| analyzeA | List objects (labels, UIDs, positions) of a VI's block diagram, or of its front panel with part |
| wiresB | List wires of a VI, including broken ones. |
| errorsC | List compile errors of a VI. |
| loopC | Edit a loop. target |
| cleanupC | Run Block Diagram Clean Up. |
| openB | Open a VI's front panel in Bridge's LabVIEW without running it (to watch edits live). |
| runA | Run a VI in LabVIEW (opens its front panel, Ctrl+R); after |
| statusC | Whether a VI is running, idle (open, not running) or closed in Bridge's LabVIEW. |
| closeA | Close a VI that is open in LabVIEW (aborts it first). Needed before new_vi reuses the name of an open VI.
If it has unsaved changes (hand edits, typed values): |
| save_defaultsA | Make the current control values (e.g. set with set_value) the VI's saved defaults. The VI must be open. |
| start_bridgeA | Start LabVIEW with vendor/Bridge.vi and run it (use when tools report that Bridge.vi is not reachable). |
| moveB | Move an existing object, e.g. |
| chart_scaleA | Set a chart's or graph's Y scale ( |
| legendB | Name the plots of a waveform chart, waveform graph or XY graph and show one legend row per name: names
|
| set_propA | Write any VI Server property of an object and save its VI: |
| get_propD | – |
| propsA | Property names of a VI Server class (Control, Numeric, Enum, Ring, String, Boolean, Array, Cluster,
GraphChart, GObject, Node, Constant, Structure) for set_prop/get_prop; |
| invokeA | Call any VI Server method of an object and save its VI: |
| methodsB | Method names of a VI Server class for invoke; |
| event_caseA | Make frame |
| move_intoA | Move a diagram object ( |
| configure_nodeB | Point a Property Node or Invoke Node in your VI ( |
| restoreA | Undo every change made through this server: put back |
| new_projectB | Write a LabVIEW project ( |
| new_typedefB | Create a type definition |
| label_objectB | Give an object without a usable label (UID from analyze/wires) a visible label, so every other tool can
address it as |
| noteA | Put a free label (a comment) with |
| insertC | Put the already placed object |
| to_pageC | Move front-panel object |
| new_classB | Create a LabVIEW class ( |
| new_libraryA | Create a project library ( |
| createA | Create a constant, control or indicator, including arrays and clusters: elements of any number type, bool,
string or |
| findB | Search everything LabVIEW offers: palette objects (functions, structures, controls; placed by name) and the
~15k library VIs in vi.lib/instr.lib plus examples. Returns |
| termsB | Terminals of a placed node ( |
| connectorA | Put front-panel control/indicator |
| caseB | Case structure frames. target |
| guideA | How to build VIs with these tools: rules, terminal orders and recipes learned on LabVIEW 2026. Read it before
building. topic filters sections, e.g. |
| batchA | Run many tool calls in one request, in order: steps = [{"tool": "place", "args": {...}}, ...]. Stops at the first failure and reports which step failed. |
| rawC | Send any Gateway verb with its 5 fields (write verbs still go through the allow-list). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 46 tools
Most tools map to distinct LabVIEW concepts, but several boundaries are genuinely blurry: set_value vs set_prop vs invoke vs create vs place all write to an object, and move vs move_into, insert vs wire, props vs get_prop vs methods are easy to misselect. The detailed descriptions help an expert disambiguate, but an agent must read carefully to pick the right one.
Style is uniformly lowercase snake_case, but the convention is mixed: some tools are verb_noun (set_value, move_into, new_vi, configure_node), many are bare nouns (wires, errors, case, terms, connector, props, methods, status), and some are single verbs (run, place, create, find, raw). It is readable but not a predictable pattern.
46 tools is heavy for a single MCP surface, well past the 25-tool threshold. The LabVIEW scripting domain is genuinely large, but several tools (raw, batch, props, methods, get_prop) are escape hatches or sub-facets of set_prop/invoke that could be consolidated, and the sheer count raises selection cost.
Coverage is impressively broad: creation, wiring, structures, properties/methods, connector panes, typedefs, projects, libraries, classes, running, restore, and even a guide. Minor gaps exist (no explicit save tool separate from write operations, no VI-level delete/rename, limited icon/documentation editing), but core lifecycle is well covered.