KOMPAS-3D MCP in Python
kompas-mcp-python
An early unofficial MCP server for KOMPAS-3D in Python: 76 tools for parts and drawings, arbitrary Python off by default
- 0 ★ on the repository
- Last commit
Broad access
Why this level
- Runs commands in your KOMPAS-3D project through COM
- The execute_python_script tool runs arbitrary Python when turned on
- The project is early, the repository has 0 stars and no license
Install
- Works in
Manual install
git clone https://github.com/noki1928/kompas-mcp.git
cd kompas-mcp
python -m venv .venv
.venv\Scripts\pip install -r requirements.txtA regular Windows Python 3.13 is needed (not MSYS2). Then in the client config point to .venv/Scripts/python.exe server.py.
Access and checks
How we reviewBroad accessThe tool can change data, run commands or handle secrets.
- Runs commands in your KOMPAS-3D project through COM
- The execute_python_script tool runs arbitrary Python when turned on
- The project is early, the repository has 0 stars and no license
This is third-party code. Review the repository files before installing.
What it does
The Python 3.13 server drives KOMPAS-3D through the COM API on Windows. The README lists 76 tools for parts and drawings. The author tests on KOMPAS-3D v25 Educational version, and the repository has documentation (architecture, coverage, tools, validation, stability) and 56 tests that run without the CAD. The author does not claim assembly mates or the full production documentation cycle. The `execute_python_script` tool runs arbitrary Python with user rights and is off by default: the `KOMPAS_ALLOW_SCRIPTS=1` variable turns it on.
Who it is for. For designers and engineers who work in KOMPAS-3D and want to hand an agent part building and drawing documentation.
Good fit when
- You need to build a part from a description and dimensions in KOMPAS-3D
- You need to lay out a drawing and place dimensions from the chat
- You need an early but documented server for the Russian CAD
Not a fit when
- You need proven industrial work: the project is early and the repository has 0 stars
- You have no installed KOMPAS-3D with registered COM APIs
Example request
Build a shaft 30 mm in diameter and 120 mm long with a groove and place dimensions on the drawingMCP
- Transport
- stdio
- Authentication
- not required
Environment variables
KOMPAS_ALLOW_SCRIPTS- The value 1 allows execute_python_script, off by default
Limitations
The project is early: the repository has 0 stars and no license is stated, so rights to the code are not granted by default. Windows, an installed KOMPAS-3D with registered COM APIs and a regular Python 3.13 for Windows (not MSYS2) are required. Install from sources: clone the repository, create a `.venv`, run `pip install -r requirements.txt` and launch `server.py`. The server runs commands in your KOMPAS-3D project, so work on a copy of the file. Turn on `KOMPAS_ALLOW_SCRIPTS=1` only if you read every script.
How to disable. Remove the server entry from the client config and delete the repository clone with the `.venv` environment.
FAQ
Does KOMPAS-3D have an official MCP?
We did not find an official MCP server from ASCON: this is one of the early unofficial projects.
Which KOMPAS-3D versions are supported?
The author tests on KOMPAS-3D v25 Educational version.
Why is execute_python_script risky?
It runs arbitrary Python with user rights. It is off by default and KOMPAS_ALLOW_SCRIPTS=1 turns it on.
How is it different from the C# server?
This server is written in Python, has 76 tools and is tested on KOMPAS-3D v25. The C# server targets v22 and has 51 tools.
Discussion
No questions or reviews yet.
Related
MCP serversKOMPAS-3D MCP in C#
kompas-mcp-csharp
An early unofficial MCP server for KOMPAS-3D in C#: 51 tools, a build from sources and a copilot panel inside KOMPAS
AutoCAD MCP Pro
autocad-mcp-pro
An MCP server for AutoCAD with hundreds of tools: a live AutoCAD through COM or DXF without the program, with a token saving mode
SolidWorks MCP in Python
Solidworks-MCP
An MCP server for SolidWorks in Python: 22 tools for parts, sketches, operations and utilities
An MCP server to drive FreeCAD from Claude Desktop and other clients: create and edit models, run scripts and FEM analysis
SketchUp MCP
sketchup-mcp2
An MCP server for SketchUp: the agent creates and changes geometry, assigns materials and exports the scene, and eval_ruby runs Ruby inside the program
An MCP server for AutoCAD, GstarCAD and ZWCAD: draw, edit and inspect drawings in plain language
Comparison with similar tools
Entries that share the main search query, and how they differ.
| Entry | Official | Authentication | Repository stars | Main difference |
|---|---|---|---|---|
| KOMPAS-3D MCP in Python (this entry) | no | not required | 0 | |
| KOMPAS-3D MCP in C# | no | not required | 5 | 51 tools, KOMPAS v22, C# and a copilot panel |
| CAD-MCP Server | no | not required | 598 | AutoCAD, GstarCAD and ZWCAD in one server |
| SolidWorks MCP in Python | no | not required | 159 | 22 tools for SolidWorks |
README in short
The README describes a Python server for KOMPAS-3D with 76 tools for parts and drawings, a check on v25 Educational version and 56 tests without the CAD. It gives installation on Windows and the client configuration. Arbitrary Python execution is off by default.