arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.22633cs.NIcs.AI
收藏

MCP-Diag:一种确定性的、基于协议的架构用于AI原生网络诊断

MCP-Diag: A Deterministic, Protocol-Driven Architecture for AI-Native Network Diagnostics

Indian Institute of Technology Gandhinagar(印度理工学院加尔各答分校)

Devansh Lodha, Mohit Panchal, Sameer G. Kulkarni

AI总结:

MCP-Diag通过确定性翻译层和强制性 elicitation循环,实现高精度的AI原生网络诊断,提升实体提取准确性和上下文token使用效率。

摘要:

将大型语言模型(LLMs)整合到网络操作(AIOps)中受到两个根本性挑战的阻碍:一是随机性问题,即LLMs难以可靠地解析非结构化的、特定供应商的CLI输出;二是安全间隙,即授予自主代理shell访问权限。本文介绍了MCP-Diag,一种基于模型上下文协议(MCP)的混合神经符号架构。我们提出了一种确定性的翻译层,将标准工具(dig、ping、traceroute)的原始stdout转换为严谨的JSON模式,再进行AI处理。我们进一步引入了强制性的

英文摘要:

The integration of Large Language Models (LLMs) into network operations (AIOps) is hindered by two fundamental challenges: the stochastic grounding problem, where LLMs struggle to reliably parse unstructured, vendor-specific CLI output, and the security gap of granting autonomous agents shell access. This paper introduces MCP-Diag, a hybrid neuro-symbolic architecture built upon the Model Context Protocol (MCP). We propose a deterministic translation layer that converts raw stdout from canonical utilities (dig, ping, traceroute) into rigorous JSON schemas before AI ingestion. We further introduce a mandatory "Elicitation Loop" that enforces Human-in-the-Loop (HITL) authorization at the protocol level. Our preliminary evaluation demonstrates that MCP-Diag achieving 100% entity extraction accuracy with less than 0.9% execution latency overhead and 3.7x increase in context token usage.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑