In the bowl of a food processor, pulse mushrooms until fine; set aside.
In a medium skillet over medium heat, melt butter. Add shallots and cook for 1 minute. Add garlic and sauté for 1 minute as well. Add mushrooms and season with salt and pepper; sauté the ingredients for 3 minutes.
Add white wine, increase the heat to high and bring to a boil. Reduce heat back to medium and simmer until liquid is evaporated and the mixture is a paste, about 13 to 15 minutes, stirring often. Add chives or thyme, stir well and serve. Yields 1 cup.