Model Context Protocol (MCP) scanning with DAST

DAST supports automatic and manual exploration of Model Context Protocol (MCP) servers and their tools. The scan report lists the security findings.

When a web scan discovers an MCP server, AppScan also reports an informational issue that identifies the server.

Note:
For automatic MCP scanning, use a scan template (.scant) created in the latest version of AppScan Standard. The template contains the scan configuration. An AI provider must be enabled for your HCL AppScan on Cloud organization.

Exploration methods

  • Automatic Explore: AppScan discovers the tools that the MCP server makes available and uses AI to explore them. The scan uses the collected traffic during security testing.
  • Manual Explore: The scan uses MCP interactions recorded with an external client such as Postman. For Postman-based recordings, use Postman 11.42.3 or later.

Configuration considerations

Both exploration methods support Streamable HTTP. Legacy HTTP+SSE, WebSocket, and STDIO transports are unsupported.

For MCP protocol revision 2026-07-28, each request carries metadata about the protocol version, identity, and capabilities. Revision 2025-11-25 and earlier establish a session with an initialize handshake.

Postman cannot export collections that contain MCP requests, so a Postman collection cannot supply recorded MCP traffic.

Authentication

For a server that requires authentication, the scan configuration must include a recorded login sequence. For OAuth 2.0, the scan can use a refresh token. Authentication that requires a user prompt is unsupported.

For a server that uses MCP-Session-Id, the login recording must include the initialize request so that AppScan can track the session.