Skip to main content

Filter: gk/block-mcp/mcpb/manifest

Customize the Claude Desktop .mcpb bundle before it's packaged.

This is the full manifest the user downloads and double-clicks to connect Claude Desktop. Hook in to make the connection your own: set a branded display name and description, add custom user_config fields, or pin a specific server entry for an enterprise deployment. The credentials that were just minted are passed alongside so you can tailor the bundle to the exact account it's being built for.

Parameters

NameTypeDescription
$manifestarray<string,mixed>The generated .mcpb manifest array.
$credsarray<string,string>The credentials the bundle is built for.

Example

// White-label the bundle your users see in Claude Desktop.

add_filter( 'gk/block-mcp/mcpb/manifest', function ( $manifest, $creds ) {
$manifest['display_name'] = 'Acme Content Assistant';
$manifest['description'] = 'Edit acme.com content from Claude.';
return $manifest;
}, 10, 2 );

Since

Source

Defined in wordpress-plugin/gk-block-api/includes/class-mcpb-generator.php at line 135