Network MCP Lab
Allows executing show commands and listing available devices on Cisco IOS-XE network devices via SSH.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Network MCP Labshow running-config on router01"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Network MCP Lab
A Model Context Protocol (MCP) server for interacting with network devices. This lab demonstrates how to build an MCP server that connects to Cisco IOS-XE devices using Scrapli.
Video Series
This lab accompanies the video series available at: https://youtu.be/DlSJgTCUCDk
Features
Execute show commands on network devices
List available devices in the lab inventory
Async SSH connections using Scrapli
Setup
Clone the repository
Install dependencies using uv:
uv syncCreate a
.envfile with your device credentials:LAB_USERNAME=your_username LAB_PASSWORD=your_passwordUpdate the device inventory in
server.pywith your device IPs
Usage
Run the MCP server:
uv run server.pyProject Structure
server.py- Main MCP server with network toolsnetwork-mcp/- Package directorypyproject.toml- Project configuration
Requirements
Python 3.13+
Network devices accessible via SSH
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/E-Conners-Lab/First_MCP_Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server