A cleaner version of cursor-auto-free.
- Email Handling: Supports automatic temp mail and bring-your-own-mailserver.
- Captcha Handling: Requires manual Turnstile Captcha validation (twice).
Ensure you have the following installed before running the script:
- Cursor (obviously)
- Google Chrome (or any other chromium-based browser compatible with
zendriver
) - uv
Also ensure that you have admin/sudo permissions on the system you're running the script on. The script requires those to reset your Cursor machine ID.
- Tested on: Windows 11, Debian-based Linux
- Preferred Cursor version: Above 0.45.0
Copy the example configuration file:
cp .env.example .env
- In
.env
, set:USE_TEMPMAIL=True
- Leave the other fields empty.
- In
.env
, set:USE_TEMPMAIL=False
- Provide IMAP credentials of your self-hosted mail server. We recommend using docker-mailserver as it's the one of the most lightweight and easy to manage solutions.
- Ensure
postfix-regexp.cf
rules capture emails sent to addresses following{EMAIL_ADDRESS_PREFIX}{random_letters}@DOMAIN
. So, if your domain isexample.com
, and your EMAIL_ADDRESS_PREFIX iscur
, then the line should be:/^cur[a-zA-Z0-9]*@example.com/ [email protected]
Run the following command:
uv sync
Once setup is complete, start the script using:
uv run main.py
It will then start the browser and begin the signup process.
You will need to manually click on the Turnstile Captcha twice.
After that is done, the sign up process will be completed automatically.
- This script is not affiliated with Cursor or its developers.
- It modifies your system registry and file system—use with caution.
- The author is not responsible for any system damage or service-related issues.
- This script is provided for educational purposes only.