can cursor be scripted? E.g. to automate code reviews and integrate in CI?

Hi Cursor Team

Is there a way to automate/script Cursor for use in CI and automate tasks like Github pull requests reviews?
If yes, do you have examples? If not – why and do you plan to implement in the near future?

BTW – asked Cursor itself and it spun the code below but I cannot find cursor_api python package anywhere. Is it hallucinating?

The question is related to an urgent project so your prompt response will be very appreciated

Thanks in advance