Skip to main content
SAICA-KG

Papers

NetMCP: Network-Aware Model Context Protocol Platform for LLM Capability Extension

Enhan Li, Hongyang Du, Kaibin Huang · 2025 · arXiv

Source →arXiv:2510.13467DOI: 10.48550/arXiv.2510.134674 citations
MCPbenchmark

TL;DR

Results show that SONAR consistently improves task success rate and reduces completion time and failure number compared with semantic-only, LLM-based baselines, demonstrating the value of network-aware design for production-scale LLM systems.

Abstract

Large Language Models (LLMs) remain static in functionality after training, and extending their capabilities requires integration with external data, computation, and services. The Model Context Protocol (MCP) has emerged as a standard interface for such extensions, but current implementations rely solely on semantic matching between users'requests and server function descriptions, which makes current deployments and simulation testbeds fragile under latency fluctuations or server failures. We address this gap by enhancing MCP tool routing algorithms with real-time awareness of network and server status. To provide a controlled test environment for development and evaluation, we construct a heterogeneous experimental platform, namely Network-aware MCP (NetMCP), which offers five representative network states and build a benchmark for latency sequence generation and MCP server datasets. On top of NetMCP platform, we analyze latency sequences and propose a Semantic-Oriented and Network-Aware Routing (SONAR) algorithm, which jointly optimizes semantic similarity and network Quality of Service (QoS) metrics for adaptive tool routing. Results show that SONAR consistently improves task success rate and reduces completion time and failure number compared with semantic-only, LLM-based baselines, demonstrating the value of network-aware design for production-scale LLM systems. The code for NetMCP is available at https://github.com/NICE-HKU/NetMCP.

Editorial notes

Builds NetMCP, an experimental MCP testbed over five representative network states, and proposes SONAR (Semantic Oriented and Network Aware Routing), an MCP tool-routing algorithm that jointly optimizes semantic similarity and network QoS. Demonstrates that semantic-only routing leaves task success and latency on the table when MCP servers degrade or fail. Relates to SAICA-KG failure modes: incomplete_execution, cascading_failure. Useful as a production-engineering anchor: even when the agent reasons correctly, infrastructure-layer faults propagate as task-level failures, which informs the supervision boundary between tool-call layer and agent layer. Code at github.com/NICE-HKU/NetMCP.

View raw YAML on GitHub →