automateyournetwork/pyATS_MCP
FreeCisco pyATS server enabling structured, model-driven interaction with network devices.
About automateyournetwork/pyATS_MCP
PyATS MCP Server is an open-source MCP (Model Context Protocol) server that wraps Cisco pyATS and Genie, enabling AI agents like Claude, LangGraph, and others to run show commands, apply configuration changes, and query network state across devices. Communication occurs over STDIO using JSON-RPC 2.0 — no HTTP ports or REST endpoints. The server uses an environment-based configuration (.env) and a testbed YAML file with %ENV{} variable substitution for device credentials. It supports a wide range of network operating systems including Cisco IOS XE, IOS XR, NX-OS, IOS, Arista EOS, Juniper JunOS, Palo Alto PAN-OS, Linux, and Windows. Additional features include optional Docker deployment, caching for testbed and connections, and an in-memory operation log. The project is experimental and maintained by the automateyournetwork GitHub organization.
Key Features
Pros & Cons
- Open source and free to use
- Leverages the mature Cisco pyATS/Genie testing framework
- Supports a wide range of network operating systems
- Secure: no HTTP ports or REST endpoints
- Easy integration with AI agents via MCP
- Configurable caching improves performance
- Docker support for containerized deployments
- No hard-coded credentials; uses environment variables
- Experimental stage; may have stability issues
- Requires knowledge of pyATS and testbed YAML configuration
- No graphical interface; entirely CLI/STDIO based
- Dependent on local setup and environment variables
- Limited to STDIO communication; no built-in web UI