# netdev-ssh MCP server

> Allows an AI client to perform read-only operations on network devices like switches and routers via SSH.

- Repository: https://github.com/krisiasty/netdev-ssh-mcp
- Page: https://hostedmcp.org/servers/krisiasty/netdev-ssh-mcp
- Transport: —
- Stars: 4
- License: Apache-2.0

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `DEVICE_PASSWORD` | no | no |  |
| `DEVICE_USERNAME` | no | no |  |
| `LOG_LEVEL` | no | no |  |
| `OBFUSCATION_KEY_FILE` | no | no |  |
| `SSH_AUTH_SOCK` | no | no |  |

## Tools (20)

- `host`
- `username`
- `port`
- `config_type`
- `device_type`
- `command`
- `json`
- `no-more`
- `count`
- `destination`
- `timeout`
- `source`
- `vrf`
- `size`
- `outgoing_interface`
- `max_hops`
- `probe`
- `refresh`
- `confirm`
- `replace_existing`

## FAQ

### What network platforms are supported?

The server supports Arista EOS, Cisco NX-OS, Cisco IOS/IOS-XE, Juniper JunOS, FortiGate FortiOS, and Cumulus Linux 4.x.

### How does the server handle sensitive configuration data?

Sensitive values like passwords and secrets are automatically replaced with keyed hash tokens to ensure security.

### Can the server automatically detect the device type?

Yes, if the device_type is omitted, the server detects the platform over SSH by reading the identification string and running a read-only probe.
