I am new to using cursor - around 20 hours hands on - so I may have just missed this if it exists already.
Context: I am working on a one shot prompt for Cursor Agent aimed at reliably reading an issue from Github, executing the changes, and issuing the commit. The aim is to have something which succeeds around 90% of the time for very simple issues / enhancements.
Goal: Integrating CursorAI with Github actions so that i can assign these easy tickets to my CursorAI agent and have the one shot prompt executed automatically so I can get code fixed just by assigning the issue to the agent user.
Requirement: I want to be able to programmatically issue the prompt to Cursor in Agent mode - I am thinking this would either be through an API - or it could even just be by allowing a command line parameter to cursor which would automatically issue a prompt upon startup and then close upon completion.
I like the idea of using the same tool for my AI-assisted development and my fully AI-automated development. I want to use the same rules, mcps etc.. I want to be able to view the chat history if i need to.
Are there any plans for something like this - or is anyone aware of how to do this already?