Plecs Connect
plecs_connectVerifies connection to PLECS over JSON-RPC and optionally launches the newest local installation when the port is closed, returning a health status object for diagnostics.
Instructions
Handshake/health check; starts PLECS automatically when the RPC port is closed.
If the endpoint is unreachable and auto_start is true (default, or
PLECS_MCP_AUTO_START=always), the newest PLECS installation for this host is
launched and the port is polled for up to startup_timeout seconds.
Set auto_start=false (or PLECS_MCP_AUTO_START=never) for a pure health check.
Returns {"ok": true, "started": ..., ...} or {"ok": false, "launch": {...}, "hints": [...]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| port | No | ||
| app_path | No | ||
| auto_start | No | ||
| startup_timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||