Skip to content

AAK-TRANSPORT-003: Deprecated SSE transport in use

Severity
MEDIUM
Category
Transport Security (transport-security)
Scanner
agent_audit_kit/scanners/transport_security.py
Auto-fixable
No.
SARIF name
McpDeprecatedSse

What it detects

An MCP server uses deprecated Server-Sent Events (SSE) transport instead of Streamable HTTP. Applies to: sse only -- matched from an explicit "type": "sse" or "transport": "sse" (any case), or a /sse path in the URL. Does not apply to: stdio, http/streamable-http, or ws/wss. WebSocket is a different transport, not a deprecated one: it is outside this rule rather than silently passing it.

How to fix

Migrate to Streamable HTTP transport (MCP spec 2025-03-26+).

To confirm the finding is gone, report only this rule:

agent-audit-kit scan . --rules AAK-TRANSPORT-003

Limitations

Fires once per server, on a type or transport key set to sse in any case, or else on a url that contains /sse as a whole word (/sse_events does not count). A server that names SSE only under another key, such as transportType, at a URL without a whole-word /sse is not matched.

References


All rules. This page is generated from the rule registry when the documentation is built; to change it, change the rule in agent_audit_kit/rules/builtin.py. To give the rule a hand-written write-up, add docs/rules/AAK-TRANSPORT-003.md: the page then shows that text, with the registry reference appended under it.