1. Conduid
  2. Developer Tools
  3. automateyournetwork/pyATS_MCP
MCP server · Developer Tools

automateyournetwork/pyATS_MCP

An MCP Server for pyATS (experimental)

Unclaimed MIT devtools
62Good

Scored 21 hours ago · breakdown

About automateyournetwork/pyATS_MCP

automateyournetwork/pyATS_MCP is an MCP server published by automateyournetwork in the Developer Tools category: an MCP Server for pyATS (experimental). Conduid read 34 tools from its source: pyats_clean_device, pyats_configure_device, pyats_configure_devices_multi, pyats_configure_with_diff, pyats_device_health, pyats_diff_learned_snapshots and 28 more. No package is published for it, so it installs from a source checkout.

The repository has 91 stars and 34 forks, is licensed MIT, and its last commit was on 29 Nov 2026. Conduid has no tagged release on record for it. It passes 3 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned, No dynamic code execution and Scoped permissions. Its topics include devtools.

Install

From source
git clone https://github.com/automateyournetwork/pyATS_MCP

Tools (34)

pyats_clean_deviceGenie Clean (Kleenex), restricted to non-destructive `connect`+`execute_command` stages; `dry_run=True` by default
ParameterTypeDescription
commands *arrayList of commands to run via the clean execute_command stage (e.g. ["show version", "show boot"]).
confirmstringRequired literal string when dry_run=False: "I UNDERSTAND THIS IS A REAL DEVICE OPERATION"
device_name *stringExact device name.
dry_runbooleanIf True (default), only generate and return the clean.yaml — no device contact.
pyats_configure_deviceApply configuration commands with safety guardrails
ParameterTypeDescription
config_commands *anyList of strings OR a multiline string. List: ["interface Gi0/0", " description WAN", " no shutdown"] String: "interface Gi0/0\\n description WAN\\n no shutdown"
device_name *stringExact device name.
pyats_configure_devices_multiApply configuration across multiple devices concurrently (thread pool)
ParameterTypeDescription
config_commands *anyConfig payload applied identically to all devices. Same format rules as pyats_configure_device.
device_names *arrayList of exact device names.
pyats_configure_with_diffApply config and return a before/after diff
ParameterTypeDescription
config_commands *anySame format as pyats_configure_device.
device_name *stringExact device name.
save_rollback_snapshotbooleanSave a snapshot for rollback (default True).
pyats_device_healthSnapshot CPU, memory, interfaces, and routing state
ParameterTypeDescription
device_name *stringExact device name (use pyats_search_devices if unsure).
pyats_diff_learned_snapshotsDiff two snapshots saved by `pyats_learn_feature`
ParameterTypeDescription
device_name *stringExact device name.
feature *stringGenie feature name — must match what was learned.
label_a *stringLabel of the "before" snapshot.
label_b *stringLabel of the "after" snapshot.
pyats_find_interface_by_ipFind which interface owns a given IP address
ParameterTypeDescription
device_namesarrayOptional list of device names to search. Omit to search all devices.
ip_address *stringIP address or prefix to search for (partial match OK).
pyats_get_neighborsRetrieve CDP/LLDP neighbors
ParameterTypeDescription
device_name *stringExact device name.
pyats_get_operation_logRetrieve the in-memory operation log
ParameterTypeDescription
device_filterstringReturn only entries for this device name. Omit or pass null to return entries for all devices.
limitintegerMaximum entries to return (default 50, hard cap 500).
pyats_learn_featureGenie `device.learn()` for a whole feature (interface, ospf, bgp, …), optionally saved as a named snapshot
ParameterTypeDescription
device_name *stringExact device name.
feature *stringGenie feature name (e.g. "interface", "ospf", "bgp").
snapshot_labelstringIf given, store this learn result under this label for this device+feature so it can be diffed later. Labels are process-global and overwrite any prior snapshot with the same device+feature+label.
pyats_list_devicesList all devices in the testbed
pyats_pcall_configure_devicesSame, but one OS process per device
ParameterTypeDescription
config_commands *anyConfig payload applied identically to all devices. Same format rules as pyats_configure_device.
device_names *arrayList of exact device names.
pyats_pcall_show_commandSame, but one OS process per device (`pyats.async_.pcall`) instead of a shared thread pool
ParameterTypeDescription
command *stringShow command to run on every device (same rules as pyats_run_show_command — must start with 'show').
device_names *arrayList of exact device names.
pyats_ping_from_network_deviceExecute a ping from a network device
ParameterTypeDescription
command *stringPing command string, e.g. 'ping 1.1.1.1' or 'ping 1.1.1.1 repeat 100 source Loopback0'.
device_name *stringExact device name.
pyats_rest_requestGeneric REST/RESTCONF/NX-API call via pyATS's `rest.connector` (a separate connection type from CLI/SSH)
ParameterTypeDescription
api_url *stringPath portion of the URL, e.g. "/restconf/data/ietf-interfaces:interfaces".
content_typestring"json" or "xml" (defaults to the connector's default).
device_name *stringExact device name (must have a 'rest' connection block).
headersobjectExtra HTTP headers as a dict.
method *stringOne of GET, POST, PUT, PATCH, DELETE.
payloadstringJSON/XML body string for POST/PUT/PATCH (ignored for GET/DELETE).
timeoutintegerRequest timeout in seconds (default 30).
pyats_rollback_configRoll back to the last saved configuration snapshot
ParameterTypeDescription
device_name *stringExact device name to roll back.
pyats_run_blitzRun a declarative pyATS Blitz YAML test
ParameterTypeDescription
actions_yaml *stringYAML text for Blitz's test_sections — a list of named steps, each a list of actions. Example: - step1: - execute: device: R1 command: show version
device_names *arrayDevices this blitz trigger runs against (the trigger's top-level 'devices:' list).
pyats_run_dynamic_testExecute a sandboxed pyATS AEtest script
ParameterTypeDescription
test_script_content *stringComplete pyATS AEtest script as a string. Must contain 'TEST_DATA = {...}'.
pyats_run_linux_commandRun a command on a Linux host
ParameterTypeDescription
command *stringShell command. Pipes and redirects are wrapped in 'sh -c "..."' automatically.
device_name *stringExact device name.
pyats_run_robotRun a Robot Framework suite using the `pyats.robot`/`genie.libs.robot` keyword libraries
ParameterTypeDescription
robot_script_content *stringComplete .robot suite text (Settings + Test Cases sections).
pyats_run_show_commandRun a validated show command; returns parsed JSON or raw output
ParameterTypeDescription
command *stringMust start with 'show'. No pipes, redirects, or dangerous keywords (reload, delete, etc.).
device_name *stringExact device name (use pyats_search_devices if unsure).
retriesintegerTotal attempts on failure/timeout (default 1 = no retry).
timeoutintegerSeconds to wait per attempt (default 60).
pyats_run_show_command_multiRun a show command across multiple devices concurrently (thread pool)
ParameterTypeDescription
command *stringShow command to run on every device (same rules as pyats_run_show_command — must start with 'show').
device_names *arrayList of exact device names.
pyats_search_devicesFuzzy-search devices by name or alias
ParameterTypeDescription
min_scorenumberMinimum score threshold (0.0–1.0). Default 0.4. Lower = more permissive; raise to 0.7+ for stricter matching.
query *stringPartial or approximate device name.
pyats_show_loggingRetrieve device system logs via `show logging`
ParameterTypeDescription
device_name *stringExact device name.
pyats_show_running_configRetrieve the full running configuration (raw text)
ParameterTypeDescription
device_name *stringExact device name.
pyats_testbed_activateSwitch every other tool to a dynamic testbed (or back to `static`)
ParameterTypeDescription
name *string
pyats_testbed_buildBuild an in-memory testbed from Itential, NetBox, Nautobot, Catalyst Center, csv/json/yaml/xml or any REST API
ParameterTypeDescription
activateboolean
credentialsobject
dataany
default_osstring
default_portinteger
default_protocolstring
dry_runboolean
file_pathstring
filtersobject
formatstring
inventoryany
mappingobject
max_devicesinteger
merge_withstring
name *string
os_mapobject
presetstring
profilestring
records_pathstring
restobject
sourcestring
tagsarray
pyats_testbed_deleteInspect and manage in-memory testbeds
ParameterTypeDescription
name *string
pyats_testbed_getInspect and manage in-memory testbeds
ParameterTypeDescription
as_yamlboolean
devicestring
limitinteger
name *string
offsetinteger
pyats_testbed_listInspect and manage in-memory testbeds
pyats_testbed_source_inventoriesList Itential Inventory Manager inventories with node counts
ParameterTypeDescription
profilestringOptional named Itential Platform (reads ITENTIAL_<PROFILE>_URL etc.). Omit to use the default PLATFORM_URL.
pyats_testbed_sourcesWhich sources are configured on the server, allow-lists, active testbed
pyats_testbed_validatepyATS schema check, credential env check, optional TCP reachability
ParameterTypeDescription
check_reachabilityboolean
devicesarray
name *string
pyats_xpresso_requestAuthenticated call to Cisco XPresso's REST API v2 (test requests, jobs, testbeds, images, …)
ParameterTypeDescription
method *stringOne of GET, POST, PUT, PATCH, DELETE.
paramsobjectQuery-string params dict — XPresso list/search endpoints use offset/limit pagination, e.g. {"offset": 50, "limit": 100}.
path *stringAPI path, e.g. "/api/v2/testbeds" or "/api/v2/requests".
payloadobjectJSON body dict for POST/PUT/PATCH (ignored for GET/DELETE).
timeoutintegerRequest timeout in seconds (default 30).

Security checks

Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 2.5K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
  • !No dynamic code executionScanned 7 source files and found 1 call to eval or shell execution, in pyats_mcp_server.py:2621. Review how tool inputs reach them before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
Streamable HTTPpyats_mcp_server.py:3744
Starts other programs
4 callspyats_mcp_server.py:1010, pyats_mcp_server.py:2474, pyats_mcp_server.py:2764
Outbound network calls
9 callspyats_mcp_server.py:3041, pyats_testbed_builder.py:645, pyats_testbed_builder.py:647
Writes or deletes files
12 callspyats_mcp_server.py:1000, pyats_mcp_server.py:1001, pyats_mcp_server.py:1041
Lockfile
None in the repository

Pattern matches on the source text of 7 files: places to read, not proof of what the code does at run time.

README

The repository's README runs to about 2.5K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About automateyournetwork/pyATS_MCP

How do I install automateyournetwork/pyATS_MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is automateyournetwork/pyATS_MCP safe to use with an AI agent?

Its trust score is 62 out of 100 (good). It passes 3 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned, No dynamic code execution and Scoped permissions. Conduid's scan of 7 source files found that it serves MCP over Streamable HTTP, starts other programs (4 calls), makes outbound network calls (9 calls) and writes or deletes files (12 calls). It has no ConduID identity yet, so agent calls to it are not receipted.

Is automateyournetwork/pyATS_MCP still maintained?

Yes — the last commit was 3 days ago. The repository has 91 stars and 34 forks.

What tools does automateyournetwork/pyATS_MCP provide?

Conduid read 34 tools from the source: pyats_clean_device, pyats_configure_device, pyats_configure_devices_multi, pyats_configure_with_diff, pyats_device_health, pyats_diff_learned_snapshots, pyats_find_interface_by_ip, pyats_get_neighbors and 26 more. 31 of them publish their parameters, listed under Tools above.

What license is automateyournetwork/pyATS_MCP released under?

The repository declares the MIT license.