ansys-workbench-mcp
Provides tools for interacting with Ansys Workbench, including running Workbench journals, creating Steady-State Thermal systems, running MAPDL input files, and a demo thermal bar simulation.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ansys-workbench-mcpCreate a new steady-state thermal analysis project."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Ansys Workbench MCP
This is a local MCP server for Codex, used to control Ansys Workbench, Mechanical, and MAPDL via scripting.
It is not an official Ansys project, nor does it simulate mouse clicks on the Workbench interface. It encapsulates the automation entry points already supported by Ansys:
RunWB2.exe -B -R <journal.wbjn>: Batch processing for running Workbench journals.Workbench scripting: Creating real
Steady-State Thermalproject systems.MAPDL batch: Running Mechanical APDL input files for solver-level automated verification.
Current Status
The current version is a minimum viable product (MVP) that can verify the control link from Codex to Workbench:
Check Workbench, Mechanical, and MAPDL paths.
Run arbitrary Workbench journals.
Create a real Workbench
Steady-State Thermalsystem.Run MAPDL input files.
Create and solve a simple steady-state thermal rectangular bar example.
It is not yet a full dual-end structure like Abaqus MCP. Abaqus MCP includes Abaqus/CAE plugins, command directories, result directories, and more in-session query tools; this Workbench version currently uses journal / batch interfaces. Future extensions could include Mechanical script execution, model tree queries, mesh/load encapsulation, and result export tools.
Related MCP server: fluent-research-mcp
Installation
Recommended installation location:
D:\ansys-workbench-mcpCreate a virtual environment and install dependencies:
cd D:\ansys-workbench-mcp
py -3.13 -m venv .venv
.\.venv\Scripts\python.exe -m pip install -r requirements.txtAnsys Paths
The local machine is currently configured for Ansys 2025 R1:
Workbench: D:\Program Files\ANSYS Inc\v251\Framework\bin\Win64\RunWB2.exe
Mechanical: D:\Program Files\ANSYS Inc\v251\aisol\bin\winx64\AnsysWBU.exe
MAPDL: D:\Program Files\ANSYS Inc\v251\ansys\bin\winx64\ANSYS251.exeIf your installation path is different, you can override it using environment variables:
ANSYS_RUNWB2ANSYS_MECHANICALANSYS_MAPDL
Codex Configuration
Add the following content to your Codex configuration file:
%USERPROFILE%\.codex\config.toml[mcp_servers.ansys-workbench]
command = 'D:\ansys-workbench-mcp\.venv\Scripts\python.exe'
args = ['D:\ansys-workbench-mcp\mcp_server.py']
cwd = 'D:\ansys-workbench-mcp'
startup_timeout_sec = 30
tool_timeout_sec = 600
enabled = true
[mcp_servers.ansys-workbench.env]
ANSYS_RUNWB2 = 'D:\Program Files\ANSYS Inc\v251\Framework\bin\Win64\RunWB2.exe'
ANSYS_MECHANICAL = 'D:\Program Files\ANSYS Inc\v251\aisol\bin\winx64\AnsysWBU.exe'
ANSYS_MAPDL = 'D:\Program Files\ANSYS Inc\v251\ansys\bin\winx64\ANSYS251.exe'Restart Codex after modifying the configuration to allow the MCP server to reload.
MCP Tools
check_ansys_installation
Checks if the Workbench, Mechanical, and MAPDL executable paths exist.
run_workbench_journal
Executes a specified .wbjn Workbench journal via RunWB2.exe.
create_steady_state_thermal_system
Creates a real Workbench Steady-State Thermal system and saves the .wbpj project file. This action is equivalent to placing a "Steady-State Thermal" analysis system from the Workbench toolbox.
run_mapdl_input
Runs a Mechanical APDL input file using MAPDL batch processing.
create_and_run_thermal_bar_demo
Creates and solves a simple steady-state thermal rectangular bar example to verify if the Workbench / MAPDL automation link is functional.
Verified
The following have been verified on the local machine:
MCP stdio handshake can list tools.
check_ansys_installationcan detect Ansys 2025 R1 paths.create_steady_state_thermal_systemcan create a real Workbench steady-state thermal project.create_and_run_thermal_bar_democan complete a simple steady-state thermal solution and export nodal temperature results.
Future Plans
Add an entry point for Mechanical script execution.
Add advanced tools for importing geometry, setting materials, generating meshes, and applying temperature/convection boundary conditions.
Add exports for result images, temperature extremes, and node/element tables.
Add more complete examples and test scripts.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityAmaintenanceEnables natural language-driven ANSYS simulations (Fluent, Mechanical, Geometry) with automatic TUI script generation for reproducibility.416MIT
- AlicenseNot gradedqualityBmaintenanceAutomates Ansys Fluent simulation workflows, enabling environment checks, case execution, UDF management, and result export through MCP tools.3MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Ansys simulation software (Fluent, MAPDL, Mechanical, Geometry) through the Model Context Protocol.49MIT
- AlicenseNot gradedqualityBmaintenanceEnables natural language interaction with ANSYS Mechanical simulation software via gRPC, allowing users to manage geometry, mesh, boundary conditions, solve analyses, and generate reports through MCP-compatible AI clients.11Apache 2.0
Related MCP Connectors
Control Unreal Engine to browse assets, import content, and manage levels and sequences. Automate…
Unified AEC tools: ACC, Revit, Navisworks, Twinmotion, and APS from one endpoint.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hongwenwang36-eng/ansys-workbench-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server