Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Automates Juniper JunOS devices over NETCONF via PyEZ: CLI commands, config changes, Jinja2 templates, facts, batch operations, and diffs.
18% 73%+55 ptsof test cases passed
Passed 16 of 22 test cases with the skill, and 4 of 22 without it.
Which default filename is used for JunOS router inventory, and which environment variable overrides this path?
Identifies default inventory file as devices.json.
3 of 3 safety checks passed
| Field | Value |
|---|---|
| Repository | Juniper/junos-mcp-server |
| Transport | stdio (default for CLI), streamable-http (for IDE) |
| Python | 3.10+ (3.11 recommended) |
| Protocol | SSH → NETCONF → PyEZ (junos-eznc) |
| Dependencies | junos-eznc>=2.7.4, jxmlease>=1.0.3, lxml>=6.0.0, mcp[cli]>=1.12.2, ncclient>=0.6.15, paramiko>=3.5.1 |
| Install | git clone + pip install -r requirements.txt or pip install . |
| Entry Point | junos-mcp-server -f devices.json -t stdio or python3 jmcp.py -f devices.json -t stdio |
| Container | docker build -t junos-mcp-server . (python:3.11-slim based) |
Devices are defined in a devices.json file (not environment variables):
{
"core-rtr-01": {
"ip": "10.0.0.1",
"port": 22,
"username": "netops",
"auth": {
"type": "ssh_key",
"private_key_path": "/home/user/.ssh/junos_key"
}
},
"edge-rtr-02": {
"ip": "10.0.0.2",
"port": 22,
"username": "admin",
"auth": {
"type": "password",
"password": "changeme"
}
}
}
Next to this one in the catalogue, plus more from the same author.