pyATS MCP Server

by automateyournetwork

76 stars
320 downloads
Not rated
GitHub

About

Interact with network devices using Cisco's pyATS and Genie libraries for model-driven automation.

Details

Author
automateyournetwork
GitHub stars
76
Downloads
320
Categories
Other, Infrastructure, Developer Tools

- Over a dozen tools for show commands, config, and diagnostics
- Validates show commands against pipes/redirects/dangerous keywords
- Blocks config commands containing reload, erase, delete, etc.
- Dynamic test scripts run in a restricted sandbox
- All credentials live in .env — never in source code or testbed file
- Supports concurrent operations on multiple devices

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name pyATS MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, install dependencies (pip install -r requirements.txt), copy .env.example to .env, edit the environment file with device credentials and testbed path, then run python3 pyats_mcp_server.py. Alternatively, build and run via Docker, passing the .env file and mounting the testbed YAML.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "pyats mcp server": {
            "pyats": {
                "command": "docker",
                "args": [
                    "run",
                    "-i",
                    "--rm",
                    "-e",
                    "PYATS_TESTBED_PATH",
                    "-v",
                    "/absolute/path/to/testbed/folder:/app",
                    "pyats-mcp-server"
                ],
                "env": {
                    "PYATS_TESTBED_PATH": "/app/testbed.yaml"
                }
            }
        }
    }
}

McpServers

{
    "pyats": {
        "command": "docker",
        "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "PYATS_TESTBED_PATH",
            "-v",
            "/absolute/path/to/testbed/folder:/app",
            "pyats-mcp-server"
        ],
        "env": {
            "PYATS_TESTBED_PATH": "/app/testbed.yaml"
        }
    }
}

pyATS MCP Server

Trust Score

Available on CodeGuilds

MCP server that wraps Cisco pyATS and Genie, letting AI agents (Claude, LangGraph, etc.) run show commands, apply configuration, and query network state over STDIO using JSON-RPC 2.0.

> All communication is via STDIN/STDOUT — no HTTP ports, no REST endpoints.

---

Quick Start

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.