Junos-MCP-Server-on-a-Linux-Bastion-
Verified Safeby kbedford
Overview
Centralized execution of Junos CLI commands on routers via an MCP server hosted on a Linux bastion.
Installation
python jmcp.py -f devices.json -t streamable-http -H 127.0.0.1Environment Variables
- MCP_SESSION
Security Notes
The server, by default, runs without authentication (`.tokens` file missing), making it 'open to all clients' on `127.0.0.1:30030`. While bound locally, this is a risk if other processes on the bastion are compromised or if the binding is changed to `0.0.0.0` without tokens. The `devices.json` example includes a hardcoded password (`junos123`), which, if not replaced, poses a significant security vulnerability. The `jmcp_token_manager.py` script is provided to configure tokens for enhanced security.
Similar Servers
cml-mcp
Enables AI assistants to interact with and automate Cisco Modeling Labs (CML) network lab operations using natural language.
meraki-magic-mcp
Provides a comprehensive interface to manage Cisco Meraki network devices and configurations by exposing all Meraki SDK methods as tools, optimized for use with Claude Desktop.
radkit-mcp-server-community
Enables AI models to interact with Cisco RADKit-managed network devices via MCP tools for inventory, command execution, and SNMP operations.
systems-manager
This project provides a multi-OS system management CLI and an MCP server for automating system maintenance, application management, and configuration via AI or automation systems.