English |
An MCP (Model Context Protocol) server designed to interact with an already running Abaqus/CAE Graphical User Interface (GUI). It allows for the execution of Python scripts within the Abaqus environment and retrieval of messages from the Abaqus message log/area, all through MCP tools.
This server uses GUI automation techniques (pywinauto) to control the Abaqus/CAE application.
- Script Execution in GUI: Executes Python scripts by automating the "File -> Run Script..." menu in an active Abaqus/CAE session.
- Message Log Retrieval: Attempts to scrape text content from the Abaqus/CAE message/log display area.
- MCP Interface: Exposes functionalities as standard MCP tools and prompts for easy integration with LLM agents and other MCP-compatible clients.
- Operates on Existing GUI: Does not start or stop Abaqus/CAE; it requires an Abaqus/CAE session to be already open and running.
- Operating System: Windows (due to
pywinautoand Abaqus GUI interaction). - Python: Python 3.7+.
- Abaqus/CAE: A compatible version of Abaqus/CAE must be installed and already running with its GUI open when using this server.
Install the required Python packages using pip:
pip install -r requirements.txt(See requirements.txt for the list of dependencies, primarily mcp[cli], pywinauto, pygetwindow, psutil, pywin32.)
- Ensure Abaqus/CAE is Running: Before starting this MCP server, make sure the Abaqus/CAE application is open on your desktop, with the GUI loaded and responsive.
- Accessibility: Ensure no other modal dialogs are blocking the Abaqus/CAE interface when the server attempts to interact with it.