- Pyats
Pyats
Overview
What is Pyats?
Pyats is a Model Context Protocol (MCP) Server that integrates Cisco pyATS and Genie functionalities, enabling structured, model-driven interactions with network devices using the JSON-RPC 2.0 protocol over STDIO.
How to use Pyats?
To use Pyats, set your testbed path and run the server in either Continuous STDIO Mode or One-Shot Mode. You can also build and run it using Docker for containerized environments.
Key features of Pyats?
- Connects to Cisco IOS/NX-OS devices defined in a pyATS testbed.
- Executes validated CLI commands safely (e.g., show, ping).
- Allows controlled configuration changes and returns structured output.
- Exposes tools for discovering and calling commands via JSON-RPC.
Use cases of Pyats?
- Automating network device management and configuration.
- Running diagnostics and retrieving device status.
- Integrating with LangGraph for advanced tool invocation.
FAQ from Pyats?
- Can Pyats be used in secure environments?
Yes! Pyats operates entirely via STDIO, making it suitable for secure and embedded integrations.
- Is Docker support available?
Yes! Pyats can be built and run as a Docker container for easy deployment.
- How does Pyats ensure command safety?
Pyats uses Pydantic for input validation, blocking unsafe commands and preventing abuse.
Server Config
{
"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"
}
}
}
}Project Info
Created At
a year agoUpdated At
a year agoAuthor Name
automateyournetworkStar
-Language
-License
-Category
developer-tools
Recommend Servers
View AllPlaywright Mcp
@microsoft
Playwright MCP server
TypeScript
10 months ago
Littleorange Video Mcp
@littleorange-ai
17 hours ago
Test
@modelcontextprotocol
test
6 months ago
Rollinggo Hotel Mcp
@longcreat
2 days ago
Serper MCP Server
@garymengcom
A Serper MCP Server
Python
a year ago