Back to Home
kbedford icon

Junos-MCP-Server-on-a-Linux-Bastion-

Verified Safe

by kbedford

Overview

Centralized execution of Junos CLI commands on routers via an MCP server hosted on a Linux bastion.

Installation

Run Command
python jmcp.py -f devices.json -t streamable-http -H 127.0.0.1

Environment 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

Stats

Interest Score0
Security Score6
Cost ClassLow
Avg Tokens75
Stars0
Forks0
Last Update2025-12-03

Tags

JunosCLIMCPNetwork AutomationBastionPython