DevForge-MCP: An Empirical Study of Repository-Aware Tooling for LLM-Based Software Engineering

Large language model (LLM)-based software-engineering agents interact with live repositories through iterative tool calls, making the design of repository-access interfaces a critical systems question. Conventional filesystem and shell primitives offer low isolated latency, yet expose minimal architectural structure and require multiple round trips per information need. We present DevForge-MCP, an open-source Model Context Protocol (MCP) server integrating indexed lexical and symbol-level retrieval, symbol-scoped editing, static code review, Git operations, and project memory across forty-four tools in seven categories. We evaluate navigation latency, end-to-end information-gathering cost, context exposure, scalability, edit safety, and agent-level behavior across synthetic repositories (50–10,000 files) and real JavaScript, TypeScript, and Python projects (chalk, ky, and Flask). Although filesystem/grep access achieved lower isolated server-side latency at every scale (p < 0.05), DevForge-MCP reduced end-to-end information-gathering cost by 3.6–6.2× on chalk (1.44× on ky), cut estimated context-token exposure by up to 6.0×, and scaled 43.1× more gently with repository size. Controlled index ablations showed that persistent cache reuse does not consistently outperform per-call index rebuilding, indicating that single-round-trip information density drives the speedup. Independent AST verification further demonstrated that syntactic validity does not guarantee semantic correctness in lexically scoped editing, exposing comment-bleed, signature, and target-ambiguity failures, whereas a paired comparison with LSP-backed Serena (10 sessions, exact Wilcoxon p = 0.001953) showed DevForge-MCP was faster on five of six operations while Serena excelled at cross-file reference lookup. Repository-access mechanisms must therefore be evaluated across interaction efficiency, context economy, and semantic edit safety together.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-23
DOI
https://doi.org/10.5281/zenodo.24462164
Primary Topic
Software Engineering Research
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

DevForge-MCP: An Empirical Study of Repository-Aware Tooling for LLM-Based Software Engineering

Sanket Shakya
Zenodo (CERN European Organization for Nuclear Research)
Software Engineering Research
preprint

DevForge-MCP: An Empirical Study of Repository-Aware Tooling for LLM-Based Software Engineering

Sanket Shakya
preprint en

Abstract

Large language model (LLM)-based software-engineering agents interact with live repositories through iterative tool calls, making the design of repository-access interfaces a critical systems question. Conventional filesystem and shell primitives offer low isolated latency, yet expose minimal architectural structure and require multiple round trips per information need. We present DevForge-MCP, an open-source Model Context Protocol (MCP) server integrating indexed lexical and symbol-level retrieval, symbol-scoped editing, static code review, Git operations, and project memory across forty-four tools in seven categories. We evaluate navigation latency, end-to-end information-gathering cost, context exposure, scalability, edit safety, and agent-level behavior across synthetic repositories (50–10,000 files) and real JavaScript, TypeScript, and Python projects (chalk, ky, and Flask). Although filesystem/grep access achieved lower isolated server-side latency at every scale (p < 0.05), DevForge-MCP reduced end-to-end information-gathering cost by 3.6–6.2× on chalk (1.44× on ky), cut estimated context-token exposure by up to 6.0×, and scaled 43.1× more gently with repository size. Controlled index ablations showed that persistent cache reuse does not consistently outperform per-call index rebuilding, indicating that single-round-trip information density drives the speedup. Independent AST verification further demonstrated that syntactic validity does not guarantee semantic correctness in lexically scoped editing, exposing comment-bleed, signature, and target-ambiguity failures, whereas a paired comparison with LSP-backed Serena (10 sessions, exact Wilcoxon p = 0.001953) showed DevForge-MCP was faster on five of six operations while Serena excelled at cross-file reference lookup. Repository-access mechanisms must therefore be evaluated across interaction efficiency, context economy, and semantic edit safety together.

Zenodo (CERN European Organization for Nuclear Research)
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon