is there a way using gmp to get all the nvts ?
Please use a new thread when you are requesting support for a distinct issue.
You can use python-gvm, specifically the get_nvts() function. Since you will need to use the filter ignore_pagination=1.