From e8561c2c9bce2679b567671c21ef002dfe98b4f6 Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Fri, 9 Oct 2026 16:39:53 +0000 Subject: [PATCH] feat(mcp): Add flag for Seer translation in search_events Gates the MCP search_events tool's use of Seer search agent translation so it can be rolled out gradually. Exposed via the API because the MCP server reads it from the organization's feature list. Co-Authored-By: Dominik Buszowiecki <44422760+DominikB2014@users.noreply.github.com> --- src/sentry/features/temporary.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sentry/features/temporary.py b/src/sentry/features/temporary.py index 2be354950012..0440b0905c72 100644 --- a/src/sentry/features/temporary.py +++ b/src/sentry/features/temporary.py @@ -171,6 +171,8 @@ def register_temporary_features(manager: FeatureManager) -> None: # Extract variables from native crash debug info (DWARF/PDB) manager.add("organizations:native-variable-extraction", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True) manager.add("organizations:mcp-issue-view-attribution", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=False) + # Use Seer search agent translation for natural-language queries in the MCP search_events tool. Read by the MCP server, so it must be exposed. + manager.add("organizations:mcp-search-events-seer-translate", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True) # Extract on demand metrics manager.add("organizations:on-demand-metrics-extraction", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True)