MCP Connector MicroStation Documentation

How to install, configure, and use MCP Connector MicroStation to connect AI clients like Claude Desktop, Claude Code, Cursor, and VS Code to Bentley MicroStation via Model Context Protocol.

MCP Connector MicroStation connects AI assistants to a live Bentley MicroStation session on your machine. Once connected, your AI can read and author the design file: scan elements, create and modify geometry, manage levels, cells, references and annotation, and build 3D SmartSolids. Two parts ship together and talk over a local connection: an MCP server your AI client launches, and a plug-in that loads inside MicroStation. Nothing needs to be configured between them.

Requirements

  • Bentley MicroStation 2023 to 2026 (Windows, 64-bit)
  • The connector runs as a managed AddIn inside MicroStation, so MicroStation itself must be installed on the same machine.
  • Windows 10 or 11

AI Applications

  • Claude Desktop
  • Claude Code
  • Cursor
  • VS Code
  • Any other MCP client (via manual configuration below)

Installation

Before you begin

Close MicroStation before starting the installation.

1
Run the Installer
Double-click the downloaded installer and follow the wizard. It installs the MicroStation plug-in bundle and registers the MCP server in Claude Desktop and Cursor automatically if they are installed.
2
Restart Your AI Application
Restart Claude Desktop or Cursor so the new MCP server is picked up. Other MCP clients need the manual configuration below.
3
Open MicroStation
Start MicroStation and open a drawing. The plug-in auto-loads on startup. To confirm it is running, type MCPCONNECTOR_STATUS at the command line; if it is not running, type MCPCONNECTOR_START.

Connect Your AI Client

The MCP server is a single executable installed with the plug-in bundle:

Path
C:\ProgramData\AUTOM8LABS\MCPConnectorMicroStation\Bridge\MCPConnectorMicroStation.Bridge.exe

Claude Desktop and Cursor

The installer registers the server automatically in Claude Desktop (claude_desktop_config.json) and Cursor (.cursor\mcp.json). Just restart the client after installing. If you ever need to add it by hand, use the JSON below.

Manual configuration (any MCP client)

Add this to your client's MCP server configuration:

JSON
{
  "mcpServers": {
    "AUTOM8LABS_MicroStation": {
      "command": "C:\\ProgramData\\AUTOM8LABS\\MCPConnectorMicroStation\\Bridge\\MCPConnectorMicroStation.Bridge.exe"
    }
  }
}

Claude Code

Register the same executable from a terminal:

Command Prompt
claude mcp add AUTOM8LABS_MicroStation -- "C:\ProgramData\AUTOM8LABS\MCPConnectorMicroStation\Bridge\MCPConnectorMicroStation.Bridge.exe"

VS Code

Add the server to your MCP configuration (for example .vscode/mcp.json in a workspace):

JSON
{
  "servers": {
    "AUTOM8LABS_MicroStation": {
      "type": "stdio",
      "command": "C:\\ProgramData\\AUTOM8LABS\\MCPConnectorMicroStation\\Bridge\\MCPConnectorMicroStation.Bridge.exe"
    }
  }
}
Restart Required

After changing MCP configuration, restart the AI client completely for the changes to take effect.

Optional: raw key-in execution

The send_keyin tool runs a raw MicroStation key-in as if typed at the key-in browser. Because a key-in can drive any MicroStation command, it is disabled by default: the tool still appears in the AI client's tool list, but every call is refused by the MicroStation plug-in until you opt in on that machine by setting MCP_CONNECTOR_ENABLE_COMMAND_EXEC=1 in the MCP client configuration. The refusal happens inside MicroStation, not in the MCP server, so it cannot be bypassed by editing client-side configuration. Leave it switched off unless you specifically need it. Once enabled, the AI can issue any key-in the running MicroStation session accepts, so treat it as you would giving someone the keyboard.

JSON
{
  "mcpServers": {
    "AUTOM8LABS_MicroStation": {
      "command": "C:\\ProgramData\\AUTOM8LABS\\MCPConnectorMicroStation\\Bridge\\MCPConnectorMicroStation.Bridge.exe",
      "env": {
        "MCP_CONNECTOR_ENABLE_COMMAND_EXEC": "1"
      }
    }
  }
}

Free vs Pro

Two editions ship in one install:

  • Free (31 tools) is read-only inspection: a connectivity check, plus tools that scan elements, read properties, ranges and tags, list levels, models, cells, references, saved views, dimension styles and paper sizes, and navigate the view with zoom, fit and rotate. Nothing in the free edition creates, modifies, or maintains the design file. No key is needed; it just works.
  • Pro (85 tools) unlocks everything else: geometry and cell placement, 3D SmartSolid modelling with booleans and feature editing, transforms and symbology, annotation and dimensioning, level management with DGNLIB standards checking, reference authoring, camera and fence control, batch DGN to DWG conversion, print to PDF, and file housekeeping.

Pro is a per-seat subscription: £10 per seat per month or £100 per seat per year. See the product page for purchasing.

In the tool reference below, every tool is marked Free or Pro. On a free install, Pro tools are not listed to the AI client at all, and the MicroStation plug-in refuses to execute them, so there is no way to run a paid tool without a valid licence.

Edition changes need a client restart

The MCP server reads the edition when your AI client starts it. After activating or deactivating a licence, restart (or reconnect) the AI client to refresh the tool list.

Licence Activation and Management

Licensing lives entirely in the MicroStation plug-in. There is no key to set in the AI client.

1
Open the licence dialog
In MicroStation, click Manage Licence on the AUTOM8LABS ribbon, or run the MCPCONNECTOR_LICENCE command.
2
Enter your key and activate
Paste the licence key from your purchase email and click Activate. The plug-in validates the key with the AUTOM8LABS licence server and activates this machine's seat.
3
Reconnect your AI client
Restart your AI client so it picks up the full Pro tool list.
  • One seat per machine. A seat covers every AI client on that machine: Claude Desktop, Claude Code, Cursor, VS Code, and any other MCP client.
  • Moving machines. Click Deactivate in the licence dialog to free the seat, then activate on the new PC.
  • Working offline. A validated key is honoured offline for 14 days, so short offline stretches never block your work.

Quickstart

1
Open MicroStation and a drawing
The plug-in auto-loads on startup. MCPCONNECTOR_STATUS confirms it is running.
2
Check the connection
In your AI client, ask it to run the ping tool. You should get back "Connected to MicroStation."
3
Ask your AI about the drawing
Try: "List the levels in this file and tell me which ones have nothing on them." The AI reads the level table and element counts and reports back. On Pro, follow up with "Turn the empty ones off."

Tool Reference

All 116 tools, grouped by category. The Edition column shows whether a tool is available in the free edition or needs a Pro licence. Tool names are what the AI sees, so you can also ask for a tool by name. Coordinates are in master units throughout.

Connectivity

1 tool, all free

ToolDescriptionEdition
pingCheck connectivity to the MicroStation MCP ConnectorFree

Files and Models

12 tools, 3 free

ToolDescriptionEdition
get_file_infoGet information about the active DGN file: file path and number of modelsFree
get_model_infoGet information about the active model: name, description, 2D/3D type, and UOR unit conversion factorsFree
list_modelsList all models in the active DGN fileFree
create_design_fileCreate a new design file from a seed filePro
open_design_fileOpen a design file (DGN or DWG), replacing the currently active filePro
save_design_fileSave the active design file in place, committing pending changes to diskPro
save_design_file_asWrite the active design file to a new DGN pathPro
save_as_dwgWrite the active design file out as a DWG at the given path, using the current DWG save optionsPro
batch_save_as_dwgConvert many design files to DWG in one pass, writing each output into a target folderPro
compress_designCompress the active design file to remove deleted-element space and unused data (the same operation as File > Compress)Pro
data_cleanupRun the Data Cleanup utility on the active design file (Utilities > Data Cleanup): processes duplicate and overlapping elements according to the utility's current settings on this machinePro
purge_unusedDelete unused resources from the active design file: levels, fonts, line styles, dimension styles, and/or text stylesPro

Elements and Selection

9 tools, 8 free

ToolDescriptionEdition
scan_elementsScan for elements in the active MicroStation model with optional filters by level and element typeFree
count_elementsCount elements in the ACTIVE MODEL, optionally filtered by level or type. 'total' is the answer to "how many elements are in this model"; 'counts' is a per-type breakdown for when the caller asked about a particular kind of elementFree
find_elements_in_rangeFind elements within a bounding box rangeFree
get_element_infoGet detailed information about a specific element by its ElementIdFree
get_element_propertiesGet all properties of an element: color, weight, line style, level, transparencyFree
get_element_rangeGet the bounding box (range) of a specific elementFree
get_selected_geometryExtract portable geometry from current MicroStation selection in master unitsFree
get_selection_countGet the number of elements currently selected in MicroStationFree
delete_elementDelete an element by its ElementIdPro

Tags

3 tools, 2 free

ToolDescriptionEdition
list_tag_setsList the tag set definitions in the active file with their member tag names, data types, prompts and default values - the schema behind set_element_tagFree
get_element_tagsRead every tag (attribute) on an element: tag set name, tag name, current value and data typeFree
set_element_tagSet the value of a tag (attribute) on an element and save it - how a titleblock drawing number, title, date or revision field gets updatedPro

Geometry Creation

7 tools, all Pro

ToolDescriptionEdition
create_lineCreate a line element between two points in MicroStationPro
create_line_stringCreate a line string (polyline) from a list of points in MicroStationPro
create_arcCreate an arc element in MicroStation defined by center, radius, start angle, and sweepPro
create_circleCreate a circle element in MicroStationPro
create_ellipseCreate an ellipse element in MicroStationPro
create_shapeCreate a closed shape (polygon) from points in MicroStationPro
create_textPlace a text element in MicroStationPro

Cells

4 tools, 1 free

ToolDescriptionEdition
list_cellsList the cells available in the attached cell library, with name and description, so a cell can then be placed by name with place_cellFree
create_cellPlace a cell (block) instance in MicroStation from the active cell libraryPro
place_cellPlace a named cell from the attached cell library at explicit coordinates - the way a titleblock is stamped onto a sheetPro
attach_cell_libraryAttach a cell library file so its cells can be placed by namePro

3D SmartSolids

12 tools, all Pro

ToolDescriptionEdition
create_smart_solid_boxCreate a box solid in MicroStationPro
create_smart_solid_coneCreate a cone solid in MicroStation, built along the Z axisPro
create_smart_solid_cylinderCreate a cylinder solid in MicroStationPro
create_smart_solid_sphereCreate a sphere solid in MicroStationPro
create_smart_solid_torusCreate a torus solid in MicroStationPro
create_smart_solid_wedgeCreate a wedge solid in MicroStation: a circular sector of the given radius and angle, extruded to the given heightPro
extrude_profileExtrude a closed planar element - a shape, circle, ellipse or closed complex chain - into a solid, perpendicular to the profile's own planePro
revolve_profileRevolve a planar profile about an axis to make a solid of revolutionPro
loft_profilesLoft a solid through two or more profiles in the order given, so the shape transitions from one cross-section to the nextPro
sweep_profile_along_pathSweep a closed planar profile along a path element to make a solidPro
convert_to_smart_solidConvert an element into a solid body so the solid operations can accept itPro
query_solidInspect a solid: volume, body kind, bounding range, and the pick points needed to target its faces and edgesPro

Solid Booleans and Feature Editing

9 tools, all Pro

ToolDescriptionEdition
solid_unionCombine two or more solids into a single bodyPro
solid_subtractCut one or more solids out of a target solidPro
solid_intersectKeep only the volume shared by two or more solidsPro
fillet_solid_edgesRound off one or more edges of a solid to a given radiusPro
chamfer_solid_edgeBevel one edge of a solidPro
fillet_face_edgesRound off every edge bounding one face of a solid in a single operationPro
shell_solidHollow a solid out, leaving walls of the given thicknessPro
offset_solid_facePush or pull one face of a solid along its own normal, growing or shrinking the bodyPro
remove_solid_faceDelete one face of a solid, extending the surrounding faces to close the gapPro

Transform and Modify

6 tools, all Pro

ToolDescriptionEdition
move_elementMove an element by a translation vectorPro
copy_elementCopy an element with a translation offsetPro
rotate_elementRotate an element around a center point by an angle in degrees (about the Z axis)Pro
scale_elementScale an element uniformly from a center pointPro
mirror_elementMirror an element across a line defined by two pointsPro
array_elementCreate a rectangular array of an element with specified rows, columns, and spacingPro

Element Symbology

5 tools, all Pro

ToolDescriptionEdition
set_element_colorSet the color of an element by color index (0-255)Pro
set_element_levelMove an element to a different levelPro
set_element_styleSet the line style of an element by style IDPro
set_element_weightSet the line weight of an element (0-31)Pro
set_element_transparencySet the transparency of an element (0.0=opaque, 1.0=fully transparent)Pro

Levels

8 tools, 2 free

ToolDescriptionEdition
list_levelsList all levels in the active MicroStation model with name, number, usage, and display statusFree
get_level_usageCount the number of elements on a specific levelFree
create_levelCreate a new level in the active modelPro
delete_levelDelete a levelPro
rename_levelRename a level by its current namePro
set_active_levelSet the active level for new element placementPro
set_level_displayShow or hide a level in the active viewPro
set_all_levels_displayTurn level display on or off in bulkPro

Standards and DGNLIB

5 tools, all Pro

ToolDescriptionEdition
sync_levels_from_dgnlibUpdate the active file's levels from the attached DGNLIB standards libraries (dgnlib update levels)Pro
check_level_standardsCheck if levels in the active model match a DGNLIB standards filePro
check_text_standardsCheck text elements for standards compliance: minimum height, allowed fonts, and text stylesPro
list_non_standard_levelsFind all levels in the active model that are NOT in the attached DGNLIB standardsPro
generate_standards_reportGenerate a comprehensive CAD standards compliance report covering levels, text, symbology, and referencesPro

Annotation and Dimensions

6 tools, 1 free

ToolDescriptionEdition
list_dimension_stylesList the named dimension styles in the active file, with their note alignment settingsFree
set_active_dimension_styleSet the active dimension style by name, so later dimensions and notes inherit itPro
place_dimensionPlace a dimension across a run of pointsPro
dimension_elementDimension the overall extents of an existing elementPro
place_notePlace a note with a leaderPro
align_notesLine existing notes up into a tidy column by moving each note's text to a common X, leaving every leader still pointing at its targetPro

References

9 tools, 2 free

ToolDescriptionEdition
list_referencesList all reference attachments in the active model with file path, logical name, and display statusFree
get_reference_infoGet detailed information about a specific reference attachmentFree
attach_referenceAttach a DGN or DWG file as a reference to the active modelPro
detach_referenceDetach a reference from the active model by its logical name (or detach every reference with detach_all)Pro
reload_referencesReload all reference attachments from disk to pick up changes made to the referenced filesPro
toggle_reference_displayShow or hide a reference attachmentPro
set_reference_nestingControl reference live nesting. nest_depth 0 turns live nesting off (no nested references pulled in); a higher number allows that many levels of nestingPro
set_reference_overridesControl reference override behaviour. level_overrides on/off toggles whether reference level symbology overrides are applied. nest_overrides never/allowed sets whether nested references may carry overrides (never = lock them out)Pro
set_reference_visible_edgesSet the visible-edges (hidden-line) display mode for all references: 'wireframe' (off), 'cached' (computed and stored), or 'dynamic' (computed live)Pro

Views and Navigation

11 tools, 7 free

ToolDescriptionEdition
list_viewsList the eight views with their open state, standard orientation, and display extentsFree
get_view_infoRead the full state of a view: origin, extents and centre (master units), which standard orientation it is in, render mode, camera position/target/angle, and the display flagsFree
zoom_viewZoom a view by a factorFree
zoom_to_elementZoom a view to show a specific elementFree
fit_viewFit a view so every element is visibleFree
set_view_rotationSet a view to a standard orientation: top, bottom, front, back, left, right, or isoFree
update_viewsForce update (redraw) all open viewsFree
set_view_display_flagsTurn view display flags on or off - constructions, dimensions, text, text_nodes, fill, patterns, line_styles, line_weights, level_symbology, grid, tags, reference_boundaries, acs_triad, background_image, data_entry_regionsPro
set_render_modeSet a view's rendering mode: wireframe, hiddenline, solidfill, constantshade, smoothshade, phong, wiremesh, or crosssectionPro
set_display_styleChange the display style of a view (or all 8 views)Pro
set_cameraPosition a view's perspective camera: eye position, target point, and either the camera angle in DEGREES or the focal lengthPro

Saved Views

3 tools, 2 free

ToolDescriptionEdition
list_saved_viewsList the saved views stored in the active design file with their names and descriptionsFree
apply_saved_viewRecall a saved view into one of the eight view windows, restoring its orientation, levels, clip volume, and reference settingsFree
save_named_viewCreate a saved view from one of the eight view windows, capturing its current orientation, levels, clip volume, and reference settings under a name that can be recalled later with apply_saved_viewPro

Fence

3 tools, 1 free

ToolDescriptionEdition
get_fence_contentsList the elements inside the currently placed fence, with a count by element typeFree
define_fencePlace a fence - a closed boundary that later operations act insidePro
undefine_fenceRemove the currently placed fence, so later operations act on the whole model againPro

Printing

2 tools, 1 free

ToolDescriptionEdition
list_paper_sizesList the paper sizes a printer driver defines, with their dimensions in millimetresFree
print_to_pdfPrint a view, fence or sheet model to a PDF file at a chosen paper sizePro

Key-ins

1 tool, all Pro

ToolDescriptionEdition
send_keyinRun a MicroStation key-in command (escape hatch for ops without a dedicated tool)Pro

Troubleshooting

The AI says it is not connected to MicroStation

  • MicroStation must be running with a drawing open. The connector talks to a live session; it cannot open MicroStation for you.
  • In MicroStation, run MCPCONNECTOR_STATUS to check the plug-in state. If it reports not running, run MCPCONNECTOR_START.
  • Ask your AI to run the ping tool. It reports whether the link is up and, if not, why.

The plug-in did not load

  • The plug-in auto-loads when MicroStation starts. If the AUTOM8LABS ribbon is missing, restart MicroStation, then run MCPCONNECTOR_START at the command line.
  • Confirm the bundle exists at C:\ProgramData\AUTOM8LABS\MCPConnectorMicroStation. If it is missing, re-run the installer.
  • Check that your MicroStation release is between 2022 and 2027.

Pro tools are missing after activating

  • The MCP server reads the edition once, when the AI client starts it. Restart the AI client after activating and the full tool list appears.
  • Confirm the licence state in MicroStation via Manage Licence on the AUTOM8LABS ribbon.

The AI client does not list the server

  • Restart the client completely after installing; a window reload is not always enough.
  • For clients other than Claude Desktop and Cursor, add the manual configuration yourself.

send_keyin is not available

  • Raw key-in execution is off by default. Opt in by setting MCP_CONNECTOR_ENABLE_COMMAND_EXEC=1 in the MCP client configuration, then restart the client. See Connect Your AI Client.

FAQ

Bentley MicroStation 2023 through 2026 on Windows (64-bit). One install covers every supported release.
Not yet. The current release targets MicroStation 2023 to 2026. Support for further Bentley releases is in progress - get in touch if you need a specific one and we will tell you where it is.
No. The free edition works without any key. It gives you 31 read-only inspection tools: scan elements, list levels, models, cells and references, read properties and tags, and navigate the view.
Buy a Pro subscription on the product page (£10 per seat per month or £100 per seat per year). Your key arrives by email. Activate it in MicroStation via Manage Licence on the AUTOM8LABS ribbon or the MCPCONNECTOR_LICENCE command, then restart your AI client.
Yes. A seat is per machine. Click Deactivate in the licence dialog to free the seat, then activate the same key on the new PC.
The free edition always works offline. A validated Pro key is honoured offline for 14 days, so short offline stretches never block your work. Note that your AI client may still need its own connection to reach its model provider.
The connector itself runs entirely on your machine: the MCP server and the MicroStation plug-in talk over a local connection. Tool results are returned to your AI client, which handles them under its own provider's terms, so only the data a tool returns ever leaves the connector.
Not by default. The send_keyin tool is disabled until you opt in per machine with MCP_CONNECTOR_ENABLE_COMMAND_EXEC=1 in the MCP client configuration. Every other tool is a structured operation with a fixed schema, so without that opt-in the AI cannot issue free-form key-ins at all. Turn it on only if you need it.
Yes. Each client launches its own copy of the MCP server, and one Pro seat covers every AI client on the machine.

Need Help?

Not finding what you need? Our support team is here to help.

Contact Support