I am using MusiXTeX but have found that it's official document haven't said anything about placing a right-side bracket onto a chord. Could anyone please tell me how to achieve it? (If I use left-side bracket, it could across through those accidental markers. Nobody want to see that happen.)

Include this code anywhere before and try using
\rbracketinstead of\bracket.