ServerEntry#
- class ansys.aedt.mcp.lanes.registry.ServerEntry#
One lane backend recorded in the registry.
- Parameters:
- server_id
str Lane name, unique within the registry.
- http_port
int Loopback port the lane serves MCP over HTTP on.
- pid
int,optional Process ID of the lane backend.
- aedt_gpc_port
int,optional gRPC port of the AEDT session the lane owns, if known.
- log_path
str,optional File capturing the lane’s stdout and stderr.
- started_at
float Creation time as a POSIX timestamp.
- python
str,optional Interpreter running the lane, which identifies its installation.
- auth_token
str,optional Bearer secret the lane requires on every HTTP request. It is never exposed to clients; use
public_dict()for display.
- server_id
Overview#
Rebuild an entry from JSON data, ignoring unknown fields. |
Return a JSON-serializable representation, including the secret. |
|
Return a representation safe to show to clients. |
Authentication mode of the lane: |
Import detail#
from ansys.aedt.mcp.lanes.registry import ServerEntry
Property detail#
Attribute detail#
Method detail#
- ServerEntry.to_dict() dict[str, Any]#
Return a JSON-serializable representation, including the secret.