Skip to main content

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.

  1. Start RFEM 6, RSTAB 9, or RSECTION 1 on your machine
  2. Launch the MCP server with proper settings (urls, API ports)
  3. An AI tool calls e.g. run_rfem_script with Python code
  4. 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

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

dlubal_mcp-1.0.1.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dlubal_mcp-1.0.1-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file dlubal_mcp-1.0.1.tar.gz.

File metadata

  • Download URL: dlubal_mcp-1.0.1.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for dlubal_mcp-1.0.1.tar.gz
Algorithm Hash digest
SHA256 e1fd7b040f87e9fe4669ab5beb2df83ed442c80af9787085f3623c24a79f9294
MD5 5d0a1e42e25e56540896ab2bd548b200
BLAKE2b-256 9d9d2a45c658337763002346c650f6e5ae5d4b3bd9d61fb98ee65796abfba417

See more details on using hashes here.

File details

Details for the file dlubal_mcp-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: dlubal_mcp-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 22.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for dlubal_mcp-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab815ce14a644701134ac1d774ce97a361fb3faf6b0a3397bbfdc105495ba1e3
MD5 74d01327564abd9396bc31345585da41
BLAKE2b-256 235ea707d7b8f8e8e9cc3a62942ae865d5922c36828d8e871a4aa3a3c4b372be

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page