ANSYS HFSS MCP Server (hfss-mcp)
MCP serverCommunity
An antenna-focused HFSS server over PyAEDT gRPC with one-call patch and dipole builds and a background PyAEDT script runner. By NedaEmami123.
16 starsUpdated 4 months agoGitHub data from 5 Nov 2026
At a glance
- Type
- MCP server
- Works with
- Ansys HFSS / Maxwell
- How it connects
- Drives a running copy of the tool
- Access
- Can modify models
- Tool versions
- AEDT 2023 R1 or later with HFSS
- Operating systems
- Windows
- Needs a Ansys HFSS / Maxwell licence
- Yes
- Transport
- Local (stdio)
- AI clients documented
- Claude Desktop, Cursor, Windsurf, VS Code (GitHub Copilot)
- Licence
- Apache-2.0
- Language
- Python
What it can do
- Attaches to a running AEDT session on the gRPC port shown in its Message Manager.
- Builds a fully parametric coax-fed patch antenna or a centre-fed half-wave dipole for a given frequency, with boundaries, ports, setup, sweeps, far-field sphere and reports.
- Adds wave and lumped ports, adaptive setups and frequency sweeps, solves, and reads S-parameters and far-field patterns.
- Runs arbitrary PyAEDT code as a background job that the agent polls for results.
Limitations
- Install and configuration steps are written for Windows paths only.
- Dedicated geometry tools are limited to boxes, cylinders and spheres.
- No licence file in the repository; the README states Apache 2.0.
Install
git clone https://github.com/NedaEmami123/hfss-mcp.git
cd hfss-mcp
python -m venv venv
venv\Scripts\activate # Windows
pip install ansys-aedt-core mcpSource: github.com/NedaEmami123/hfss-mcp
{
"mcpServers": {
"hfss-mcp": {
"command": "C:/path/to/hfss-mcp/venv/Scripts/python.exe",
"args": ["C:/path/to/hfss-mcp/hfss_mcp_server.py"],
"env": {
"ANSYSEM_ROOT261": "C:/Program Files/ANSYS Inc/v261/AnsysEM"
}
}
}
}Source: github.com/NedaEmami123/hfss-mcp
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.