';
printf( '
%s
', esc_html__( 'WordPress Abilities', 'acrossai-mcp-manager' ) );
if ( ! $enabled ) {
printf(
'',
esc_html__( 'Server is disabled.', 'acrossai-mcp-manager' ),
esc_html__( 'Enable the server on the Overview tab to expose these abilities to MCP clients. You can still curate the exposure set below — your selection will take effect the moment the server is enabled.', 'acrossai-mcp-manager' )
);
// Fall through — the picker is still editable while the server is
// disabled so the operator can prepare the exposure set in advance.
}
// The add-on promo that used to sit here is gone — see ToolsTab for why.
if ( ! function_exists( 'wp_get_abilities' ) ) {
printf(
'',
esc_html__( 'The WordPress Abilities API is not available on this installation.', 'acrossai-mcp-manager' )
);
echo '';
return;
}
printf(
'',
(int) $server['id'],
esc_attr( (string) ( $server['server_slug'] ?? '' ) ),
esc_html__( 'Loading abilities…', 'acrossai-mcp-manager' )
);
echo '';
}
}