MCP as nervous system: bidirectional context flow
At L5, MCP is no longer just a protocol for giving agents access to tools - it is the real-time information backbone that connects every part of the software delivery system.
- ·MCP operates as a bidirectional nervous system: production data flows to agents, agent actions flow to production
- ·Full production loop: Production -> MCP -> Agent -> Code -> Deploy -> Production
- ·Agent-to-Agent Protocol (A2A) and MCP are combined for multi-agent coordination
- ·MCP latency for context delivery is under 500ms P95
- ·A2A protocol enables agents to discover and delegate to other agents without human configuration
Evidence
- ·MCP configuration showing bidirectional data flow (production to agent, agent to production)
- ·End-to-end production loop traces (anomaly detected, agent invoked, fix deployed)
- ·A2A protocol configuration showing agent-to-agent communication channels
What It Is
At L5, MCP is no longer just a protocol for giving agents access to tools - it is the real-time information backbone that connects every part of the software delivery system. The metaphor of a nervous system is apt: just as the nervous system carries signals bidirectionally between the brain and the body, MCP carries context bidirectionally between production systems and the agents that operate on them. Production events flow into agent context through MCP; agent decisions flow back into production systems through MCP. The loop is continuous and autonomous.
Bidirectional context flow means that information moves in both directions along the MCP connection - not just agent-queries-system but also system-notifies-agent. The MCP specification supports server-sent notifications: an MCP server can push context to a connected agent when relevant events occur, rather than waiting for the agent to poll. A production anomaly detected by the monitoring system pushes a notification to the incident response agent, which immediately begins investigation using the same MCP connection. The agent doesn't poll; it receives and responds.
This is distinct from the earlier maturity levels where MCP was primarily read-on-demand. At L3 and L4, agents query MCP servers when they need information - reactive, pull-based access. At L5, MCP servers push relevant context to agents proactively - systems signal to agents that attention is needed. The production environment actively communicates its state to agents, and agents actively communicate their actions back to the production environment. The software system becomes self-aware in a meaningful engineering sense.
The practical implementation involves MCP servers that subscribe to event streams from production systems and forward relevant events to connected agents. A metrics anomaly detection system that previously sent an alert to PagerDuty now also sends the anomaly context to an agent via MCP notification. The agent receives the same structured data that the alerting system sees, reasons about it, and either resolves it autonomously or escalates with a complete context summary that makes human intervention faster.
Why It Matters
- Eliminates human as signal router - at L4 and below, a human typically reads a production alert and then copies the relevant context into an agent session; bidirectional MCP removes this routing step entirely
- Reduces mean time to response - agents that receive production events the moment they occur, with full structured context, begin investigation in seconds rather than the minutes or hours it takes a human to triage and open an agent session
- Creates an always-on operational intelligence layer - agents connected to production event streams maintain continuous situational awareness; they see patterns across many events that would require a human to correlate manually
- Enables proactive rather than reactive operations - agents receiving leading indicators (memory pressure trending upward, request queues growing) can take action before a threshold is breached, preventing incidents rather than responding to them
- Makes the production system and the AI system a coherent whole - at this level, there is no meaningful separation between "the production system" and "the AI system"; MCP is the connective tissue that makes them one integrated system
Getting Started
- Implement MCP notification support - ensure your MCP servers use the protocol's notification capability (
notifications/messagefor server-to-client) to push events to connected agents. If you're using existing MCP servers, check whether they support notifications or only support request-response. - Define the event taxonomy - not all production events should go to agents. Define which event types are agent-relevant: anomalies, threshold breaches, deployment completions, test failures, security events. Filter aggressively - too many events overwhelm agents; too few events limit situational awareness.
- Connect your event streaming infrastructure - production events typically flow through systems like Kafka, Kinesis, or a monitoring system like Datadog or Prometheus. Build MCP servers that subscribe to these event streams and translate events into MCP notifications. The translation layer handles formatting, filtering, and routing.
- Build event-driven agent workflows - design agent workflows that are triggered by incoming MCP notifications rather than user invocations. An anomaly notification arrives; the agent begins a structured investigation workflow; the workflow has defined decision points (investigate further, escalate, remediate autonomously). These workflows should be state-machine-like: deterministic, auditable, and bounded.
- Implement feedback channels back to production - agents that receive production events should be able to write back to production systems: acknowledge alerts, update dashboards, create incidents, post status updates. Ensure these write-back capabilities are governed by the RBAC controls established at L3.
- Monitor the feedback loop quality - measure how often event-triggered agent workflows complete successfully versus escalate to humans. Track the false positive rate (agents triggered by events that don't require action) and the missed event rate (events that required action but didn't trigger an agent). Tune the event taxonomy and agent decision logic based on these metrics.
Start with a single production event type and a single agent workflow before building a comprehensive event-driven architecture. A complete bidirectional flow for one event type (say, "deployment completed" triggering a smoke test agent) is more valuable than a half-implemented connection for ten event types.
Common Pitfalls
Creating event feedback loops that destabilize the system. An agent that receives a high CPU alert, responds by scaling up instances, which triggers another CPU alert from the scale-up, which triggers another scale-up, is in a positive feedback loop. Design agent workflows with explicit dampening: don't trigger on the same event type within N minutes of a previous trigger, require human confirmation for actions that can cascade.
Not rate-limiting event delivery to agents. Production systems can generate thousands of events per minute during incidents. An agent receiving an unfiltered event stream during an incident is overwhelmed - it can't process events faster than they arrive. Implement rate limiting and event aggregation at the MCP server level: group similar events, summarize bursts, and deliver coherent context rather than raw event streams.
Underestimating the context window consumption of continuous event feeds. Each event delivered to an agent consumes context window space. An agent in a long-running session that receives many events will eventually exhaust its context window. Design event-driven workflows to use bounded context: process each event in a fresh context, or implement explicit context management that summarizes and compresses historical events.
Building bidirectional flow before you trust the write capabilities. The bidirectional model requires that agents can write back to production systems without human approval for each write. This requires the authorization infrastructure (RBAC, audit logging) from L3/L4 to be solid. Don't build bidirectional MCP on a weak authorization foundation - the risk profile is too high.
How Different Roles See It
Bob's team currently responds to production incidents by receiving an alert, manually gathering context from multiple monitoring tools, opening an agent session with that context, and asking the agent to help diagnose the issue. This process takes 15-30 minutes before the agent is even contributing to the investigation. Bob wants to cut that time dramatically.
What Bob should do: Bob should fund a proof-of-concept for event-driven agent incident response. The target: when a production alert fires, an agent automatically receives the full alert context via MCP notification and begins a structured investigation - querying logs, checking recent deployments, identifying anomaly patterns - before a human has even acknowledged the alert. The agent's investigation summary is ready when the on-call engineer opens their incident channel. The PoC doesn't need to resolve incidents autonomously; it just needs to do the first 10-15 minutes of investigation automatically. This time savings compounds across every incident, and the structured investigation summaries improve the quality of human incident response even when the agent doesn't resolve the issue autonomously.
Sarah wants to measure the impact of moving from reactive to proactive operations - agents that respond to events rather than waiting to be invoked. She needs a before/after framework that captures the productivity and reliability improvements.
What Sarah should do: Sarah should instrument the current state before building the bidirectional infrastructure. Measure: median time from alert firing to agent session started (currently 15-30 minutes for most teams), median time from agent session started to root cause identified, and rate of incidents resolved without escalation. After deploying event-driven agent workflows, measure the same metrics. The expected outcome: time to agent involvement drops from 15+ minutes to under 1 minute; root cause identification time improves because the agent starts with structured context rather than assembled context; resolution rate without escalation increases because the agent has more time and better context. These three metrics make the case for the bidirectional MCP investment to engineering leadership and finance.
Victor has built agent workflows that are triggered manually - he invokes an agent and provides context. He wants to make his most common agent workflows event-driven: automatically triggered when specific conditions occur, without requiring him to notice the condition and manually start a session.
What Victor should do: Victor should pick one high-frequency agent workflow he currently triggers manually and build an event-driven version. The ideal candidate: a workflow he triggers multiple times per day in response to a specific, identifiable event (a test failure, a deployment completion, an error rate spike). He builds an MCP server that subscribes to the relevant event source, translates events into MCP notifications, and triggers his standard agent workflow automatically. He runs this in parallel with his manual workflow for two weeks: does the automated version trigger correctly? Does it produce equivalent results? After validation, he removes the manual trigger. Victor then documents this pattern as the template for event-driven agent development - how to identify automatable trigger events, how to build the notification MCP server, and how to validate that automated triggers are well-calibrated.
Further Reading
From the Field
Recent releases, projects, and discussions relevant to this maturity level.
Where does your team actually sit on this?
This guide describes one level of one area. Run the assessment to place your team across all 16 areas, see which gates you have passed, and get a report you can take to your stakeholders.
MCP & Tool Integration