Skip to content
Book Open access

MCP-Focus: Leveraging Function-Oriented Document Enhancement for MCP Server Retrieval

Jul 2026 · Annual International ACM SIGIR Conference on Research and Development in Information Retrieval · pp. 701-711 · 0 citations · 41 references
Computer Science

TL;DR

Experiments across multiple dense retrievers show that fine-tuning with MCP-Focus-enhanced documents consistently improves retrieval effectiveness over baseline document methods on multiple benchmarks.

Abstract

Model Context Protocol (MCP) has emerged as a practical standard for connecting LLM-based agents with external tools and services through MCP servers. Driven by the open-source community, the MCP ecosystem is rapidly expanding, resulting in a large and growing collection of third-party MCP servers. Accurately selecting MCP servers that satisfy functional requirements from many candidates, therefore, becomes an increasingly important problem. However, MCP server documents are often unstructured and exhibit ambiguous function semantics, making it difficult to align user requirements with server capabilities during retrieval. To address this issue, we propose MCP-Focus, a function-oriented document enhancement framework that produces retrieval-ready MCP server documentation via a multi-stage agentic pipeline for white-box code analysis and document generation. Specifically, MCP-Focus first extracts a comprehensive tool inventory with metadata, then refines tool-level descriptions grounded in each extracted tool's implementation, and finally aggregates the refined tool descriptions into a structured server-level overview as the retrieval document. To better evaluate MCP server retrieval, we construct a benchmark comprising 3k+ open-source MCP servers and human-guided queries that vary in semantic ambiguity, input-output specificity, and the number of involved function points. Experiments across multiple dense retrievers show that fine-tuning with MCP-Focus-enhanced documents consistently improves retrieval effectiveness over baseline document methods on multiple benchmarks. Code and data: https://github.com/JingWC/MCP-Focus.

Read PDF

Similar papers

Preprint Aug 2026

Hybrid Semantic Tool Discovery for Enterprise MCP Gateway: Architecture and Implementation

This work presents SCOUT (Selective Context Optimization for Universal Tooling for Universal Tooling), which reframes tool exposure as a context-selection problem, injecting only tools relevant to the current step, and reduces MCP tool-token consumption by 99%, cutting per-query inference cost at enterprise scale.

Olympia Saha, Amy Wang, Srinivasan Manoharan · 0 citations
Preprint Oct 2026

Understanding the Hierarchical Structure and Functional Landscape of the Model Context Protocol Ecosystem

AI agents increasingly rely on tools exposed through the Model Context Protocol (MCP) to complete user tasks. Hundreds of thousands of MCP servers are listed across marketplaces, yet they are organized only by coarse, marketplace-specific server categories. This makes it difficult for agents and users to identify tools...

Ting-Xuan Tang, Zi-Long Chen, Yue Xiao · 0 citations
Open access Sep 2026

LLM and MCP driven e-commerce assistant over graph databases

Traditional e-commerce search-and-filter interfaces often lead to high cart abandonment rates due to rigid keyword matching and complex navigation. This paper presents an architecture for conversational e-commerce that integrates large language models (LLMs), Model Context Protocol (MCP) servers, and a Neo4j graph data...

Andrii Baran, I. Spivak, S. Krepych · 0 citations

TransForm: Dynamic Format Selection for MCP Tool Outputs in Agentic Data Systems

TransForm is presented, a control/data-plane split in which MCP returns a small envelope plus a machine-readable descriptor, and large payloads are delivered over stream-able HTTP as JSON, Parquet, or Arrow IPC (blob or chunk stream).

Shashank Mukkera, Chun-Wei Liu · 0 citations
Aug 2026

Boundary-aware tool routing framework for large language models in vertical domains scenarios

Experiments in a personalized apparel design scenario show that BATR enhances the accuracy of knowledge boundary detection and improves tool invocation stability compared with baseline methods, demonstrating improved controllability and reliability in the evaluated apparel-design tasks.

Hai-Long Zhang, Xin Shi, Hui-Juan Chen et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.