Class GrouperMcpAdminSearchConfigs

java.lang.Object
edu.internet2.middleware.grouper.ws.mcp.GrouperMcpAdminSearchConfigs

public class GrouperMcpAdminSearchConfigs extends Object
MCP admin tool for searching configuration properties across Grouper config files. Supports two search modes: 'lucene' (default) for full-text search using a Lucene index, and 'regex' for Java regex matching against config key names. Sensitive values (passwords, secrets, etc.) are masked. Optionally filter by a specific config file.
  • Constructor Details

    • GrouperMcpAdminSearchConfigs

      public GrouperMcpAdminSearchConfigs()
  • Method Details

    • toolDefinition

      public static com.fasterxml.jackson.databind.node.ObjectNode toolDefinition()
      return the MCP tool definition for admin_config_search
      Returns:
      the tool definition as a Jackson ObjectNode
    • execute

      public static com.fasterxml.jackson.databind.node.ObjectNode execute(com.fasterxml.jackson.databind.JsonNode arguments, GrouperMcpAuthUser authUser)
      execute the admin_config_search tool
      Parameters:
      arguments - the tool arguments from the MCP request
      authUser - the authenticated user
      Returns:
      the MCP tool result