The cli.py module#

Summary#

run_proxy

Parse the proxy options and serve the routing proxy over stdio.

main

Run the lanes command line.

PROG

SUBCOMMANDS

RESERVED_BACKEND_ARGS

Backend arguments the spawner sets itself, so they cannot be forwarded.

Description#

Command line of the opt-in lanes mode (ansys-aedt-mcp --lanes).

ansys-aedt-mcp --lanes [options] [-- backend args]

Run the stdio routing proxy. Arguments after -- are forwarded to every lane backend, for example -- --graphical --include-context.

ansys-aedt-mcp --lanes status|reap|reset|unlock|dashboard

Inspect or recover the lane registry without starting the proxy, which works even when the whole MCP stack is unreachable.

Module detail#

cli.run_proxy(argv: list[str]) → int#

Parse the proxy options and serve the routing proxy over stdio.

Parameters:
argvlist[str]

Proxy options, optionally followed by -- and backend arguments.

Returns:
int

Process exit code.

cli.main(argv: list[str]) → int#

Run the lanes command line.

Parameters:
argvlist[str]

Arguments following --lanes.

Returns:
int

Process exit code.

cli.PROG = 'ansys-aedt-mcp --lanes'#
cli.SUBCOMMANDS = ('status', 'stop', 'reap', 'reset', 'unlock', 'dashboard')#
cli.RESERVED_BACKEND_ARGS = ('--transport', '--http-host', '--http-port', '--lanes')#

Backend arguments the spawner sets itself, so they cannot be forwarded.