Cursor webhooks upon chat/composer completion

Hi everyone,

I’m wondering if it’s possible to set up a webhook that triggers upon chat/composer completion in Cursor. My goal is to receive a desktop notification as soon as the task is done.

Has anyone implemented this functionality before? If so, could you share any insights or pointers (perhaps even a sample webhook payload) on how to achieve it? Alternatively, is this something that’s planned for future releases?

Thanks for any help or guidance!

There’s no official webhook support in Cursor right now, but I’ve heard some users have created unofficial tools that make a sound notification when generation is complete.

If you’re specifically looking for desktop notifications, that’s not built in yet - but feel free to suggest it as a feature here!

Would love to find out if there are any similar tools, I scoured the web but couldnt find any.

A user posted this, no idea if it works as it’s a user-made project, so we cannot guarantee the security or performance of this:

Thanks kind sir!

I made a fork to fix it, it seems to be outdated with the new cursor chat combination changes!