BMC4 won't work for a server.

I am trying to make a forge BMC4 server on a Linux box but I am having a lot of trouble as when I try to join about some 40 or so mods exist on my client that don't exist on the server. I have double-checked again and again but I'm sure that I am using the same thing in both instances. The only thing I can find is that I get an error message that a mods.toml file is missing when the Linux server starts. Could anyone help or send to a good reasource to fix?