health_check
Check if the MCP server is healthy and verify config.ini loads correctly, reporting version, router count, and tags without opening any device connection.
Instructions
Report server version and config status — without connecting to any device.
Call this at session start (or after a tool-call timeout) to confirm the MCP is up, see which version is running, and verify that config.ini loads and how many routers it defines. Lightweight by design: junos-mcp fans out to many Juniper devices, so this check ONLY loads config.ini and counts hosts — it opens NO NETCONF/SSH connection to any device.
Always returns the same keys: status (healthy / error),
service, version, config_path (the resolved config.ini path it
would use), router_count (number of host sections in config.ini),
tags (sorted list of distinct tags across configured hosts), and
config (ok / error / missing). On an error result, detail carries
the reason. There is no degraded state: this check either loads config.ini
or it does not.
Args: config_path: Path to config.ini (empty string uses default search).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config_path | No |