Pyats
Enables structured interaction with network devices via STDIO using the JSON-RPC 2.0 protocol.
소개
Pyats provides a Model Context Protocol (MCP) Server that wraps Cisco pyATS and Genie functionality. It allows structured, model-driven interaction with network devices over STDIO using the JSON-RPC 2.0 protocol. Operating entirely via STDIO, this server minimizes the attack surface area, maximizing portability for secure, embedded, containerized, or LangGraph-based tool integrations. It supports safe execution of validated CLI commands, controlled configuration changes, and returns structured (parsed) or raw output, exposing a set of well-defined tools.
주요 기능
- Operates entirely via STDIO for minimal surface area and maximum portability
- Supports safe execution of validated CLI commands (show, ping)
- Allows controlled configuration changes
- Returns structured (parsed) or raw output
- Connects to Cisco IOS/NX-OS devices defined in a pyATS testbed
- 19 GitHub stars
사용 사례
- Integrate with LangGraph's tool invocation model without opening HTTP ports
- Securely manage network devices using standard input/output communication
- Automate network device configuration and testing in containerized environments