How can automate material creating?

I have folder contains my textures. With help of node-wrangler addon i can create material in shader editor. But i have lot of folder/textures. (they have correct name for node wrangler. Base Color, Metallic, Roughness etc.)

My current workflow: In Blender new material > Ctrl+Shift+T > Chose Folder > Save file. After that right click and save material to connecter library. (Yes i use connecter for library)

I want create material library. Dont want do this process by one by. How can i automate this process? Any idea?