Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NETWORK_INVENTORY | Yes | Path to the device inventory JSON file. This file must contain a JSON list of device objects with fields like name, ip_address, nos, and authentication credentials. | |
| GNMIBUDDY_LOG_FILE | No | Custom log file path (overrides the default sequential log files in the logs/ directory) | |
| GNMIBUDDY_LOG_LEVEL | No | Global log level (debug, info, warning, error) | info |
| GNMIBUDDY_MODULE_LEVELS | No | Module-specific log levels, e.g., 'src.cmd=warning,src.inventory=debug' | |
| GNMIBUDDY_MCP_TOOL_DEBUG | No | Enable MCP tool debugging | false |
| GNMIBUDDY_STRUCTURED_LOGGING | No | Enable JSON structured logging | false |
| GNMIBUDDY_EXTERNAL_SUPPRESSION_MODE | No | External library suppression mode (cli, mcp, development) | cli |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |