Snap cap membrane electrode