dmi-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@dmi-mcp Extract buildings from D:\las\block3.las — SHP outlines, LOD2 GLB, into D:\out"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
dmi-mcp
MCP server for DMI (Discrete Modeler), a point-cloud and oblique-photogrammetry engine. Ask your AI assistant to check LiDAR data, remove noise, build terrain products, extract building outlines and create LOD1.3 / LOD2 building models. The work runs on your own Windows computer: point clouds are never uploaded. Results that return to the chat are paths, counts, coordinate extents, precheck statistics and status lines.
Requirements
Windows x64
DMI installed locally. Download and 30-day trial. An NVIDIA GPU is recommended.
uv (provides
uvx)
The server also starts without DMI; its tools then explain how to install and activate it.
Related MCP server: Metashape MCP Server
Install
Claude Code or Cowork, as a plugin (the server plus a skill that teaches Claude the workflow)
/plugin marketplace add lij372/dmi-mcp
/plugin install discrete-modeler@dmiClaude Code, server only
claude mcp add --scope user dmi -- uvx dmi-mcp==0.3.0Cursor, VS Code, Trae, CodeBuddy, Cherry Studio and other clients
{ "mcpServers": { "dmi": { "command": "uvx", "args": ["dmi-mcp==0.3.0"] } } }VS Code uses the key servers instead of mcpServers.
Codex / ChatGPT desktop (~/.codex/config.toml)
[mcp_servers.dmi]
command = "uvx"
args = ["dmi-mcp==0.3.0"]If DMI is not in the default folder (%LOCALAPPDATA%\Programs\DMI), add "--exe", "D:\\path\\DmiScout.exe" to the arguments
or set the environment variable DMI_EXE.
Try it
"Is DMI ready on this computer?"
"How many points are in D:\las\block3.las, and what is its extent?"
"Precheck the six LAS files in D:\las and tell me which flight strips do not line up."
"Extract the buildings from D:\las\block3.las, outlines as SHP, LOD2 models as GLB and DXF, into D:\out."
Tools
Tool | Purpose | Writes files |
| Engine version, GPU and license state | no |
| Activate with a code (the only tool that uses the network) | license file |
| Point count, layers, format and extent of one file | no |
| Data assessment of one or more files | report next to the source |
| Low-noise removal | filtered copy |
| Power-line vectors | yes |
| LAS/LAZ, 3D Tiles or .DMI to outlines and LOD models | output folder |
| List and run other engine functions | depends on the function |
| Long-running jobs | no |
Tools never modify the source point cloud. Output files with the same name are overwritten, so use a new output folder.
A call that takes longer than 50 seconds returns status: "running" and a job_id; the assistant continues with dmi_wait.
Change the limit with the environment variable DMI_MCP_CALL_BUDGET_S.
What this program runs, sends and stores
Runs
DmiScout.exefrom your DMI installation, one process per task, with arguments built from the tool call. Values that could inject further commands are refused.Opens no network connection itself.
dmi_activateasks the local engine to contact dmi42.com.Returns file paths, counts, coordinate extents, precheck statistics and status to the conversation, and the last lines of the engine log when a task fails. These reach your AI provider. If coordinates are confidential, do not use it with a cloud model.
Writes job files to
%TEMP%\dmi_mcp. Output goes to the folder you name.
中文说明
DMI(离散建模) 点云与倾斜摄影建模引擎的 MCP 服务。让 AI 助手直接做数据预检、滤噪、地形产品、建筑轮廓提取和 LOD1.3 / LOD2 建筑建模。引擎在你自己的 Windows 电脑上运行,点云不上传;回到对话里的是文件路径、计数、坐标范围、 预检统计和状态,它们会到达你所用的 AI 服务方。
安装 DMI:到 dmi42.com 填邮箱领取 30 天试用激活码,按缺省目录安装。
安装 uv,在客户端(Trae、CodeBuddy、Cherry Studio、Cursor、Claude Code 等)的 MCP 配置里加入:
{ "mcpServers": { "dmi": { "command": "uvx", "args": ["dmi-mcp==0.3.0"] } } }在对话里说「激活 <激活码>」,然后例如「把 D:\las\block3.las 标楼,轮廓导 SHP,建 LOD2 模型出 GLB 到 D:\out」。
DMI 装在别的目录时,把环境变量 DMI_EXE 指到 DmiScout.exe。
Support
Questions and bug reports: GitHub issues. Include the results of the failing call
and the output of dmi_caps. Do not attach survey data.
License
The MCP server is MIT licensed. The DMI engine is proprietary and licensed separately.
Available Tools
12 toolsdmi_activateActivate license onlineA
Activate DMI on this computer with a code supplied by the user. This is the only tool that uses the network: the local engine sends the code, a machine fingerprint and the product version to dmi42.com. Use it when a result reports a license problem, then retry the original task.
Inputs: code (required). Returns: object
dmi_buildingsExtract buildings and LOD modelsADestructive
Extract buildings and model them.
source: LAS/LAZ/TIF point cloud, a 3D Tiles folder (contains tileset.json) or a saved .DMI project. out_dir: output folder (created if needed; same-named files are overwritten). outline_formats: roof/waist/foot outlines, any of SHP, KML, KMZ (comma list). KML/KMZ need utm_zone. model / model_formats: 3D models, any of GLB, STL, DXF, SHP, KML, KMZ (comma list). lod: "1.3" flat-roof blocks with stepped heights, "2" roof shapes as well. per_building: one model file per building instead of one merged file. grid_step_m, min_height_m, min_size_m: grid step (0.3-0.5 m), lowest building height and smallest building size; for point clouds the defaults are 0.5, 2 and 4. save_project: optional path of a .DMI project to keep.
Runtime grows with area: about half a minute for 1 million points, up to an hour for a large block. Read the bldg,
bldgout, bmall and bmexport entries of summary: rings= outlines, baked= modelled buildings, file= output path.
Inputs: source (required), out_dir (required), lod, model, +11 more. Returns: object
dmi_cancelCancel a background jobBDestructive
Stop a job's engine process. Files it was writing are incomplete and must be discarded.
Inputs: job_id (required). Returns: object
dmi_capsEngine statusARead-onlyIdempotent
Engine status: version, whether the full algorithms are available (ban_code must be 0), GPU count and license state. Call this first. Explains how to install DMI if it is missing.
Inputs: no named parameters. Returns: object
dmi_functionsList engine functionsARead-onlyIdempotent
List the engine functions dmi_run can execute (terrain model, contours, bare earth, hill analysis, classification and more) with the sub or func value each needs and its prerequisites in flags.
Inputs: no named parameters. Returns: object
dmi_jobsList background jobsARead-onlyIdempotent
List running and recently finished jobs of this server process.
Inputs: no named parameters. Returns: object
dmi_noise_removeRemove noise pointsBDestructive
Remove low noise points and write a filtered LAS (path in results: out=) into an output folder next to the source.
The source file is not changed. Only low noise is removed by default, which keeps power lines and tree tops. Optional params:
low_noise_ctr, low_noise_cnt, high_noise_ctr, high_noise_cnt, noise_itr, nrpxsz, nrwnd.
Inputs: file (required), params, timeout_s. Returns: object
dmi_powerlineVectorize power linesCDestructive
Extract power-line vectors from a point cloud that contains conductors.
Inputs: file (required), params, timeout_s. Returns: object
dmi_precheckPrecheck point cloudsADestructive
Assess one or more point clouds before processing: size and memory fit, density, elevation gaps, time segments, classes, noise, and flight-strip alignment per file pair. The sources are not modified; a precheck.csv report is written next to the first file. Lines with status warn/bad describe the data, they are not errors.
Inputs: files (required), timeout_s. Returns: object
dmi_probeProbe one point cloudARead-onlyIdempotent
Read a LAS/LAZ/TIF file without changing anything and report point counts, layers, format and bounding box.
Inputs: file (required). Returns: object
dmi_runRun one engine functionBDestructive
Load a LAS/LAZ/TIF file and run one function from dmi_functions: pass sub when dispatch is "sub", func=id when dispatch is "named". sub is case-sensitive. params are the engine's key=value settings.
Inputs: file (required), sub, func, params, +1 more. Returns: object
dmi_waitWait for a background jobBRead-onlyIdempotent
Continue waiting for a job that returned status="running". Returns the final result, or "running" again.
Inputs: job_id (required), wait_s. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Most tools target clearly distinct actions (status, activation, probe, precheck, noise removal, power lines, buildings, jobs, run, wait, cancel). The main overlaps are dmi_probe vs dmi_precheck (both non-destructive inspection) and the dedicated dmi_buildings/dmi_noise_remove wrappers vs the generic dmi_run, but the descriptions make the intended split clear enough (single-file quick read vs multi-file assessment; dedicated shortcuts vs engine functions).
All names use a uniform dmi_ prefix with snake_case, so the set reads as one family. Minor deviations: a few are noun/abbreviation forms (dmi_caps, dmi_jobs, dmi_buildings, dmi_functions) while others are imperative verbs (dmi_run, dmi_cancel), but the convention is predictable overall.
Twelve tools is well within a comfortable range for a point-cloud engine that needs license handling, inspection, domain-specific processors, a generic function runner, and async job control. Each tool appears to earn its place with no redundant filler.
The lifecycle is largely covered: status/licensing, read-only inspection, precheck, domain processing, a generic function dispatcher, and job list/wait/cancel. Minor gaps exist—there is no way to fetch a finished job's result by id after the fact (only dmi_wait continuation), and no license deactivate/cleanup operation—but agents can work around these.
Maintenance
Related MCP Connectors
AI Hub for AEC — 50+ 3D formats, clash detection, ACC integration via Autodesk Platform Services.
- DNS-DATA RemoteDeprecatedcom.dns-data
Connect AI assistants to authorized Windows and macOS devices for files, commands, and management.
Windows computers for AI agents. Office, desktop apps, browser tasks, testing and file transfer.
Connect ChatGPT, Claude, Cursor or VS Code to your Windows PC: files, terminal, browser, apps.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI assistants to interact with Autodesk Civil 3D through natural language, supporting tools for surfaces, alignments, profiles, corridors, pipe networks, COGO points, and AutoCAD geometry.94MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI-driven photogrammetry automation in Agisoft Metashape Professional, allowing natural language control of the full 3D reconstruction pipeline from photo alignment to model export.MIT
- FlicenseAqualityCmaintenanceEnables AI assistants to perform high-performance 3D CAD design, ultra-fast multi-view rendering, immutable versioned project management, and geometry/mesh verification for 3D printing on Windows.17-
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to control Windows CAD applications such as AutoCAD, ZWCAD, GstarCAD, and BricsCAD for drawing, layer and block management, entity manipulation, file operations, and data export through natural-language or direct commands.-