Myeloid cell H2Kb controls NASH associated hepatic CD8+ T cell activation. Here, CD8A is linked to metabolic dysfunction-associated steatohepatitis.