mcp-telecom

v0.2.0
mcp-telecom Checked 1 day ago Published 8 months ago

The first MCP server for network equipment — let AI agents talk to Nokia SR OS, Cisco IOS-XR, and Juniper Junos routers

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

show_bgp_summary

Show BGP neighbor summary on a network device. Returns the BGP peering table with neighbor states, prefixes received, and session uptime. Works across all supported vendors. Args: device: Name of the device as defined in devices.yaml

ParameterTypeDescription
device *string

show_bgp_neighbors

Show detailed BGP neighbor information on a network device. Returns per-neighbor details including state, AS number, messages sent/received, and hold time. Args: device: Name of the device as defined in devices.yaml

ParameterTypeDescription
device *string

show_routing_table

Show the IP routing table on a network device. Returns all routes with protocol, next-hop, metric, and preference. Args: device: Name of the device as defined in devices.yaml

ParameterTypeDescription
device *string

show_ospf_neighbors

Show OSPF neighbor adjacencies on a network device. Returns OSPF neighbor states, interface associations, and dead intervals. Args: device: Name of the device as defined in devices.yaml

ParameterTypeDescription
device *string

show_mpls_lsp

Show MPLS Label Switched Paths on a network device. Returns LSP status, tunnel endpoints, and label bindings. Args: device: Name of the device as defined in devices.yaml

ParameterTypeDescription
device *string

show_interfaces

Show interface status summary on a network device. Returns all interfaces with admin/operational status, speed, and description. Args: device: Name of the device as defined in devices.yaml

ParameterTypeDescription
device *string

show_interface_detail

Show detailed statistics for a specific interface. Returns counters, errors, CRC, drops, utilization, MTU, and speed for the specified interface. Args: device: Name of the device as defined in devices.yaml interface: Interface name (e.g., 'Gi0/0/0', '1/1/1', 'ge-0/0/0')

ParameterTypeDescription
device *string
interface *string

show_lldp_neighbors

Show LLDP neighbor discovery information. Returns connected neighbors with their system name, port ID, and capabilities — useful for topology discovery. Args: device: Name of the device as defined in devices.yaml

ParameterTypeDescription
device *string

show_lag_status

Show Link Aggregation Group (LAG/Port-Channel/Bundle) status. Returns LAG member ports, their states, and aggregate bandwidth. Args: device: Name of the device as defined in devices.yaml

ParameterTypeDescription
device *string

show_arp_table

Show the ARP table on a network device. Returns IP-to-MAC address mappings for all entries in the ARP cache. Args: device: Name of the device as defined in devices.yaml

ParameterTypeDescription
device *string

show_mac_table

Show the MAC address table on a network device. Returns MAC addresses, VLANs, and associated interfaces. Args: device: Name of the device as defined in devices.yaml

ParameterTypeDescription
device *string

show_system_info

Show system information including version, uptime, and hardware. Returns device platform, software version, uptime, serial number, and hardware details. Args: device: Name of the device as defined in devices.yaml

ParameterTypeDescription
device *string

show_alarms

Show active alarms and alerts on a network device. Returns current alarm conditions including severity, timestamp, and description. Args: device: Name of the device as defined in devices.yaml

ParameterTypeDescription
device *string

show_ntp_status

Show NTP synchronization status on a network device. Returns NTP peers, stratum, offset, and synchronization state. Args: device: Name of the device as defined in devices.yaml

ParameterTypeDescription
device *string

show_cpu

Show CPU utilization on a network device. Returns CPU usage per core/process to identify resource bottlenecks. Args: device: Name of the device as defined in devices.yaml

ParameterTypeDescription
device *string

show_memory

Show memory utilization on a network device. Returns memory pool usage, free/used/total memory statistics. Args: device: Name of the device as defined in devices.yaml

ParameterTypeDescription
device *string

show_environment

Show environmental monitoring on a network device. Returns power supply, fan, and temperature sensor readings. Args: device: Name of the device as defined in devices.yaml

ParameterTypeDescription
device *string

show_log_events

Show recent log/syslog messages from a network device. Returns the most recent event log entries for troubleshooting. Args: device: Name of the device as defined in devices.yaml

ParameterTypeDescription
device *string

backup_config

Backup the running configuration of a network device. Fetches the full running config and saves a timestamped copy locally. Returns the configuration content and the backup file path. Args: device: Name of the device as defined in devices.yaml

ParameterTypeDescription
device *string

compare_configs

Compare the current running config with a previous backup. Performs a diff between the live running configuration and a saved backup file, highlighting additions and removals. Args: device: Name of the device as defined in devices.yaml backup_file: Path to the backup file to compare against

ParameterTypeDescription
backup_file *string
device *string

run_command

Run any read-only (show) command on a network device. For safety, only read-only commands are permitted. Configuration commands are blocked. Use this when you need a specific command not covered by the dedicated tools. Args: device: Name of the device as defined in devices.yaml command: The CLI command to execute (must start with 'show', 'display', 'ping', or 'traceroute')

ParameterTypeDescription
command *string
device *string

run_vendor_operation

Run a named operation using the vendor-specific command mapping. This automatically translates the operation name to the correct CLI command for the device's vendor. Use 'list_device_capabilities' to see available operations. Args: device: Name of the device as defined in devices.yaml operation: Operation name (e.g., 'bgp_summary', 'interfaces', 'alarms')

ParameterTypeDescription
device *string
operation *string

list_devices

List all configured network devices. Returns the names, hosts, vendors, and ports of all devices available for interaction.

list_device_capabilities

List all supported operations for a specific device. Shows what commands are available for this device based on its vendor type. Use the operation names with the 'run_vendor_operation' tool. Args: device: Name of the device as defined in devices.yaml

ParameterTypeDescription
device *string

health_check

Check reachability and response time for devices. Tests SSH connectivity and measures response time. If no device is specified, checks all configured devices. Args: device: Optional device name. If omitted, checks all devices.

ParameterTypeDescription
device

get_audit_log

Retrieve recent entries from the command audit log. Shows what commands have been executed, when, on which device, and whether they succeeded. Args: count: Number of recent entries to retrieve (default: 25)

ParameterTypeDescription
countinteger

show_nokia_services

Show Nokia SR OS service summary (VPRN, VPLS, SAP). Nokia-specific tool for viewing all configured services. Only works on Nokia SR OS devices. Args: device: Name of a Nokia SR OS device

ParameterTypeDescription
device *string

netconf_get_config

Retrieve device configuration via NETCONF (structured XML/YANG). Uses NETCONF protocol instead of SSH CLI scraping. Returns structured XML data. Requires ncclient: pip install mcp-telecom[netconf] Args: device: Name of the device as defined in devices.yaml source: Config datastore — 'running', 'candidate', or 'startup'

ParameterTypeDescription
device *string
sourcestring

netconf_get_operational

Retrieve operational state via NETCONF using YANG models. Uses pre-defined YANG filters for common operations. Supported operations: system_info, interfaces, bgp_summary, routing_table. Args: device: Name of the device as defined in devices.yaml operation: YANG operation (e.g. 'system_info', 'interfaces')

ParameterTypeDescription
device *string
operation *string

netconf_capabilities

List NETCONF/YANG capabilities advertised by a device. Shows all YANG modules the device supports, useful for understanding what structured data you can retrieve. Args: device: Name of the device as defined in devices.yaml

ParameterTypeDescription
device *string

telemetry_subscribe

Start a gNMI streaming telemetry subscription for a device. Subscribes to OpenConfig telemetry paths and caches the latest values for querying. Use telemetry_query to read collected data. Args: device: Name of the device as defined in devices.yaml paths: Comma-separated telemetry path names or OpenConfig paths interval_ms: Collection interval in milliseconds (default: 10000)

ParameterTypeDescription
device *string
interval_msinteger
pathsstring

telemetry_query

Query the latest telemetry data collected for a device. Returns the most recent values for all subscribed telemetry paths. Start a subscription first with telemetry_subscribe. Args: device: Name of the device as defined in devices.yaml

ParameterTypeDescription
device *string

telemetry_history

Get historical telemetry values for trend analysis. Returns time-series data for a specific telemetry path on a device. Args: device: Name of the device as defined in devices.yaml path: Telemetry path name (e.g. 'interface_counters') count: Number of historical data points (default: 20)

ParameterTypeDescription
device *string
path *string
countinteger

telemetry_list_subscriptions

List all active telemetry subscriptions.

telemetry_unsubscribe

Stop a telemetry subscription for a device. Args: device: Name of the device to stop collecting from

ParameterTypeDescription
device *string

telemetry_list_paths

List all pre-defined telemetry path shortcuts. Shows the available shortcut names and their corresponding OpenConfig YANG paths for use with telemetry_subscribe.

discover_topology

Discover network topology by collecting LLDP data from all devices. Connects to each configured device (or specified subset), collects LLDP neighbor information, and builds a topology map showing how devices are interconnected. Args: devices: Comma-separated device names. Empty = all devices.

ParameterTypeDescription
devicesstring

show_topology

Show the discovered network topology as an ASCII diagram. Displays all discovered devices and their interconnections. Run discover_topology first to collect data.

show_topology_json

Export the network topology as JSON. Returns the topology in structured JSON format for programmatic use or integration with visualization tools.

show_topology_mermaid

Export the network topology as a Mermaid diagram. Returns Mermaid-formatted graph that can be rendered in Markdown, GitHub, or documentation tools.

find_path

Find the shortest path between two devices in the topology. Uses BFS on the LLDP-discovered topology to find the shortest path between two network devices. Args: source: Source device name target: Target device name

ParameterTypeDescription
source *string
target *string

show_device_neighbors

Show all discovered neighbors for a specific device. Lists every direct connection found via LLDP/CDP for the device. Args: device: Name of the device

ParameterTypeDescription
device *string

snmp_get

Poll SNMP OIDs from a network device. Retrieves specific SNMP MIB values. Accepts OID names or dotted notation. Requires pysnmp: pip install mcp-telecom[snmp] Args: device: Name of the device as defined in devices.yaml oids: Comma-separated OID names or numbers community: SNMPv2c community string (default: public)

ParameterTypeDescription
device *string
communitystring
oidsstring

snmp_walk

Walk an SNMP MIB subtree on a network device. Retrieves all OIDs under the specified base OID. Useful for interface tables, routing tables, etc. Args: device: Name of the device as defined in devices.yaml base_oid: Base OID to walk (default: IF-MIB ifTable) community: SNMPv2c community string

ParameterTypeDescription
device *string
base_oidstring
communitystring

snmp_device_overview

Get a quick SNMP-based overview of a device. Polls system MIB, interface counts, and uptime in a single request. Args: device: Name of the device as defined in devices.yaml community: SNMPv2c community string

ParameterTypeDescription
device *string
communitystring

parallel_command

Run a read-only command on multiple devices simultaneously. Executes the same CLI command across all (or specified) devices in parallel using a thread pool. Much faster than querying one-by-one. Args: command: CLI command to run (must be read-only) devices: Comma-separated device names. Empty = all devices. max_workers: Max concurrent threads (default: 10)

ParameterTypeDescription
command *string
devicesstring
max_workersinteger

parallel_operation

Run a vendor-mapped operation on multiple devices simultaneously. Translates the operation name to the correct vendor CLI command for each device and runs them all in parallel. Args: operation: Operation name (e.g. 'bgp_summary', 'interfaces') devices: Comma-separated device names. Empty = all devices. max_workers: Max concurrent threads (default: 10)

ParameterTypeDescription
operation *string
devicesstring
max_workersinteger

compare_devices

Compare command output across multiple devices. Runs the same operation on multiple devices and highlights differences. Useful for finding configuration drift or inconsistencies. Args: operation: Operation name (e.g. 'system_info', 'ntp_status') devices: Comma-separated device names. Empty = all devices.

ParameterTypeDescription
operation *string
devicesstring

parallel_health_check

Health-check multiple devices in parallel. Tests SSH reachability and response time for all specified devices simultaneously. Much faster than sequential health checks. Args: devices: Comma-separated device names. Empty = all devices.

ParameterTypeDescription
devicesstring

compliance_check

Check a device's running config against security best practices. Evaluates the running configuration against 20+ compliance rules covering NTP, SSH, SNMP, AAA, passwords, and more. Returns a scored report with pass/fail per rule and remediation advice. Args: device: Name of the device as defined in devices.yaml

ParameterTypeDescription
device *string

compliance_check_rule

Check a specific compliance rule against a device. Args: device: Name of the device as defined in devices.yaml rule_name: Name of the compliance rule to check

ParameterTypeDescription
device *string
rule_name *string

compliance_list_rules

List all available compliance rules and their descriptions.

pool_stats

Show connection pool statistics. Returns counts of active, idle, and total persistent SSH connections per device. Useful for monitoring connection reuse.

clab_generate

Generate a Containerlab topology for lab testing. Creates a containerlab YAML topology file that mirrors your production device inventory, or uses a pre-built test scenario. Args: scenario: Test scenario — 'basic', 'mpls_core', 'datacenter', 'isp_edge', or 'inventory' (uses your devices.yaml)

ParameterTypeDescription
scenariostring

clab_devices_yaml

Generate a devices.yaml for a Containerlab lab. Creates a MCP-Telecom devices.yaml that connects to the management IPs of a containerlab deployment, so you can instantly start using MCP-Telecom against your lab. Args: scenario: Which lab scenario to generate for

ParameterTypeDescription
scenariostring

clab_scenarios

List available Containerlab test scenarios. Shows pre-built lab topologies you can deploy for testing MCP-Telecom without production network access.

start_dashboard

Get instructions to start the web dashboard. The dashboard provides a real-time view of all device statuses with auto-refreshing device cards. Requires: pip install mcp-telecom[dashboard] Args: port: HTTP port for the dashboard (default: 8080)

ParameterTypeDescription
portinteger

start_metrics_endpoint

Get instructions to start the Prometheus metrics exporter. Exposes /metrics endpoint for Grafana dashboards. Tracks device reachability, command execution counts, and compliance scores. Requires: pip install mcp-telecom[metrics] Args: port: HTTP port for Prometheus metrics (default: 9090)

ParameterTypeDescription
portinteger