Based on my research on how mRNA vaccines (specifically for COVID-19) work:
An mRNA sequence, that contains the sequence of the coronavirus spike protein, is absorbed by some cells. These cells now produce foreign coronavirus spike protein. These cells then present some of the produced foreign spike protein on their surface via MHC I complexes so that they can activate a cytotoxic T cell and cause it to produce lots of copies of itself (cell-mediated immune response). Some of the foreign spike proteins are also released from the transfected cells which allow for B cells to activate a humoral immune response and for professional antigen-presenting cells to present the foreign spike protein on MHC II complexes to activate helper T cells.
As far as I understand it, once a cytotoxic T cell encounters a cell that has a foreign protein presented on an MHC I complex, the T cell kills the cell that has presented the foreign protein before it leaves. This means the cells transfected with mRNA through the COVID-19 vaccine (even though a coronavirus hasn't actually hijacked them) will eventually be killed by cytotoxic T cells that encounter them since they are presenting foreign spike proteins on their surface. Is this not toxic for the body since it is killing your own cells? Or does the fact that the mRNA sequences are not self-replicating contain these cell deaths to only the transfected cells and only a few cells die in this process so that the vaccine is not toxic overall?