Skip to main content
Glama

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

  1. Clone the repository

  2. Install dependencies using uv:

    uv sync
  3. Create a .env file with your device credentials:

    LAB_USERNAME=your_username
    LAB_PASSWORD=your_password
  4. Update the device inventory in server.py with your device IPs

Usage

Run the MCP server:

uv run server.py

Project Structure

  • server.py - Main MCP server with network tools

  • network-mcp/ - Package directory

  • pyproject.toml - Project configuration

Requirements

  • Python 3.13+

  • Network devices accessible via SSH

F
license - not found
-
quality - not tested
C
maintenance

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