---
id: gk-foundation-abilities-products
title: "Filter - gk/foundation/abilities/products"
sidebar_label: "gk/foundation/abilities/products"
tags:
  - "1.23.0"
---

# Filter: gk/foundation/abilities/products

Filters the GravityKit product declarations.

Each product declares its product-level ability data in one payload: the MCP tool-name prefix and the ability categories (product category and scope subcategories) to register. Foundation contributes no declarations of its own.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $products | `array` | Product declarations keyed by product slug (e.g. <code>gravityview</code>). Each declaration is an array: |
| ↳ $mcp_prefix | `string` | Short MCP tool-name prefix (e.g. <code>gv</code>). Required — a missing prefix triggers _doing_it_wrong() and the full product slug is used as a fallback. |
| ↳ $categories | `array` | Optional. Ability categories to register, keyed by slug; each entry has <code>label</code> and <code>description</code>. |

### Since

- 1.23.0

### Source

Defined in `Abilities/Manager.php` at line 117

