icepak-mcp
Enables AI assistants to interact with ANSYS Icepak through natural language commands, supporting geometry import, material assignment, thermal loads, meshing, solving, and result retrieval.
README
ANSYS Icepak MCP Server
A Model Context Protocol (MCP) server that enables AI assistants to interact with ANSYS Icepak through natural language commands, powered by PyAEDT over gRPC.
Import geometry, assign materials and thermal loads, build meshes, run natural/forced convection simulations, and retrieve results — all by chatting with Claude.
Status: work in progress. Core geometry/material/mesh/solve workflow is functional; expect rough edges (see Known Issues).
Compatible Clients
| Client | Supported |
|---|---|
| Claude Desktop | ✅ |
| Cursor | ✅ |
| Windsurf | ✅ |
| VS Code (Copilot) | ✅ |
| Any MCP-compatible client | ✅ |
Capabilities
Connection Management
| Tool | Description |
|---|---|
connect_to_icepak |
Connect to a running AEDT/Icepak session via gRPC port |
check_connection |
Check current connection status |
disconnect |
Release the Icepak connection without closing the project |
Geometry
| Tool | Description |
|---|---|
create_box |
Create a rectangular box primitive |
create_cylinder |
Create a cylinder primitive |
create_sphere |
Create a sphere primitive |
create_region |
Create the domain Region object (percentage/absolute offset or position padding) |
Materials
| Tool | Description |
|---|---|
list_materials |
List all materials in the active project |
assign_material |
Assign a material to an existing geometry object |
Thermal & Flow Boundaries
| Tool | Description |
|---|---|
assign_source_power |
Assign a fixed heat-source power (W) to an object |
assign_opening |
Assign an opening boundary on all faces of an object (e.g. the Region) |
assign_grille |
Assign a grille (perforated) boundary with free-area ratio / loss coefficient |
create_fan |
Create a fan object (circular or other cross-section) |
Solution Setup
| Tool | Description |
|---|---|
create_solution_setup |
Create a steady-state temperature-and-flow solution setup (iterations, convergence, flow regime) |
Solve & Results
| Tool | Description |
|---|---|
solve |
Launch the Icepak solver for one or all setups |
get_solve_status |
Check solved/unsolved status of all setups |
export_field_summary |
Export a field summary report (e.g. max/min Temperature over a volume or object) |
Scripting
| Tool | Description |
|---|---|
run_icepak_script |
Execute arbitrary PyAEDT/Python code against the live Icepak session (runs in background, returns a job ID) |
get_script_result |
Poll the output of a background script job |
Requirements
- ANSYS Electronics Desktop (AEDT) 2023 R1 or later with Icepak
- Python 3.10+
- PyAEDT (
ansys-aedt-coreorpyaedt)
Installation
git clone https://github.com/NedaEmami123/icepak-mcp.git
cd icepak-mcp
python -m venv venv
venv\Scripts\activate # Windows
pip install ansys-aedt-core mcp
Configuration
Find your client's config file and add the icepak-mcp server entry:
| Client | Config file location |
|---|---|
| Claude Desktop | %APPDATA%\Claude\claude_desktop_config.json |
| Cursor | %APPDATA%\Roaming\Cursor\User\globalStorage\cursor.mcp\mcp.json |
| Windsurf | %APPDATA%\Windsurf\User\globalStorage\codeium.windsurf\mcp_config.json |
| VS Code | .vscode/mcp.json in your workspace |
Add this block:
{
"mcpServers": {
"icepak-mcp": {
"command": "C:/path/to/icepak-mcp/venv/Scripts/python.exe",
"args": ["C:/path/to/icepak-mcp/icepak_mcp_server.py"],
"env": {
"ANSYSEM_ROOT261": "C:/Program Files/ANSYS Inc/v261/AnsysEM"
}
}
}
}
Replace
v261with your installed AEDT version (e.g.v232,v241,v251).
Usage
1. Start Icepak and get the gRPC port
Open ANSYS Electronics Desktop with an Icepak design. In the Message Manager, look for:
gRPC server started on port 50051
2. Connect Claude to Icepak
In your chat with Claude:
"Connect to Icepak"
3. Build and solve a thermal model
"Import this STEP file, assign materials, create a natural convection region, add source power to the chips, mesh, and solve."
Claude will typically:
- Import CAD geometry (via
run_icepak_script+ PyAEDT'simport_3d_cad) - Assign materials per object
- Create a properly-sized air Region (natural or forced convection padding rules)
- Assign source power / opening / grille boundaries
- Create a solution setup and mesh regions
- Solve and pull back field summaries or plots
4. Poll for results (long jobs)
Long workflows (imports, scripted geometry edits, mesh generation) run in the background. Claude will give you a job_id and poll automatically:
"Get script result for job_1"
Known Issues
- The AEDT gRPC bridge can intermittently lock up on certain calls (e.g.
GetObjectsInGroup,GetSetups) after heavy geometry/mesh-region churn or a stuck dialog in the AEDT GUI. Disconnecting/reconnecting (disconnect+connect_to_icepak) usually recovers it; a full AEDT restart is sometimes required. solveblocks synchronously and can time out the MCP client on long solves even though AEDT keeps solving in the background — pollget_solve_statusafterward rather than re-triggeringsolve.- No dedicated tools yet for field plots, mesh regions, or design duplication — use
run_icepak_scriptwith raw PyAEDT calls for these.
License
Apache 2.0 — see LICENSE
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。