midas-civil-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MIDAS_EXE | No | Path to the MIDAS Civil executable, for example CVLw.exe. | |
| MIDAS_WORKDIR | Yes | Workspace directory used by the MIDAS MCP server. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
MIDAS Civil 2022 safety workflow: preview, commit with the exact SHA-256, then stage in MCT Command Shell. Never call midas_ui_run_staged unless the user explicitly confirms the exact visible target and that no valuable unsaved model can be harmed. Civil 2022 uses MCT; REST applies only to CIVIL NX. Do not bypass licensing or claim engineering verification.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| midas_inspect_installationA | Read-only check of the configured MIDAS Civil executable and whether CVLw.exe is running. Never reads or changes licensing. |
| midas_preview_beamB | Generate and validate a simple supported beam in memory. Does not write files or control MIDAS. Returns the exact SHA-256 required for commit. |
| midas_commit_beamA | Write exactly a previously previewed beam MCT file. Requires the matching preview SHA-256; overwrite requires the inspected existing-file SHA-256 too. |
| midas_preview_revit_bridgeA | Read a controlled Revit bridge-skeleton JSON and generate a MIDAS frame with a one-metre, variable-depth PSC hollow box girder in memory. Does not write or control MIDAS. Returns source and MCT SHA-256 values required for commit. |
| midas_commit_revit_bridgeB | Write exactly a previously previewed Revit-to-MIDAS bridge MCT with variable-depth PSC box sections. Requires matching source and MCT hashes; overwrite is separately guarded. |
| midas_validate_mctB | Fail-closed validation of MCT text using a safe beam-frame command subset. Does not write or execute anything. |
| midas_list_filesB | List allowed text files in the controlled MIDAS workspace. |
| midas_read_fileA | Read one allowed text file from the controlled MIDAS workspace and return its SHA-256. |
| midas_prepare_command_shellB | Validate an MCT file and return its exact content plus visible MIDAS Civil 2022 MCT Command Shell loading steps. Does not paste or run it. |
| midas_ui_inspectA | Read-only list of visible MIDAS Civil windows and whether MCT Command Shell is open. |
| midas_ui_stage_mctA | Put a validated workspace MCT into the visible MCT Command Shell for an exact CVLw process. Requires the exact file SHA-256 and never presses Run. |
| midas_ui_run_stagedA | Press Run only for MCT staged by this server, after rechecking process, window title and exact SHA-256. This modifies the open MIDAS model and requires explicit confirmation that no valuable unsaved model will be harmed. |
| midas_ui_close_command_shellA | Close the MCT Command Shell without pressing Run, provided its target window still matches the staged record. |
| midas_openB | Explicitly launch MIDAS Civil visibly. Does not bypass licensing, login or authentication. |
| midas_open_mctA | Explicitly launch MIDAS Civil with a validated versioned MCT path. It does not silently execute MCT commands. |
| midas_nx_statusB | Report whether optional MIDAS CIVIL NX REST settings are present, without revealing the MAPI key or making a network request. |
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 16 tools
Each tool targets a distinct resource and step in the workflow: launch (midas_open), inspect (installation/windows/NX settings), preview vs commit pairs, and UI stage/run/close. The main risk is midas_prepare_command_shell vs midas_ui_stage_mct, which both involve loading MCT into the Command Shell, though the 'return content and steps' vs 'put into visible shell' distinction is spelled out. The three inspect-style tools (inspect_installation, ui_inspect, nx_status) are separable but a careless agent could pick the wrong one.
All names use a predictable midas_<verb>_<noun> snake_case pattern, with clear namespace sub-prefixes for UI (midas_ui_*) and workflow pairs (preview_*/commit_*). Minor deviations exist, such as bare midas_open alongside midas_open_mct, and midas_nx_status where the verb is implicit rather than the leading token. Nothing approaches chaotic mixing of conventions.
16 tools is slightly above the comfortable range but each maps to a concrete, non-redundant step in a hash-guarded workflow (launch, inspect, preview, commit, validate, file read/list, UI control). The preview/commit duplication across two domains (beam, Revit bridge) inflates the count but is justified by differing input contracts.
The surface covers generation, validation, hashing, committing, launching, and UI execution, but the lifecycle has a visible dead end: after midas_ui_run_staged there is no tool to read back or extract analysis results from the model. Also missing are general workspace write/delete beyond the two commit tools, closing/quitting MIDAS, and opening an existing model file. These are notable gaps for an automation workflow, though agents can partially work around them via commit tools.