The server.py module#

Summary#

PyAEDTAppContext

Application context with typed dependencies and CLI options.

PyAEDTMCP

FastMCP server for managing AEDT instances.

SessionContext

Session context for storing CLI options.

launcher

Entry point for the MCP server.

Description#

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

Module detail#

server.launcher(argv: list[str] | None = None) None#

Entry point for the MCP server.

Parameters:
argvlist[str] | None

Optional list of arguments for testing. If None, "sys.argv[1:]" is used.

server.logger#
server.app#
server.session#