The ansys.aedt.mcp library#

Summary#

aedt_helper

Helper functions for PyAEDT-MCP.

__main__

Entry point for PyAEDT-MCP when run as a module.

contexts

Context tools for PyAEDT-MCP.

helpers

Helper functions for PyAEDT-MCP.

prompts

Prompt templates for PyAEDT-MCP.

server

Lifespan and CLI entry for PyAEDT-MCP with startup options.

tools

List of tools in PyAEDT-MCP.

toolsets

Toolset definitions for PyAnsys MCP service discovery.

launcher

Entry point for the MCP server.

app

__version__

PyAEDT-MCP version.

Description#

PyAEDT-MCP is an MCP (Model Context Protocol) server for Ansys Electronics Desktop (AEDT).

This package provides an MCP server that enables AI assistants to interact with AEDT through PyAEDT.

Supported AEDT applications:

  • HFSS (High-frequency structure simulator)

  • Maxwell 2D/3D (Low-frequency electromagnetics)

  • Q3D/Q2D (Parasitic extraction)

  • Icepak (Thermal management)

  • Circuit (Circuit simulation)

  • TwinBuilder (System modeling)

  • Mechanical (Structural analysis)

  • EMIT (EMI/EMC analysis)

  • RMXprt (Rotating machine design)

  • HFSS 3D Layout (High-speed electronics)

Example:

Run the MCP server:

$ ansys-aedt-mcp --transport stdio

Or connect to a running AEDT instance:

$ ansys-aedt-mcp --connect --machine localhost --port 50051

Module detail#

mcp.__version__#

PyAEDT-MCP version.