class

McpTagger

Inherits Tagger < Reference < Object

Constants

LEGACY_MESSAGE_SEGMENTS = ["message", "messages"]
LEGACY_SSE_SEGMENT = "sse"

Instance methods

perform(endpoints : Array(Endpoint))

The per-endpoint shape: look at each endpoint, tag in place, hand the array back. Taggers declare only check_endpoint; those that need a pass over the whole set first (a project pre-scan, mcp's legacy prefixes) override perform and call super or loop themselves.

Source