Add MCP attach_scan_profile GraphQL tool for custom flows

What does this MR do and why?

Add MCP attach_scan_profile GraphQL tool for custom flows

The tool wraps securityScanProfileAttach GraphQL mutation, maps profile/project/group IDs into mutation input.

Related to Implement `attach_security_profile` MCP tool (#604690).

Testing locally

Run the following commands on Rails console;

project = Project.last
profile = project.root_namespace.security_scan_profiles.create!(name: "SAST (default)", scan_type: :sast)

profile.to_global_id.to_s # Get the global ID of the profile
project.to_global_id.to_s # Get the global ID of the project

Screenshots

Screenshot_2026-07-07_at_17.16.40

Edited by Mehmet Emin INAC

Merge request reports

Loading