Mind the Metrics: Patterns for Telemetry-Aware In-IDE AI Application Development using the Model Context Protocol (MCP)
Abstract
AI development environments are evolving into observability first platforms that integrate real time telemetry, prompt traces, and evaluation feedback into the developer workflow. This paper introduces telemetry aware integrated development environments (IDEs) enabled by the Model Context Protocol (MCP), a system that connects IDEs with prompt metrics, trace logs, and versioned control for real time refinement. We present design patterns for local prompt iteration, CI based optimization, and autonomous agents that adapt behavior using telemetry. Rather than focusing on a single algorithm, we describe an architecture that supports integration with frameworks like DSPy, PromptWizard, and Prompts as Programs. We demonstrate this through Opik, an open source MCP server for LLM telemetry, and position our approach within the emerging LLMOps ecosystem. This work lays a foundation for future research on prompt optimization, IDE agent tooling, and empirical benchmarking in telemetry rich AI development workflows.
Cite
@article{arxiv.2506.11019,
title = {Mind the Metrics: Patterns for Telemetry-Aware In-IDE AI Application Development using the Model Context Protocol (MCP)},
author = {Vincent Koc and Jacques Verre and Douglas Blank and Abigail Morgan},
journal= {arXiv preprint arXiv:2506.11019},
year = {2025}
}
Comments
16 pages, 5 figures, conference preprint submission. Conceptual systems architecture paper on telemetry-driven prompt optimization and IDE design patterns for AI development. Builds on Opik MCP open-source architecture and Comet trace infrastructure