Internet-Draft MCP for AIOps December 2026
Yue, et al. Expires 6 June 2027 [Page]
Workgroup:
OPSAWG
Internet-Draft:
draft-yue-opsawg-mcp-aiops-usecases-requirements-00
Published:
Intended Status:
Informational
Expires:
Authors:
S. Yue
China Mobile
G. Zeng
Huawei
C. Lin
New H3C
F. Yang
China Mobile

MCP for AIOps: Use Cases and Requirements

Abstract

Large Language Models (LLMs) and AI agents are becoming the primary consumers of network management data and the primary actors that drive operations, yet existing management interfaces do not expose network capabilities in a form that an autonomous agent can discover, invoke, and reason about safely.

This document presents a set of representative use cases for the Model Context Protocol (MCP) in AI-native network operations (AIOPS), and derives functional, security, and interoperability requirements from them.

Status of This Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."

This Internet-Draft will expire on 4 June 2027.

▲

Table of Contents

1. Introduction

The Model Context Protocol (MCP) [MCP] is a JSON-RPC 2.0 based protocol that exposes capabilities as Tools (invocable actions), Resources (readable state), and Prompts (reusable instruction templates), and supports capability negotiation, progress notifications, and resource subscription. By modeling a network element, or a gateway in front of it, as an MCP server and the agent or controller as an MCP client, network capabilities become first-class tools for AI agents.

This document organizes the representative operations of AIOPS into use cases (Section 3) and derives the corresponding requirements (Section 4). Deterministic, high-real-time operations such as atomic configuration commit or millisecond protection switching remain on the existing protocol stack (NETCONF [RFC6241], RESTCONF, or gNMI).

2. Conventions and Terminology

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.

The following terms are used with the meanings defined below.

Agent
An LLM-driven software component that interprets operator intent, plans a sequence of actions, invokes tools, and reasons over returned data.
MCP Host
The application that embeds the agent and one or more MCP clients. It mediates all communication between the agent and MCP servers.
MCP Client
The endpoint, inside the host or the controller, that connects to one MCP server, discovers the tools, resources, and prompts the server advertises, and carries the supported protocol version with each request.
MCP Server
The protocol endpoint that exposes Tools, Resources, and Prompts. In this document it runs on a network element (device-native), on a controller (controller-side), or on a proxy gateway in front of legacy devices.
Device-Native MCP
A deployment in which the MCP server executes on the network element itself and reaches the device operating system through internal interfaces, without an intervening protocol translation layer.
Subscription
An MCP mechanism by which a client registers interest in a resource and the server emits change notifications for it.

3. Use Cases

Each use case below states the operator intent, the MCP interaction, and the operational value. The use cases are illustrative and are not intended to constrain tool naming or resource layout.

The use cases are organized into five categories: fault management and troubleshooting, network measurement and audit, provisioning and configuration, network optimization, and security operations. Each category groups operator workflows that share the same interaction pattern and engineering constraints.

3.1. Fault Management and Troubleshooting

The two use cases in this category cover fault management end to end: first noticing that something changed, then driving diagnosis from a stated symptom to a verified root cause.

3.1.1. Intent-Based Troubleshooting

  • Intent. "Users on Floor 3 cannot reach the cloud application."

    For example, "diagnose a down BGP neighbor, 192.0.2.1 or 2001:db8::1."

  • Interaction. The agent interprets the intent and identifies the

    capabilities it needs: interface status, route lookup, ACL inspection, and an ICMP probe. It reads the relevant resources and invokes diagnostic tools across the affected devices. Where the controller is unreachable, or where a fault is visible only when two devices compare live data, adjacent devices MAY form a transient Device-to-Device (D2D) collaboration domain and correlate results locally. The agent correlates the returned data and produces an explainable hypothesis, for example: "ACL 'block_external' on Switch-F3 denies outbound traffic." Any remediation is presented for explicit approval before it is applied.

  • Value. Mean time to repair is reduced from tens of minutes of

    manual investigation to a few minutes of automated, topology-aware

    collection and correlation, and the root cause is expressed in terms an operator can verify.

3.1.2. Change-Aware Fault Notification

  • Intent. "Tell me as soon as any core switch raises an alarm or an

    uplink goes down."

  • Interaction. The agent subscribes, over a single long-lived

    connection, to the active-alarm resource and to interface and hardware state resources on the selected devices. When an alarm is raised or an interface changes state, the device emits a notification carrying the resource URI. The agent then reads the resource to obtain the alarm details or the interface state,

    correlates the change with topology and recent changes, and reports or acts.

  • Value. Fault awareness moves from polling to push. The agent

    learns about faults at the moment they occur rather than at the next poll, device and network load are reduced because no periodic polling is required, and the notification path stays lightweight because only the changed URI is pushed.

3.2. Network Measurement and Audit

These use cases establish ground truth about the network: continuous measurement of performance and alignment of the running configuration with the declared design intent.

3.2.1. Continuous Network Measurement

  • Intent. "Monitor end-to-end latency between all branch offices

    every five minutes and alert me if it exceeds 50 ms."

  • Interaction. The request is parsed into a recurring measurement

    task. Measurement tools (latency probes, interface-statistics collection, routing-table queries) are scheduled on the relevant edge routers. Structured results with timestamps, path information, and metadata are returned as resources. The agent compares the results against historical baselines and raises an alert or triggers remediation.

  • Value. Intent-defined observability is achieved without custom

    collectors or polling scripts, and the same framework serves capacity planning, topology discovery, and security-incident

    measurement.

3.2.2. Configuration Audit and Drift Detection

  • Intent. "Audit the running network against the declared

    design intent and flag any configuration drift."

  • Interaction. The operator declares the desired configuration

    state of a service as an MCP resource. The agent pulls the running configuration of each participating network element via resources/read and compares it with the declared state. The comparison is semantic, not line-based: the agent determines whether a difference affects behavior (for example, a change to a BGP local-preference attribute that alters path selection) or is only cosmetic. The audit may be scheduled or driven by a change-aware subscription, and the result is reported as a readable deviation report. After explicit human approval, fixes are applied through NETCONF transactions with automatic rollback, and the loop repeats until zero deviation is reported.

  • Value. Compliance validation moves from a quarterly human

    audit to continuous awareness; drift is caught before it affects service. The semantic comparison distinguishes real drift from harmless formatting differences, so operators no

    longer need to eyeball thousands of lines of configuration.

3.3. Provisioning and Configuration

These use cases change network state at scale from a single expressed intent, leveraging capability discovery and device-native tooling.

3.3.1. Capability Assembly Line Provisioning

  • Intent. "Onboard Site-9: apply the standard access template

    to all of its switches and routers, then verify reachability to the two upstream PEs."

  • Interaction. The agent discovers, through tools/list, which

    MCP tools each target network element exposes (apply_yang_ template, commit_config, verify_reachability), assembles the required sequence from the tool declarations, and executes it. In the device-native model the controller only routes the messages; template, schema, and verification logic live on the on-box MCP server, so a new device model is onboarded by the vendor through the same mechanism rather than through controller-side adaptation. The agent reports the outcome of each step as it completes and flags any step that requires human attention.

  • Value. New-device onboarding drops from two to six months of

    per-vendor integration work to nearly zero for MCP-native devices, and a single provisioning run drops from about two days of hands-on work to minutes. Capability follows the device: vendors no longer depend on controller-side

    adaptation.

3.3.2. Bulk Configuration

  • Intent. "Configure VLAN 100 as the server VLAN on all access

    switches in Building A."

  • Interaction. The agent discovers the target devices and their

    capabilities, generates the required configuration operations from tool declarations, and issues them through the MCP surface. The controller, in the device-native model, only routes the messages. The agent verifies the result by reading back state and produces a report.

  • Value. Work that previously required hand-written YANG templates,

    per-vendor adaptation, error handling, and per-device verification becomes a single expressed intent. The operator's effort drops by orders of magnitude, and the risk of syntax errors introduced under time pressure is removed. Because configuration changes are destructive, they are subject to the safety requirements in Section 4.1 and the consent requirements in Section 4.2.

3.4. Network Optimization

Optimization applies observed data to continuously improve

resource utilization while respecting service-level agreements.

3.4.1. Network Optimization

  • Intent. "Optimize WAN bandwidth utilization during business hours

    without violating SLAs."

  • Interaction. The optimizer agent collects real-time metrics such

    as bandwidth utilization and application QoS statistics. It simulates policy changes using sandboxed tools, and, after validation, applies the chosen policy through a guarded configuration tool. Post-change telemetry confirms SLA compliance.

  • Value. Continuous, data-driven optimization aligned with business

    intent, with manual tuning reduced.

3.4.2. Capacity Planning and Traffic Engineering

  • Intent. "The East-West backbone links are projected to exceed

    80 percent utilization within six months. Plan the capacity upgrade and the interim traffic-engineering adjustments that keep every link below its operational headroom."

  • Interaction. The agent pulls utilization trends from the

    network elements with read-only tools, correlates them with the topology, and validates candidate paths and headroom in a model or simulation before anything is changed. Only after

    approval does the agent hand the validated intent to a

    deterministic control plane (for example, PCEP or NETCONF) for reliable application.

  • Value. Capacity analysis becomes available on demand instead

    of waiting for a monthly manual report; path changes are executed only after their headroom has been validated. MCP manages "what to change and why" while the protocol layer manages "changing it reliably".

3.5. Security Operations

Security operations demand closed-loop response with full auditability of every action.

3.5.1. Incident Response

  • Intent. "Detect and isolate any device exhibiting abnormal

    outbound traffic patterns."

  • Interaction. The security agent reads flow-related resources and

    subscribes to security-relevant alarms. On detecting an anomaly,

    it gathers device information and connected-host data, and proposes a quarantine ACL. All actions are logged with signatures for compliance. The agent MAY also consult an external threat-intelligence MCP server.

  • Value. A closed-loop, real-time response is achieved while every

    action remains attributable and auditable.

4. Requirements

This section derives requirements from the use cases above. The key words MUST, MUST NOT, SHOULD, SHOULD NOT, and MAY are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals.

4.1. Functional Requirements

FR1 - Capability Exposure. Every network element or proxy acting as an MCP server MUST expose its management capabilities as MCP Tools (for actions) and MCP Resources (for state), mapped from the underlying protocols (NETCONF/YANG, RESTCONF, gNMI, CLI, SNMP).

FR2 - Semantic Self-Description. Tools and Resources MUST carry human- and machine-readable metadata (description, JSON-Schema input and output, units, valid ranges, version and model applicability) sufficient for an LLM to select and parameterize them without out-of-band knowledge. Description metadata SHOULD

be derived from the authoritative YANG model where one exists.

FR4 - Safety and Consent. Destructive or state-changing operations MUST require explicit user or policy consent, and MUST be distinguishable from read-only operations in the capability metadata.

FR5 - Progress and Asynchronous Completion. Long-running operations

(for example, packet capture, large-scale collection, or convergence waits) MUST support asynchronous execution with progress notifications and a terminal result, so that a client does not have to poll.

FR3 - Version and Model Awareness. A server MUST advertise the device model, software version, and supported capability set so that a client can avoid invoking capabilities that do not exist on a given device or version.

FR6 - Resource Subscription. A server SHOULD support subscription to resource change events. Subscription MUST be expressive enough to identify the resource of interest and the change semantics, and MUST NOT be required for capabilities whose data is append-only or high-frequency streaming.

FR7 - Notify-then-Fetch. A subscription notification SHOULD carry only the identity of the changed resource (a lightweight change trigger); the client then fetches the current state on demand. This keeps on-box notification traffic bounded and lets the client control data volume.

FR8 - Stateless Subscription Lifecycle. A subscription SHOULD be declarable within a single request and SHOULD NOT require the server to persist per-subscription state beyond the lifetime of the transport connection. Loss of the transport connection MUST

be treated as cancellation of the subscription, with associated

resources released.

FR9 - Context Correlation. The interface SHOULD allow a client to carry network-level context (scope, constraints, correlation identifiers) across a sequence of calls so that cross-device intent can be expressed without restating constraints in every request.

FR10 - Error Semantics. Errors MUST be reported with stable, machine-readable codes and actionable recovery guidance, distinct from transport errors, so that an agent can decide whether to retry, fall back, or escalate.

4.2. Security Requirements

SR1 - Authentication and Authorization. The MCP server MUST authenticate its MCP clients, enforce access control based on the authenticated identity, and distinguish resource read permissions from configuration modification permissions. All authorization events MUST be recorded in an audit log.

SR2 - Least Privilege and Node-Level Authorization. Authorization MUST be scoped to the minimal capability and, where the underlying model supports it, to the finest-grained data node (for example,

YANG node-level access control). A tool call MUST be checked

against the same authorization model as the equivalent native operation.

SR3 - Short-Lived Capability Tokens. Access SHOULD be granted with short-lived, narrowly scoped tokens bound to the authenticated channel, so that a leaked descriptor or token cannot be replayed or escalated.

SR4 - Auditability and Attribution. Every tool invocation and resource access MUST be recorded in an immutable audit trail that captures the requesting identity, the parameters, the outcome, and a correlation identifier linking the action to the agent's reasoning chain.

SR5 - LLM Isolation. Where an LLM drives the client, the LLM SHOULD be isolated from direct network reachability to devices, and all traffic SHOULD traverse the MCP client so that prompt-injection and unauthorized actions can be contained.

SR6 - Data Privacy. Resources that carry sensitive data MUST support redaction or tiered disclosure, and the server SHOULD advertise a privacy level that the client respects.

4.3. Interoperability and Operational Requirements

IR1 - Protocol Compliance. MCP implementations MUST follow the latest MCP specification.

IR2 - Coexistence with the Installed Base. MCP servers MUST coexist with NETCONF, RESTCONF, SNMP, and gNMI. Devices that do not

support MCP natively SHOULD be reachable through an MCP proxy gateway that presents them as MCP servers, so that a single agent-facing interface covers a heterogeneous network.

IR3 - Error Handling. For common fault modes (for example, "tool not supported" or "resource locked"), the server MUST provide clear error codes and recovery guidance, enabling the client to determine whether the failure is due to an unsupported capability, a transient condition, or a configuration conflict, and to take

the appropriate action.

IR4 - Device Footprint. A device-native MCP server MUST fit within the memory, CPU, and concurrency budget available alongside the forwarding plane, and MUST NOT degrade forwarding performance.

IR5 - Multi-Vendor Profile. The community SHOULD define a network MCP profile - a common naming, capability, and security convention - so that one implementation-independent client can manage devices from multiple vendors.

5. Security Considerations

The requirements in Section 4.2 are designed to mitigate risks inherent in AI-driven network control, including prompt injection, unauthorized configuration changes, privilege escalation through token or descriptor leakage, and data leakage through over-broad resource reads.

Two risks deserve emphasis. First, an agent that can chain multiple tool calls may compose a sequence whose net effect exceeds the privilege of any single call; authorization therefore needs to consider the operation, not only the individual capability. Second, an LLM is not a security boundary: critical operations MUST require human-in-the-loop confirmation or an equivalent policy gate, and must not rely on the model's own judgment of safety.

Subscription introduces its own considerations: an on-box

notification channel is a potential side channel, and a stateless "disconnect equals cancel" model must be paired with reliable

authorization of who may subscribe to which resources. Servers SHOULD limit the rate and scope of notifications and SHOULD avoid disclosing resource content in the notification itself.

6. IANA Considerations

This document has no IANA actions at this time.

7. References

[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, , <https://www.rfc-editor.org/info/rfc2119>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, , <https://www.rfc-editor.org/info/rfc8174>.
[MCP]
Anthropic, "Model Context Protocol Specification", , <https://modelcontextprotocol.io/specification/2026-07-28/>.
[RFC6241]
Enns, R., Bjorklund, M., Schoenwaelder, J., and A. Bierman, "Network Configuration Protocol (NETCONF)", RFC 6241, , <https://www.rfc-editor.org/info/rfc6241>.
[RFC7951]
Lhotka, L., "JSON Encoding of Data Modeled with YANG", RFC 7951, , <https://www.rfc-editor.org/info/rfc7951>.
[RFC7950]
Bjorklund, M., "The YANG 1.1 Data Modeling Language", RFC 7950, , <https://www.rfc-editor.org/info/rfc7950>.

Authors' Addresses

Shengnan Yue
China Mobile
Guanming Zeng
Huawei
Changwang Lin
New H3C
Feng Yang
China Mobile