监控 · 开发者工具

pyATS_MCP logo

pyATS_MCP

automateyournetwork/pyATS_MCP

该项目实现了一个基于pyATS和Genie的MCP服务器,通过JSON-RPC 2.0协议提供结构化、模型驱动的网络设备交互能力,支持安全执行CLI命令、配置变更及数据采集,适用于容器化或LangGraph集成场景。

安装

npx -y mcp-remote http://localhost:8080/mcp --transport http-only

客户端配置

{
  "mcpServers": {
    "pyats": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "http://localhost:8080/mcp",
        "--transport",
        "http-only"
      ]
    }
  }
}

环境变量

PYATS_TESTBED_PATHPYATS_MCP_ARTIFACTS_DIRPYATS_MCP_KEEP_ARTIFACTSPYATS_MCP_TESTBED_CACHE_TTLPYATS_MCP_CONN_CACHE_TTLPYATS_MCP_OP_LOG_MAXPYATS_MCP_TRANSPORT_MODEPYATS_MCP_HTTP_HOSTPYATS_MCP_HTTP_PORTXPRESSO_URLXPRESSO_API_TOKENXPRESSO_GROUP
GitHub 星标
16
分类
监控, 开发者工具
许可证
MIT
更新于
2026年10月6日

工具(26)

  • pyats_list_devices

    List all devices in the testbed

  • pyats_search_devices

    Fuzzy-search devices by name or alias

  • pyats_run_show_command

    Run a validated show command; returns parsed JSON or raw output

  • pyats_run_show_command_multi

    Run a show command across multiple devices concurrently (thread pool)

  • pyats_pcall_show_command

    Same, but one OS process per device (pyats.async_.pcall) instead of a shared thread pool

  • pyats_show_running_config

    Retrieve the full running configuration (raw text)

  • pyats_show_logging

    Retrieve device system logs via show logging

  • pyats_ping_from_network_device

    Execute a ping from a network device

  • pyats_run_linux_command

    Run a command on a Linux host

  • pyats_configure_device

    Apply configuration commands with safety guardrails

  • pyats_configure_devices_multi

    Apply configuration across multiple devices concurrently (thread pool)

  • pyats_pcall_configure_devices

    Same, but one OS process per device

  • pyats_configure_with_diff

    Apply config and return a before/after diff

  • pyats_rollback_config

    Roll back to the last saved configuration snapshot

  • pyats_device_health

    Snapshot CPU, memory, interfaces, and routing state

  • pyats_get_neighbors

    Retrieve CDP/LLDP neighbors

  • pyats_find_interface_by_ip

    Find which interface owns a given IP address

  • pyats_learn_feature

    Genie device.learn() for a whole feature (interface, ospf, bgp, …), optionally saved as a named snapshot

  • pyats_diff_learned_snapshots

    Diff two snapshots saved by pyats_learn_feature

  • pyats_clean_device

    Genie Clean (Kleenex), restricted to non-destructive connect+execute_command stages; dry_run=True by default

  • pyats_run_blitz

    Run a declarative pyATS Blitz YAML test

  • pyats_run_robot

    Run a Robot Framework suite using the pyats.robot/genie.libs.robot keyword libraries

  • pyats_run_dynamic_test

    Execute a sandboxed pyATS AEtest script

  • pyats_rest_request

    Generic REST/RESTCONF/NX-API call via pyATS's rest.connector (a separate connection type from CLI/SSH)

  • pyats_xpresso_request

    Authenticated call to Cisco XPresso's REST API v2 (test requests, jobs, testbeds, images, …)

  • pyats_get_operation_log

    Retrieve the in-memory operation log

本页信息摘自该项目的 README。 查看 README

支持的客户端

该服务器 README 中提到的客户端:

查看全部
Claude Desktop logo

Claude Desktop

桌面端 · 免费增值 · Proprietary

Anthropic 官方推出的 Claude AI 桌面应用程序。支持 MCP 服务器以扩展功能。

WindowsMacOS
VS Code GitHub Copilot logo

VS Code GitHub Copilot

桌面端 · 免费增值 · MIT

VS Code 通过代理模式将 MCP 与 GitHub Copilot 集成,允许在你的代理编码工作流中直接与 MCP 提供的工具交互。在 Claude Desktop、工作区或用户设置中配置服务器,提供引导式 MCP 安装和安全处理输入变量中的密钥,避免泄露硬编码密钥。

WindowsMacOSLinuxWeb

相关 MCP 服务器

更多服务器
2344 logo

2344

comet-ml/opik

7k

Opik是一个开源的LLM评估框架,支持追踪、评估和监控LLM应用,帮助开发者构建更高效、更经济的LLM系统。

监控
MCP Grafana logo

MCP Grafana

grafana/mcp-grafana

612

Grafana MCP服务器提供对Grafana实例及其生态系统的访问,支持仪表盘搜索、数据源查询、事件管理等功能。

监控
Vite Plugin Vue MCP logo

Vite Plugin Vue MCP

webfansplz/vite-plugin-vue-mcp

407

Vite插件,为Vue应用提供MCP服务,支持组件树、状态、路由和Pinia的查看与编辑。

监控
api200 logo

api200

API-200/api200

169

API 200是一个开源API集成平台,提供第三方API的快速接入和管理功能,包含自动生成代码、文档、认证、缓存和错误处理等特性,支持自托管部署和MCP服务。

监控
WireMCP (Wireshark) logo

WireMCP (Wireshark)

0xkoda/wiremcp

98

WireMCP是一个为大型语言模型(LLM)提供实时网络流量分析能力的MCP服务器,通过Wireshark工具捕获和处理网络数据,支持威胁检测、网络诊断和异常分析。

监控
gospy logo

gospy

monsterxx03/gospy

90

Go进程检查工具,提供goroutine状态、内存统计和二进制信息分析,支持终端UI和HTTP API

监控