What I see in the MCAD API it is possible to export and import BOM tables. There are different formats supported (Excel, csv, txt, etc.).
This can be done per document or for all drawings of a folder.
Do you have a sample drawing ? And with which version of AutoCAD Mechanical do you work ?
regards
Markus