As artificial intelligence (AI) technologies continue to evolve, the complexity of managing contextual data across AI applications, tools, and systems has grown exponentially. The traditional approach of manually mapping and handling data integrations is no longer viable in today’s fast-paced, data-driven landscapes. Model Context Protocol (MCP) is a newly introduced standard designed to revolutionize context management for AI applications. Released by Anthropic in March 2024 and now fully supported starting with F5 BIG-IP v21. This protocol has further been enhanced in BIG-IP v21.1. MCP is poised to become the backbone for smarter, scalable, and more responsive AI systems.
In this article, we will explore the foundational concepts behind MCP, its importance to customers and AI systems, how F5’s BIG-IP supports and enhances MCP functionality, and what you will experience in the demo video that is linked in this article below. By the end of this article, you will understand why MCP is a critical enabler for AI workloads and how F5 BIG-IP ensures its seamless integration into your digital ecosystem
This article focuses on network MCP servers, which align with the F5 AI Reference Architecture components and the insertion point highlighted in green, as shown below:
What Is MCP?
Model Context Protocol (MCP) is an open-source standard designed to facilitate the dynamic discovery, retrieval, and contextualization of data for AI systems. In simple terms, MCP replaces the need for manual configuration when connecting AI models to diverse databases, APIs, third-party tools, and other resources. It allows AI systems to dynamically retrieve relevant data from connected integrations and MCP servers, enabling real-time context updates even across rapidly changing environments.
MCP operates on a server-client architecture, where MCP servers (representing tools, resources, or data sources) communicate with the AI system (client). MCP servers provide a uniform interface for understanding and interacting with external data, enabling AI systems to automatically query their capabilities, retrieve contextual information, and manage connections. This ensures efficient and scalable AI workflows, particularly as deployments grow in complexity.
Why Is MCP Relevant to Customers?
For businesses, MCP addresses the critical challenges of automating, scaling, and contextualizing data-driven workflows for AI applications. Here is why MCP matters:
- Seamless AI Context Management: AI systems often struggle to handle growing amounts of context, limited by their finite context windows. MCP ensures that the most relevant data is dynamically retrieved, intelligently utilized, and seamlessly managed for optimal output.
- Enables Agentic AI Systems: MCP empowers agentic AI systems, which are intelligent tools that proactively interact with their environments, dynamically access on-demand data, and adapt in real time to the evolving needs of users.
- Reduces Complexity for Scale: Without MCP, integrating AI models with various tools and data sources creates a complexity explosion often referred to as the “N x M problem.” Each tool must separately integrate with every data source. MCP eliminates this issue with centralized, standardized connections.
- Boosts ROI on AI Investments: By vastly reducing manual configuration and maintenance workloads, MCP minimizes downtime and operational costs, allowing enterprises to achieve greater returns on their AI solutions.
- Improves Data Integrity and AI Relevance: By dynamically updating contextual data from MCP servers, AI can deliver responses that are timely, accurate, and aligned with changing real-world conditions.
F5 BIG-IP and MCP
BIG-IP v21 introduces support for MCP, which is based on JSON-RPC. Over its lifecycle, the MCP protocol has gone through several iterations to refine communications between systems. For IP-based communication, the transport of JSON-RPC messages initially relied on HTTP+SSE transport, which is now considered a legacy. This transport mechanism has been completely replaced by the more advanced Streamable HTTP transport, though SSE is still utilized when streaming multiple server messages.
In practical terms, integrating MCP into F5 BIG-IP is simplified. Regardless of the MCP version, organizations only need to enable the JSON and SSE profiles within the Virtual Server configuration to handle MCP seamlessly. Here’s how this is achieved:
Attaching the Necessary Profiles to the Virtual Server
By enabling these profiles, users automatically gain basic protocol validation. More importantly, these profiles empower the system to handle MCP messages using JSON and SSE-oriented events and functions. This capability extends to parsing and manipulation of MCP messages while enabling the performance of critical traffic management tasks such as load balancing and rate limiting.
Profile Settings
Next, the available parameters for these profiles can be configured to tailor the system to specific requirements, such as limiting the size of various message parts. While the provided default settings are sufficient for most scenarios, organizations can fine-tune these parameters based on their unique needs.
How Does F5 BIG-IP v21 Support MCP?
In F5 BIG-IP v21, MCP functionality is enhanced to address traffic management, load-balancing, and intelligent communication across AI-driven applications and their supporting tools. This support is a natural evolution of F5’s leadership in secure application delivery while enabling dynamic contextual workflows for AI. Here is how:
- Load Balancing Traffic to MCP Servers
The foundation of MCP’s success relies heavily on efficient and reliable communication with MCP servers, which act as gateways to various resources and tools (databases, external APIs, third-party services, etc.). F5 ensures optimized load balancing, whereby traffic to MCP servers is intelligently distributed to prevent bottlenecks. Features include:
- Local traffic manager: Ensures user traffic is routed to the most responsive MCP server, resulting in improving responsiveness.
- Real-Time Anomaly Detection: Monitors MCP traffic for disruptions and dynamically reroutes traffic to maintain performance during failures or anomalies.
- Integrating AI Agents with External Tools
Agentic AI systems often require seamless collaboration with external ecosystems like databases, DevOps pipelines, or regulatory frameworks. BIG-IP v21 enhances these integrations through:
- Policy-Driven Access Control: Provides AI agents with secure yet flexible access to MCP-compliant resources while safeguarding sensitive data and preventing unauthorized activity.
- Scaling AI Workflows with Hybrid and Multicloud Environments
With MCP’s emphasis on scalable workflows across growing application environments, F5 extends support for:
- Distributed Context Synchronization: Manages and synchronizes MCP server data across hybrid cloud deployments to ensure uniform AI-driven responses, even across diverse infrastructures.
- Efficient Multicloud Operations: BIG-IP v21 ensures that AI contexts remain accurate and consistent when workloads span multiple cloud providers.
Enhanced Features in F5 BIG-IP v21.1: MCP Session Persistence
With BIG-IP v21.1, F5 introduces MCP Session Persistence as a native feature of its Local Traffic Manager (LTM). This innovation ensures reliable, scalable, and stateful MCP workflows, simplifying operations and reducing manual sticky-session configurations.
MCP workflows often require requests to be routed consistently to the same server to avoid “session lost” errors and maintain continuity. While this was initially introduced in BIG-IP v21 through custom iRules, BIG-IP v21.1 introduced the MCP persistence profile, which natively handles session routing similar to cookie persistence functionality
How MCP Session Persistence Works
When an MCP server issues a session ID to a client, subsequent traffic linked to that session ID is automatically routed to the same pool member (server). This dramatically improves the reliability of MCP workflows by ensuring consistent session handling, even in complex multi-server environments.
MCP Persistence Benefits Overview with BIG-IP v21.1
- Reliable and Scalable MCP Workflows:
-
- Ensures MCP-based LLM agent sessions return to the same server, avoiding session interruptions and maximizing uptime.
- Support for Scale-Out and Performance:
Facilitates server pooling and autoscaling without losing per-session context, enabling increased throughput and operational efficiency.
MCP Profile Overview
BIG-IP’s MCP Profile makes it simple for organizations to enable stateful session persistence for MCP traffic. Administrators can configure the MCP persistence profile alongside their JSON and SSE profiles to streamline Virtual Server setup.
Screenshot – MCP Profile Configuration in BIG-IP v21.1
Video Demo Highlights: MCP in Action with BIG-IP v21 & v21.1
Curious to see how F5 BIG-IP leverages MCP in real-world scenarios? Here’s what our exclusive video demo includes:
Our video provides a hands-on demonstration of BIG-IP v21 & v21.1 MCP capabilities
The demo showcases:
- Setting up a BIG-IP virtual server with the 3 profiles: json, sse & aimcp
- Configuring MCP servers on Server1 and Server2
- Generating MCP traffic from the client machine.
Don’t miss this comprehensive walkthrough of how BIG-IP integrates with and powers MCP workflows.
Conclusion
The exponential rise of AI systems has introduced new challenges in managing contextual data, but the Model Context Protocol (MCP) addresses these obstacles with a groundbreaking approach for scalable, standardized data integration. Paired with the robust BIG-IP v21 & v21.1 platform, MCP revolutionizes how AI applications manage context across workloads, tools, and integrations.
From load-balancing MCP server traffic to powering agentic AI interactions and enabling cloud-ready scalability, F5 continues to lead the charge in enabling seamless AI workflows across enterprise environments. Empowered by F5 technologies, organizations can confidently scale their AI-driven solutions while maintaining optimal security, reliability, and performance.
Ready to learn more?
Watch the demo video now and unlock the full potential of MCP in your AI workflows. Explore related resources below to dive even deeper into this transformative capability!
Further Reading:
- Model Context Protocol Overview
- Scaling MCP in BIG-IP Next for Kubernetes
- Managing Model Context Protocol in iRules - Part 3
- Managing Model Context Protocol in iRules - Part 1 | DevCentral
- Managing Model Context Protocol in iRules - Part 2 | DevCentral
- F5 MCP(Model Context Protocol) Server | DevCentral
- Agentic AI with F5 BIG-IP v21 using Model Context Protocol and OpenShift




