PyAEDTMCP#

class ansys.aedt.mcp.server.PyAEDTMCP(name: str = 'PyAEDT-MCP', *args, **kwargs)#

Bases: ansys.common.mcp.PyAnsysBaseMCP

FastMCP server for managing AEDT instances.

Overview#

create_context

Create a new application context.

product_startup

Allow PyAEDT-MCP specific startup actions.

product_cleanup

Perform cleanup actions for AEDT instances on shutdown.

Import detail#

from ansys.aedt.mcp.server import PyAEDTMCP

Method detail#

PyAEDTMCP.create_context() PyAEDTAppContext#

Create a new application context.

Returns:
PyAEDTAppContext

Application context for managing AEDT instances.

PyAEDTMCP.product_startup()#

Allow PyAEDT-MCP specific startup actions.

PyAEDTMCP.product_cleanup()#

Perform cleanup actions for AEDT instances on shutdown.