read endpoint from mcaprc file