DreamEnding/NX_MCP
MCP server for Siemens NX (UG) — AI agents control NX GUI via 47+ tools
79b46ea14cc6nx-mcp0.2.0.dev0 in pyproject.tomlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 32 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- 1 of 67 tools, prompts and resources could not be followed through the code
- Supply Chain: the dependency files state no exact versions the scanner could check, so it has no number
- 1 place in the code registers tools whose names are computed at run time; how many tools that makes cannot be read from the code
- 3 tools, prompts and resources registered only in the repository's tests are not counted on this page
Top risks in plain words
- INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Not every path through the code could be followed. Code findings appear here only after a person has verified them.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 64 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
nx_close_part, nx_save_partNo tool was seen to: start other programs on the machine; connect to the internet or other hosts; read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
No tool was seen returning text from outside the server to the model.
Not all three are present in the tools the scanner traced.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (64: 64 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
(name computed at run time)tool
No description.
nx_add_base_viewtool Add a base view (model view) to a drawing sheet.
Add a base view (model view) to a drawing sheet.
nx_add_componenttool Add a component from a .prt file to the current assembly.
Add a component from a .prt file to the current assembly.
nx_add_dimensiontool Add a dimension annotation to a drawing view.
Add a dimension annotation to a drawing view.
nx_add_projection_viewtool Add a projected view derived from an existing base view.
Add a projected view derived from an existing base view.
nx_blendtool Create an edge blend (fillet) on specified edges.
Create an edge blend (fillet) on specified edges.
nx_booleantool Perform a boolean operation (unite, subtract, intersect).
Perform a boolean operation (unite, subtract, intersect).
nx_chamfertool Create a chamfer on specified edges.
Create a chamfer on specified edges.
nx_close_parttool Close the active work part, optionally saving it first.
Close the active work part, optionally saving it first.
nx_close_parttool Close the currently active (work) part.Files
Close the currently active (work) part.
nx_create_drawingtool Create a new drawing sheet in the current work part.
Create a new drawing sheet in the current work part.
nx_create_parttool Create a part inside the configured workspace.
Create a part inside the configured workspace.
nx_create_parttool Create a new NX part file at the specified path.
Create a new NX part file at the specified path.
nx_create_sketchtool Create and activate a sketch on a principal datum plane.
Create and activate a sketch on a principal datum plane.
nx_create_sketchtool Create a new sketch on the specified reference plane (XY, XZ, or YZ).
Create a new sketch on the specified reference plane (XY, XZ, or YZ).
nx_delete_featuretool Delete a feature by name. Returns available features if not found.
Delete a feature by name. Returns available features if not found.
nx_edit_featuretool Edit a feature's parameters by updating its expressions.
Edit a feature's parameters by updating its expressions.
nx_export_drawing_pdftool Export the current drawing sheet to a PDF file.
Export the current drawing sheet to a PDF file.
nx_export_steptool Export the active work part as STEP inside the configured workspace.
Export the active work part as STEP inside the configured workspace.
nx_export_steptool Export the current work part to STEP, IGES, STL, or Parasolid format.
Export the current work part to STEP, IGES, STL, or Parasolid format.
nx_extrudetool Extrude a sketch into a new body; distance uses the work part's native units.
Extrude a sketch into a new body; distance uses the work part's native units.
nx_extrudetool Extrude a section or sketch by a given distance.
Extrude a section or sketch by a given distance.
nx_finish_sketchtool Deactivate and finish an explicit sketch reference.
Deactivate and finish an explicit sketch reference.
nx_finish_sketchtool Finish (exit) the currently active sketch.
Finish (exit) the currently active sketch.
nx_fit_viewtool Fit the active modeling view.
Fit the active modeling view.
nx_fit_viewtool Fit all visible objects in the graphics viewport.
Fit all visible objects in the graphics viewport.
nx_get_bounding_boxtool Get the bounding box of a body in the current work part.
Get the bounding box of a body in the current work part.
nx_get_feature_infotool Get detailed information about a specific feature by name.
Get detailed information about a specific feature by name.
nx_holetool Create a hole feature at the specified location.
Create a hole feature at the specified location.
nx_import_geometrytool Import geometry from STEP, IGES, or Parasolid files into the current work part.
Import geometry from STEP, IGES, or Parasolid files into the current work part.
nx_list_bodiestool List bodies in the active work part.
List bodies in the active work part.
nx_list_componentstool List all components in the current assembly.
List all components in the current assembly.
nx_list_featurestool List features in the active work part.
List features in the active work part.
nx_list_featurestool List all features in the current work part.
List all features in the current work part.
nx_list_open_partstool List all currently open parts in the NX session.
List all currently open parts in the NX session.
nx_list_sketchestool List sketches in the active work part.
List sketches in the active work part.
nx_mate_componenttool Apply a mating constraint between assembly components.
Apply a mating constraint between assembly components.
nx_measure_angletool Measure the angle between two objects in the work part.
Measure the angle between two objects in the work part.
nx_measure_distancetool Measure the minimum distance between two objects in the work part.
Measure the minimum distance between two objects in the work part.
nx_measure_volumetool Measure the volume of a body (or all bodies) in the work part. Returns volume in mm3 and cm3.
Measure the volume of a body (or all bodies) in the work part. Returns volume in mm3 and cm3.
nx_mirror_bodytool Mirror a body across a datum plane.
Mirror a body across a datum plane.
nx_open_parttool Open a part from the configured workspace.
Open a part from the configured workspace.
nx_open_parttool Open an existing NX part file.
Open an existing NX part file.
nx_patterntool Create a linear pattern of features.
Create a linear pattern of features.
nx_record_starttool Start recording an NX journal.
Start recording an NX journal.
nx_record_stoptool Stop recording an NX journal and optionally save it.
Stop recording an NX journal and optionally save it.
nx_reposition_componenttool Move a component by translation and rotation offsets.
Move a component by translation and rotation offsets.
nx_revolvetool Revolve a section or sketch around an axis.
Revolve a section or sketch around an axis.
nx_run_journaltool Execute an NX journal (Python script) file.
Execute an NX journal (Python script) file.
nx_save_astool Save the current work part to a new file path.
Save the current work part to a new file path.
nx_save_parttool Save the active work part.
Save the active work part.
nx_save_parttool Save the currently active (work) part.Files
Save the currently active (work) part.
nx_screenshottool Capture the current graphics viewport as a PNG image.
Capture the current graphics viewport as a PNG image.
nx_set_viewtool Set the graphics view orientation (front, back, top, bottom, left, right, isometric, trimetric).
Set the graphics view orientation (front, back, top, bottom, left, right, isometric, trimetric).
nx_sketch_arctool Create an arc in the active sketch given center, radius, start and end angles.
Create an arc in the active sketch given center, radius, start and end angles.
nx_sketch_constrainttool Apply a constraint to sketch geometry (horizontal, vertical, parallel, etc.).
Apply a constraint to sketch geometry (horizontal, vertical, parallel, etc.).
nx_sketch_linetool Add a line to an explicit sketch reference, using the work part's native units.
Add a line to an explicit sketch reference, using the work part's native units.
nx_sketch_linetool Create a line in the active sketch from (x1, y1) to (x2, y2).
Create a line in the active sketch from (x1, y1) to (x2, y2).
nx_sketch_rectangletool Add a rectangle to an explicit sketch reference, using the work part's native units.
Add a rectangle to an explicit sketch reference, using the work part's native units.
nx_sketch_rectangletool Create a rectangle in the active sketch from corner (x1, y1) to (x2, y2).
Create a rectangle in the active sketch from corner (x1, y1) to (x2, y2).
nx_statustool Report bridge, NX version, active part, and its native units (mm/inch).
Report bridge, NX version, active part, and its native units (mm/inch).
nx_sweeptool Sweep a section along a guide curve.
Sweep a section along a guide curve.
nx_undotool Undo the last visible NX MCP operation.
Undo the last visible NX MCP operation.
nx_undotool Undo the last visible operation.
Undo the last visible operation.
Text the model reads (64)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
nx_status tool
Report bridge, NX version, active part, and its native units (mm/inch).
nx_create_part tool
Create a part inside the configured workspace.
nx_open_part tool
Open a part from the configured workspace.
nx_save_part tool
Save the active work part.
nx_close_part tool
Close the active work part, optionally saving it first.
nx_export_step tool
Export the active work part as STEP inside the configured workspace.
nx_list_sketches tool
List sketches in the active work part.
nx_list_bodies tool
List bodies in the active work part.
nx_list_features tool
List features in the active work part.
nx_create_sketch tool
Create and activate a sketch on a principal datum plane.
nx_sketch_line tool
Add a line to an explicit sketch reference, using the work part's native units.
nx_sketch_rectangle tool
Add a rectangle to an explicit sketch reference, using the work part's native units.
nx_finish_sketch tool
Deactivate and finish an explicit sketch reference.
nx_extrude tool
Extrude a sketch into a new body; distance uses the work part's native units.
nx_undo tool
Undo the last visible NX MCP operation.
nx_fit_view tool
Fit the active modeling view.
(name computed at run time) tool
nx_add_component tool
Add a component from a .prt file to the current assembly.
nx_mate_component tool
Apply a mating constraint between assembly components.
nx_list_components tool
List all components in the current assembly.
nx_reposition_component tool
Move a component by translation and rotation offsets.
nx_create_drawing tool
Create a new drawing sheet in the current work part.
nx_add_base_view tool
Add a base view (model view) to a drawing sheet.
nx_add_projection_view tool
Add a projected view derived from an existing base view.
nx_add_dimension tool
Add a dimension annotation to a drawing view.
nx_export_drawing_pdf tool
Export the current drawing sheet to a PDF file.
nx_list_features tool
List all features in the current work part.
nx_get_feature_info tool
Get detailed information about a specific feature by name.
nx_get_bounding_box tool
Get the bounding box of a body in the current work part.
nx_create_part tool
Create a new NX part file at the specified path.
nx_open_part tool
Open an existing NX part file.
nx_save_part tool
Save the currently active (work) part.
nx_save_as tool
Save the current work part to a new file path.
nx_close_part tool
Close the currently active (work) part.
nx_export_step tool
Export the current work part to STEP, IGES, STL, or Parasolid format.
nx_import_geometry tool
Import geometry from STEP, IGES, or Parasolid files into the current work part.
nx_list_open_parts tool
List all currently open parts in the NX session.
nx_measure_distance tool
Measure the minimum distance between two objects in the work part.
nx_measure_angle tool
Measure the angle between two objects in the work part.
nx_measure_volume tool
Measure the volume of a body (or all bodies) in the work part. Returns volume in mm3 and cm3.
nx_extrude tool
Extrude a section or sketch by a given distance.
nx_revolve tool
Revolve a section or sketch around an axis.
nx_sweep tool
Sweep a section along a guide curve.
nx_blend tool
Create an edge blend (fillet) on specified edges.
nx_chamfer tool
Create a chamfer on specified edges.
nx_hole tool
Create a hole feature at the specified location.
nx_pattern tool
Create a linear pattern of features.
nx_boolean tool
Perform a boolean operation (unite, subtract, intersect).
nx_delete_feature tool
Delete a feature by name. Returns available features if not found.
nx_edit_feature tool
Edit a feature's parameters by updating its expressions.
nx_mirror_body tool
Mirror a body across a datum plane.
nx_create_sketch tool
Create a new sketch on the specified reference plane (XY, XZ, or YZ).
nx_sketch_line tool
Create a line in the active sketch from (x1, y1) to (x2, y2).
nx_sketch_arc tool
Create an arc in the active sketch given center, radius, start and end angles.
nx_sketch_rectangle tool
Create a rectangle in the active sketch from corner (x1, y1) to (x2, y2).
nx_sketch_constraint tool
Apply a constraint to sketch geometry (horizontal, vertical, parallel, etc.).
nx_finish_sketch tool
Finish (exit) the currently active sketch.
nx_fit_view tool
Fit all visible objects in the graphics viewport.
nx_set_view tool
Set the graphics view orientation (front, back, top, bottom, left, right, isometric, trimetric).
nx_undo tool
Undo the last visible operation.
nx_screenshot tool
Capture the current graphics viewport as a PNG image.
nx_run_journal tool
Execute an NX journal (Python script) file.
nx_record_start tool
Start recording an NX journal.
nx_record_stop tool
Stop recording an NX journal and optionally save it.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 64 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 64 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 64 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 64 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 64 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 64 capabilities; 63 more call code the scanner could not follow, where it may happen
- Tools that touch files2 of 64 capabilities touch files; 61 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 64 capabilities; 63 more call code the scanner could not follow, where it may happen
Where the code is: 64 handlers in 10 files at commit 79b46ea14cc6
src/nx_mcp/certified.pynx_status, nx_create_part, nx_open_part, nx_save_part, nx_close_part, nx_export_step, nx_list_sketches, nx_list_bodies, nx_list_features, nx_create_sketch, nx_sketch_line, nx_sketch_rectangle +4src/nx_mcp/experimental.py(name computed at run time)src/nx_mcp/tools/assembly.pynx_add_component, nx_mate_component, nx_list_components, nx_reposition_componentsrc/nx_mcp/tools/drawing.pynx_create_drawing, nx_add_base_view, nx_add_projection_view, nx_add_dimension, nx_export_drawing_pdfsrc/nx_mcp/tools/feature_tree.pynx_list_features, nx_get_feature_info, nx_get_bounding_boxsrc/nx_mcp/tools/file_ops.pynx_create_part, nx_open_part, nx_save_part, nx_save_as, nx_close_part, nx_export_step, nx_import_geometry, nx_list_open_partssrc/nx_mcp/tools/measure.pynx_measure_distance, nx_measure_angle, nx_measure_volumesrc/nx_mcp/tools/modeling.pynx_extrude, nx_revolve, nx_sweep, nx_blend, nx_chamfer, nx_hole, nx_pattern, nx_boolean, nx_delete_feature, nx_edit_feature, nx_mirror_bodysrc/nx_mcp/tools/sketch.pynx_create_sketch, nx_sketch_line, nx_sketch_arc, nx_sketch_rectangle, nx_sketch_constraint, nx_finish_sketchsrc/nx_mcp/tools/utility.pynx_fit_view, nx_set_view, nx_undo, nx_screenshot, nx_run_journal, nx_record_start, nx_record_stop
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: pyproject.toml
- Lockfiles checked against OSVNothing could be resolved to exact versions; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
- MCP SDK versionmcp >=2.2,<3
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 64 capabilities; 63 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | mcp >=2.2,<3 |
| Servers in the code | 1 (nx-mcp) |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | mentioned the policy names a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-10-18 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | MIT |
| Created | 2026-04-17 |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.