MCP Servers Protection
Overview
The Model Context Protocol (MCP) is an emerging open standard that allows AI applications, such as LLM-powered assistants and autonomous agents, to connect to external tools, APIs, and data sources. Adoption of MCP is growing rapidly, making MCP servers a new and significant attack surface for online threats.
DataDome offers dedicated protection for MCP servers, providing real-time detection and blocking of malicious traffic, as well as full visibility into agentic activity targeting your MCP infrastructure.
Integration
DataDome protects MCP servers through both dedicated and generic server-side integration modules. The modules collect MCP-specific signals that enrich DataDome's detection models, enabling more accurate identification of anomalous behavior on MCP endpoints.
Several options are available depending on your stack:
Compatible server-side modules
MCP support is available in the following modules. Upgrade to at least the minimum version, then enable MCP support where the module requires it.
| Module | Minimum version |
|---|---|
| FastMCP (Python) / Python ASGI | 1.2.1 |
| AWS CloudFront (Node.js) | 1.25.0 |
| Cloudflare Worker | 2.3.0 |
| Fastly CDN (VCL) | 2.29.0 |
| Fastly Compute | 1.4.0 |
| Magento (Fastly) | 1.2.247 |
Note: Modules not listed here do not extract MCP signals. MCP traffic they forward is still protected as standard HTTP traffic, but MCP-specific fields (method, tool, client) will not appear in your dashboards.
Agentic Protocol Traffic Source
To ensure MCP traffic is clearly identified and separable from other traffic types in your dashboards, DataDome introduces a dedicated Agentic Protocol traffic source. This allows you to filter, analyze, and configure policies specifically for traffic directed to your MCP servers, independently of other endpoint types.
Endpoint Usages
Within the Agentic Protocol traffic source, traffic is further categorized by its usage, matching the standard endpoint classification used across DataDome:
- General
- Login
- Cart
- Account Creation
- Payment
- Forms
The endpoint types are available across all DataDome dashboards, including the Endpoints overview, Explore, Access Control, and Custom Rules, enabling you to apply policies and investigate traffic at the granularity of specific MCP interaction types.
Visibility and Analytics
Once the integration is in place, agentic traffic directed to your MCP servers is immediately visible in the DataDome dashboard:
- Endpoints overview: a dedicated Agentic Protocol section displays traffic volume broken down by traffic usage and endpoint name.
- Explore: MCP traffic can be filtered and grouped using the
Traffic SourceandTraffic Usagedimensions, alongside all other available filtering dimensions. - Custom Rules: custom rules can target Agentic Protocol traffic specifically, enabling granular policy enforcement on MCP endpoints using any combination of the 60+ available traffic characteristics.
- Trend Reports: attack notifications and trend reports include Agentic Protocol endpoint data, ensuring your reporting reflects MCP traffic alongside your other protected surfaces.
Protection
All of DataDome's detection capabilities apply to MCP traffic out of the box:
- AI agent identification: agents interacting with your MCP server are identified using the same layered approach as for web traffic, including cryptographic verification, trusted IP lists, and fingerprinting.
- Intent-based protection: DataDome's ML-powered intent detection models analyze every MCP request to detect and block malicious activity, including vulnerability scanning, credential stuffing, abusive scraping, and other threats.
- Access control: policies configured in Access Control apply to Agentic Protocol endpoints. You can define agent-level, endpoint-level, and custom rule-level policies specifically for your MCP infrastructure.
Note: to benefit from the full depth of DataDome's detection on MCP traffic, both the server-side MCP module and the standard client-side DataDome tag should be installed. See Prerequisites for details.
Updated 16 days ago

