I wish to use it on a form so I'd prefer it if I could use a method (I have a doubt, I don't know if I need to use the __invoke method only when you have an invokable controller) so that I can pass that into my form's action, how can I do that?
When registering routes for single action controllers, you do not need to specify a controller method.
use App\Http\Controllers\ProvisionServer;
Route::post('/server', ProvisionServer::class);