More The AI Native Dev episodes

Ten MCP Servers, Still Too Little Context | Birgitta Boeckeler thumbnail

Ten MCP Servers, Still Too Little Context | Birgitta Boeckeler

Published 24 Nov 2026

Duration: 01:03:20

Distinguishing between codified and ambient context, securing data pre-LLM, and using code as a reality source optimizes agent performance and reduces rework.

Episode Description

Context engineering starts with admitting that not all context is the same. Birgitta Boeckeler, now a principal engineer at Unblocked after almost 14...

Overview

The discussion centers on the critical distinction between "codified context" - deliberately authored, reusable instructions such as skills, agents.md files, and code review rules - and "ambient context," the dynamic environmental information drawn from Slack threads, PR discussions, commit history, and wikis. The speaker argues that treating all context as equivalent degrades agent performance because these two categories demand fundamentally different delivery mechanisms, versioning strategies, and quality controls. Codified context is treated almost as code, with versioning and evals, while ambient context is assembled just-in-time at task time.

A framework called CAFES (Clarity, Actionability, Fidelity, Efficiency, Security) from a Communications of the ACM article is introduced to evaluate context quality. Security is positioned as an overarching concern requiring deterministic filtering before context reaches the LLM, since the model cannot be trusted to enforce access rules. Conflict resolution between contradictory sources is addressed through signals such as recency, the current state of the code as a "source of reality," and expert graphs derived from commit history.

Practical challenges are explored: agents connected to multiple MCP servers may stop querying after the third server, losing relevant context from remaining sources; the planning phase benefits most from ambient context while implementation relies primarily on code access built into the harness; and the sources of ambient context are shifting from human-authored content toward agent-generated content, raising the risk of a feedback loop where low-quality context is indiscriminately amplified.

What If

  • What if you split your agent's context into two explicit buckets - codified and ambient - before your next sprint?

    • Move: Create a dedicated folder for versioned skills, agents.md, and code-review rules (codified), and a separate retrieval layer for Slack exports, PR histories, and wiki pages (ambient). Tag each item with its bucket and frequency-of-change.
    • Why Now? The speaker warns that prescriptive, frequently needed instructions left in ambient context may never surface reliably, while volatile environmental data baked into skills creates stale-information risk.
    • Expected Upside: A clearer delivery mechanism per bucket reduces the chance the agent ignores critical conventions or acts on outdated environmental data.
  • What if you add an explicit conflict-resolution prompt to your MCP-connected coding agent?

    • Move: Instruct the agent, before acting on retrieved context, to check recency metadata, compare against the current state of the code, and flag contradictions rather than silently picking one source.
    • Why Now? The speaker notes agents with multiple MCP servers may stop querying early and that the LLM alone is poor at precision and recall; a structured conflict check compensates for that weakness.
    • Expected Upside: Fewer wrong implementations caused by stale or contradictory context, particularly in areas where a README and a recent Slack thread disagree.
  • What if you run a CAFES-based self-review at the end of each agent coding session?

    • Move: Add a short reflection prompt asking the agent to score the context it used on Clarity, Actionability, Fidelity, and Efficiency, and to note any security concerns or unresolved conflicts.
    • Why Now? The speaker describes asking Claude Code and Codex to analyze past sessions for context impact, and notes that observability data alone is insufficient without qualitative reflection.
    • Expected Upside: A lightweight feedback loop that surfaces which context sources consistently mislead the agent, enabling targeted cleanup of codified rules or retrieval queries.

Takeaway

  • Separate your agent instructions into a versioned, eval-tested codified layer (skills, agents.md, review rules) and a just-in-time ambient layer (Slack, PRs, wiki), and never store frequently changing environmental data in the codified layer.

  • Add a deterministic pre-filter outside the LLM that enforces permissions and strips untrusted content before any context reaches the model, rather than relying on prompt-level guidance to prevent data leakage.

  • Instruct your agent to check recency metadata and the current state of the code whenever retrieved sources contradict each other, treating the repository as the primary arbiter for software-delivery conflicts.

  • Concentrate ambient-context retrieval effort on the planning and design phase, where surfacing prior team decisions and incident learnings has the highest impact, and rely on the harness's built-in code access during implementation.

  • Periodically audit your codified context (skills, rules, agents.md) for entries that have become stale or that duplicate information better served by the ambient layer, reducing the agent's signal-to-noise burden.

Recent Episodes of The AI Native Dev

10 Nov 2026 Edith Harbaugh: Code Is Cheap. The Last Mile Isn't.

Feature flags and AI agents transform software delivery by enabling autonomous rollbacks and rapid iteration, though human judgment remains vital for defining success and maintaining stability.

27 Oct 2026 Caleb Sima: AI Attackers Move at Machine Speed

"AI-driven cybersecurity threats are evolving rapidly, with attackers leveraging speed, complexity, and swarm-like behavior to exploit vulnerabilities, necessitating advanced defensive strategies like automation and high-fidelity monitoring to counter escalating risks."

13 Oct 2026 Maria Gorinova: Feedback Loops That Fix Your Codebase

"Software factories and agentic coding require robust feedback loops to balance efficiency, reliability, and human oversight, with structured workflows and clear intent improving automation outcomes."

More The AI Native Dev episodes