MCP server enabling AI tools to interact with running Dlubal structural analysis applications (RFEM 6, RSTAB 9, RSECTION 1)
Project description
dlubal-mcp
Model Context Protocol (MCP) server that enables AI tools and large language models (LLMs) to interact with running Dlubal structural analysis applications.
Built on top of the dlubal.api gRPC client library, dlubal-mcp exposes tools that AI assistants can call directly to do modelling, analysis or reading results through the API scripts.
Supported Applications
| Application | Script Tool |
|---|---|
| RFEM 6 — Finite Element Analysis | run_rfem_script |
| RSTAB 9 — Frame and Truss Analysis | run_rstab_script |
| RSECTION 1 — Cross-Section Analysis | run_rsection_script |
How It Works
dlubal-mcp acts as a bridge between an AI assistant and a running Dlubal application. The application must already be open and its API service active — the MCP server connects to the live session, it does not launch applications itself.
- Start RFEM 6, RSTAB 9, or RSECTION 1 on your machine
- Launch the MCP server with proper settings (urls, API ports)
- An AI tool calls e.g.
run_rfem_scriptwith Python code - The code executes against the live application and returns the output
LLM Responsibility for API Scripts
The run_rfem_script, run_rstab_script, and run_rsection_script tools execute arbitrary Python code against the live application. The LLM is responsible for composing correct and valid API scripts — the MCP server simply runs whatever code it receives and returns the output or any errors.
To write correct scripts, the LLM should consult the Dlubal API Documentation, which covers all available objects, methods, and usage patterns for the gRPC-based API.
Requirements
- Python 3.11 or higher
- A running Dlubal application (RFEM 6, RSTAB 9, or RSECTION 1)
- Active API Service subscription — see dlubal.api for details
Installation
pip install "dlubal-mcp[rfem]" # RFEM 6
pip install "dlubal-mcp[rstab]" # RSTAB 9
pip install "dlubal-mcp[rsection]" # RSECTION 1
pip install "dlubal-mcp[all]" # All products
Available MCP Tools
| Tool | Description |
|---|---|
run_rfem_script |
Execute Python code against a running RFEM 6 instance |
run_rstab_script |
Execute Python code against a running RSTAB 9 instance |
run_rsection_script |
Execute Python code against a running RSECTION 1 instance |
health_check |
Server status: installed products, running state, available tools |
Related
- dlubal.api — the underlying gRPC client library
- Dlubal API Documentation — reference for all API objects and methods used in scripts
- Dlubal Software
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dlubal_mcp-1.0.4.tar.gz.
File metadata
- Download URL: dlubal_mcp-1.0.4.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
026dc6c6f54fac0e6ef81e6da679333f5c09a14a24ab01f67b33674c629341c1
|
|
| MD5 |
281afdd9947d80c2329934e6ddb15a14
|
|
| BLAKE2b-256 |
c9528a3015f83cd605a73e09638258be120105f018adbe16df96bec6cd523d53
|
File details
Details for the file dlubal_mcp-1.0.4-py3-none-any.whl.
File metadata
- Download URL: dlubal_mcp-1.0.4-py3-none-any.whl
- Upload date:
- Size: 29.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3dd3aa9381120acdb6c30e2fa363cfc417052c22431277e7712d1c48db85821f
|
|
| MD5 |
4b302b973e2b0716c8178548c8c3acfe
|
|
| BLAKE2b-256 |
4a48a271b8cb1b316a2df5028d2356117df5212766ae2fa93325c3416801a46c
|