You can run this command in a shell from the directory that you want to get the names of the folder into a csv.
find . -maxdepth 1 -type d -name "MA*" | sed 's|./||' > folder-names.csv
What this does is it looks for any directories ('-type d') within your current location ('.') that start with 'MA' ('-name "MA"')*. The '-maxdepth 1' part just means we're only looking at the top level, and not diving down into subdirectories.
Once those directories are found, we strip out the './' at the beginning of each folder name using 'sed', and then we put all of these names into a file called 'folder-names.csv'