Jadwal Sholat

Memuat jadwal sholatโ€ฆ

Ilmu Komputer & AI editorial

Open AccessOA2026

Scalable LLM Agent Tool Access in the Cloud

A cloud-scale gateway for MCP services that breaks the direct-connect model, consolidates incompatible MCP variants, and scales agent tool access to 3,000+ tools with 98% Top-15 recall
Mingxin Li; Enge Song; Yueshang Zuo; Xiaodong Liu; Rong Wen; Qiang Fu; Gianni Antichi; Jian He; Jing Tie; Zhou Shao; Xiaobo Xue; Xiong Xiao; Luyao Zhong; Shaokai Zhang; Jiangu Zhao; Jianyuan Lu; Shize Zhang; Xiaoqing Sun; Changgang Zheng; Zihao Fan; Haonan Li; Tian Pan; Xiaomin Wu; Yang Song; Xing Li; Biao Lyu; Meng Li; Haipeng Dai; Guihai Chen; Shunmin Zhuยท 2026ยท DOI 10.48550/arXiv.2607.15593

The core problem

LLM agents increasingly rely on tool calling to act on external systems, and the Model Context Protocol (MCP) has quickly become its de facto interface. Operating MCP at cloud scale, however, becomes difficult. On the tool provider side, legacy services are not directly callable through MCP; the rapid protocol development also creates ongoing compatibility cost. On the agent side, the number of accessible tools is limited by the LLM context window and inference overhead; mounting a large tool set increases token usage and inference latency and can reduce task success rate. Moreover, for stateful MCP backends with multiple replicas, preserving session affinity increases client-side complexity. This paper addresses these challenges by presenting a cloud-scale gateway system for MCP services. The gateway breaks the direct-connect model on the data plane and offloads legacy service integration, consolidating incompatible MCP variants, access control, tool recommendation, and session-aware routing to the gateway. The authors evaluate the system's performance and share lessons learned from deploying it in production.

Innovation

The evaluation of the cloud-scale MCP gateway demonstrates significant improvements in scalability and efficiency. Key quantitative results include:

- **Tool access scale**: The gateway scales agent tool access to 3,000+ tools with high tool selection accuracy. This addresses the limitation imposed by LLM context windows and inference overhead.
- **Tool selection accuracy**: Hybrid retrieval sustains 98% Top-15 recall. This means that in 98% of cases, the correct tool is among the top 15 recommended tools.
- **Tool selection time**: Reduced by compared to baseline. This reduction is critical for real-time agent interactions.
- **Token usage**: Reduced by . Lower token usage directly translates to lower inference costs and faster response times.
- **Per-call overhead**: Low per-call overhead, ensuring that the gateway does not become a bottleneck.
- **Scalability**: Stable under scale-out, meaning that performance does not degrade as the system grows.

These results are summarized in the following table:

| Metric | Baseline | Gateway | Improvement |
|--------|----------|---------|-------------|
| Tool selection time | | | reduction |

LLM agents increasingly rely on tool calling to act on external systems, and the Model Context Protocol (MCP) has quickly become its de facto interface. Operating MCP at cloud scale, however, becomes difficult. On the tool provider side, legacy services are not directly callable through MCP; the rapid protocol development also creates ongoing compatibility cost. On the agent side, the number of accessible tools is limited by the LLM context window and inference overhead; mounting a large tool set increases token usage and inference latency and can reduce task success rate. Moreover, for stateful MCP backends with multiple replicas, preserving session affinity increases client-side complexity. This paper addresses these challenges by presenting a cloud-scale gateway system for MCP services. The gateway breaks the direct-connect model on the data plane and offloads legacy service integration, consolidating incompatible MCP variants, access control, tool recommendation, and session-aware routing to the gateway. The authors evaluate the system's performance and share lessons learned from deploying it in production.
The proposed system is a cloud-scale gateway for MCP services. Its architecture introduces a gateway layer that mediates between LLM agents and MCP tool providers. The gateway offloads several critical functions from both sides:

Why it matters

The paper's findings highlight the effectiveness of a centralized gateway approach for managing MCP services at cloud scale. The gateway breaks the direct-connect model, which is a key architectural decision that enables centralized control and optimization. By offloading legacy service integration, the gateway allows legacy services to be used by LLM agents without modification, extending the reach of agent capabilities. Consolidating incompatible MCP variants reduces the compatibility burden on both tool providers and agent developers, which is crucial in a rapidly evolving protocol landscape.

The hybrid retrieval mechanism achieving 98% Top-15 recall is a significant result. It suggests that even with thousands of tools, agents can efficiently discover the right tool. The reduction in tool selection time and reduction in token usage directly address the inference overhead and context window limitations. These improvements are likely due to the gateway's ability to filter and recommend tools before they are presented to the LLM, reducing the number of tools the LLM needs to consider. This is analogous to a retrieval-augmented generation (RAG) approach but applied to tool selection.

Session-aware routing for stateful MCP backends with multiple replicas is another important contribution. It preserves session affinity without increasing client-side complexity, which simplifies the agent's implementation and ensures consistent state across interactions. This is particularly important for tools that maintain state, such as databases or session-based services.

The system's stability under scale-out is critical for cloud deployment. As the number of agents and tools grows, the gateway must maintain performance. The low per-call overhead ensures that the gateway does not introduce significant latency.

The authors also share lessons learned from deploying the gateway system in production. While the abstract does not detail these lessons, they likely include operational challenges, best practices for integration, and performance tuning. These insights are valuable for practitioners looking to implement similar systems.

In comparison to alternative approaches, such as direct tool calling or client-side tool management, the gateway approach offers centralized management, better scalability, and reduced client complexity. However, it also introduces a single point of failure and potential latency if not properly scaled. The paper's results suggest that these concerns are mitigated by the gateway's design.

Future work could explore further optimizations in tool recommendation, such as incorporating user feedback or learning from agent interactions. Additionally, extending the gateway to support other protocols beyond MCP could be beneficial. The taxonomy candidates for this paper include Architecture, Cybersecurity, Network, and Cryptography, reflecting its focus on system design, secure access control, network routing, and potentially cryptographic protocols for secure communication.

Who should read this

CS practitioners and researchers

Opening member contentโ€ฆ