Are you the author? Sign in to claim
MCP server for Claude Code — serial console and SSH access to network devices with safety controls and a growing knowled
A local MCP server that gives Claude Code direct access to network devices via serial console and SSH, with a built-in safety layer and persistent knowledge base.
| Risk level | Example commands | Behaviour |
|---|---|---|
| Safe | show, ping, display, traceroute | Executes immediately |
| Dangerous | configure, reload, write, delete | Requires confirmed=true |
| Blocked | format flash, erase startup-config, factory-default | Always blocked |
1. Install dependencies
pip install -r requirements.txt
2. Configure paths
cp mcp-server/config.example.yaml mcp-server/config.yaml
Edit config.yaml and set onedrive_root to your shared folder path.
3. Register with Claude Code
cp mcp_config.example.json mcp_config.json
Edit mcp_config.json with the full path to mcp-server/server.py, then:
claude mcp add network-assistant --config mcp_config.json
4. Create your context folder
cp -r context.example context
Fill in context/device_profiles.md with your devices.
SSH Plugin/
mcp-server/
server.py MCP entry point
safety.py Command risk classifier
config.example.yaml Config template (copy to config.yaml)
local-api/
session_manager.py Session tracking
serial_service.py pyserial serial console
ssh_service.py paramiko SSH
file_service.py Context file search and read/write
context.example/ Safe template context files
context/ Your knowledge base (gitignored)
sessions/ Session logs (gitignored)
requirements.txt
Operational knowledge lives in context/ as plain markdown files:
| File | Contents |
|---|---|
device_profiles.md | Per-device connection details, baud rates, interface maps |
known_issues.md | Documented symptoms and resolutions |
command_library.md | CLI command reference by device family |
troubleshooting_history.md | Log of past sessions |
Claude writes to these automatically during sessions — baud rates, working commands, resolved issues — so every session is smarter than the last.
info for running config (not show running-config — that is Cisco syntax)configure router 1 → info → exitRun Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
Google's universal MCP server supporting PostgreSQL, MySQL, MongoDB, Redis, and 10+ databases
Official GitHub integration for repos, issues, PRs, and CI/CD workflows