Retirement tax questions

Yes, the taxable portion of Soc Sec is part of your AGI.  See Form 1040, lines 6b and 11.

MAGI has different definitions for different purposes.  Why specifically are you asking?

2020 Form 1040 (irs.gov)