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
MCP server

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
All reasons and checks
Russian stack

noki1928/kompas-mcp

Install

Manual install

git clone https://github.com/noki1928/kompas-mcp.git
cd kompas-mcp
python -m venv .venv
.venv\Scripts\pip install -r requirements.txt

A 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 review

Broad 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 drawing

MCP

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.

KOMPAS-3D MCP in C#

kompas-mcp-csharp

Russian stack

An early unofficial MCP server for KOMPAS-3D in C#: 51 tools, a build from sources and a copilot panel inside KOMPAS

MCP serverBroad access5Repository stars

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

MCP serverBroad access135Repository stars

An MCP server for SolidWorks in Python: 22 tools for parts, sketches, operations and utilities

MCP serverBroad access159Repository stars

An MCP server to drive FreeCAD from Claude Desktop and other clients: create and edit models, run scripts and FEM analysis

MCP serverBroad access2.8KRepository stars

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

MCP serverBroad access43Repository stars

An MCP server for AutoCAD, GstarCAD and ZWCAD: draw, edit and inspect drawings in plain language

MCP serverExtended access598Repository stars

Comparison with similar tools

Entries that share the main search query, and how they differ.

EntryOfficialAuthenticationRepository starsMain difference
KOMPAS-3D MCP in Python (this entry)nonot required0
KOMPAS-3D MCP in C#nonot required551 tools, KOMPAS v22, C# and a copilot panel
CAD-MCP Servernonot required598AutoCAD, GstarCAD and ZWCAD in one server
SolidWorks MCP in Pythonnonot required15922 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.

README badge

Report a problem

Foxx AIKOMPAS-3D MCP in Python
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.