Skip to content
Tresca

HFSS MCP Server (leonardwy)

MCP serverCommunity

A 26-tool PyAEDT server that holds one HFSS connection open across calls and can search a local index of your Ansys PDF manuals. By leonardwy.

25 starsUpdated 6 months agoGitHub data from 5 Nov 2026

At a glance

Type
MCP server
How it connects
Drives a running copy of the tool
Access
Can modify models
Tool versions
AEDT 2026.1 with PyAEDT 0.25.1 and Python 3.12 (author's test setup)
Operating systems
Not stated in its documentation
Needs a Ansys HFSS / Maxwell licence
Yes
Transport
Local (stdio)
AI clients documented
VS Code
Licence
MIT
Language
Python

What it can do

  • Connects to or launches HFSS over gRPC and keeps the session alive between tool calls, saving session state to a JSON file.
  • Creates projects, boxes, cylinders and spheres, wave ports, radiation boundaries, design variables and solution setups, runs the analysis and extracts S-parameters.
  • Builds a searchable knowledge base from the Ansys product documentation PDFs on your machine and answers modelling questions about ports, boundaries, setups and meshing from it.

Limitations

  • Geometry tools cover only basic primitives; anything else needs extending the server.
  • The README (in Chinese) documents known PyAEDT version differences for radiation boundaries, wave port faces, S-parameter extraction and far-field setup over gRPC.
  • No licence file in the repository; the README states MIT.

Install

pip install -r requirements.txt
python hfss_server.py

Source: github.com/leonardwy/HFSS_McpServer

MCP servers and skills run code on your computer. Review the source before installing.

AI-generated models, drawings and results must be checked by a qualified engineer before use.