On selected portal areas and teamsite pages in Sharepoint you’ll get that link “Add to My Links”. This link will append an entry of the current url to your MySite “My Links” list. However this feature is not availible on logical locations like the WSS Team Site default.aspx.
This is easy to work around. The script you need to call is PortalPinToMyPage in the ows.js script