First install any and all dependencies, listed below. The instructions for doing so can be found on their respective homes.
Clone this project somewhere, with the following:
git clone git://github.com/conceited-drudge/mamp-controller.sugar.git ./MAMP-Controller
Open MAMP-Controller.xcodeproj and click Build.
Close Espresso and reload, the sugar should be installed and functional.
Simply start the via Actions -> MAMP.
You can edit the MAMP-Controller.sugar/TextActions/Actions.xml file and add a custom start page. By default, it will use whatever is configured in MAMP (i.e. /MAMP/). Simply specify something under the tag in the OpenStartPage action. This is a relative path to the MAMP apache instance.
If you have MAMP installed in a place other than /Applications/MAMP you will need to adjust the Actions.xml and change pathForMAMP for each action as well.
The content in this sugar is public domain. A mention would be cool someplace if you do use it for anything cool though.
Nicholas 'drudge' Penree http://conceitedsoftware.com