Highlights •A molecularly imprinted graphene coated stainless steel sheets (MIGOCS) were synthesized.•MIGOCS can be used as a selective adsorbent and as a solid-substrate electrospray ion source.•A dual-use ionization source of mass spectrometry was developed for determination of trace carbamate pesticides.