Fix MCP tools checkbox visibility for Premium groups

What does this MR do and why?

Earlier, the MCP checkbox in the GitLab Duo settings page was being shown based on the ai_features check. But ai_features is available only for the Ultimate tier. Because of this, customers on the Premium tier were not able to see the MCP checkbox.

This MR changes that check from ai_features to ai_catalog. Since MCP is part of the AI Catalog, it should be available on all tiers where the AI Catalog is available.

This issue was reported by a customer who is on the Premium tier and could not see the MCP checkbox. See the related conversation in Slack

References

Screenshots or screen recordings

Before After
Checkbox was not visible image

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading