health_check
Reports server version and config status to verify MCP is up and config.ini is valid. No network connection required; returns health, version, router count, and configuration state.
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 / degraded / 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 a degraded or error result, detail
carries the reason.
Args: config_path: Path to config.ini (empty string uses default search).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config_path | No |