If you’re hoping to squad up with friends across Call of Duty 4: Modern Warfare (2007) and Call of Duty: Modern Warfare Remastered (2016), you’re out of luck. Cross-play between the two versions is impossible.
Everyone needs the same version. For modern online play, that means Modern Warfare Remastered (often bundled with Call of Duty: Modern Warfare 2 Campaign Remastered or sold separately). For a nostalgia trip on PC, look into community projects like IW4x or Cod4x—but those only work with other modded clients.
Bottom line: two games, two eras, no cross-play. Pick one version and rally your squad there.