NX MCP (DreamEnding)
MCP serverCommunity
A Python sidecar plus an NX bridge (C# GUI or Python batch) with 16 typed tools for parts, sketches and STEP. By DreamEnding.
159 starsUpdated 3 weeks agoGitHub data from 5 Nov 2026
At a glance
- Type
- MCP server
- Works with
- Siemens NX
- How it connects
- Drives a running copy of the tool
- Access
- Can modify models
- Tool versions
- C# GUI bridge documented on NX2206; Python batch bridge on NX2506
- Operating systems
- Windows
- Needs a Siemens NX licence
- Yes
- Transport
- Local (stdio)
- AI clients documented
- Not stated in its documentation
- Licence
- MIT
- Language
- Python
What it can do
- Splits the work between a stdio sidecar that validates inputs and a bridge that runs NXOpen calls on NX's main thread over an authenticated loopback connection.
- Creates, opens, saves and closes parts, draws sketch lines and rectangles, extrudes, and exports STEP.
- Lists sketches, bodies and features, and can undo the last operation and fit the view.
- Offers an interactive C# bridge that keeps the NX window usable, or a blocking Python batch bridge.
Limitations
- Development preview (0.2.0.dev0); release acceptance on both bridges is still pending.
- Loading the unsigned C# bridge needs an NX Open .NET author licence, or signing with SignDotNet.exe.
- Geometry inputs use the work part's native units.
Install
git clone https://github.com/DreamEnding/NX_MCP.git
Set-Location NX_MCP
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install -e .
New-Item -ItemType Directory -Force 'C:\NX_MCP_WORKSPACE' | Out-Null{
"mcpServers": {
"nx-mcp": {
"command": "C:\\src\\NX_MCP\\.venv\\Scripts\\python.exe",
"args": ["-m", "nx_mcp.server"],
"env": {
"NX_MCP_WORKSPACE": "C:\\NX_MCP_WORKSPACE",
"NX_MCP_STATE_DIR": "C:\\Users\\<you>\\.nx-mcp"
}
}
}
}MCP servers and skills run code on your computer. Review the source before installing.
AI-generated models, drawings and results must be checked by a qualified engineer before use.