Cursor Hooks not detected

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

(I’m on Cursor 1.8 though it also happened on Cursor 1.7).

I saw the announcement of the new hooks feature and I’m eager to try it out.

Despite having the .cursor/hooks.json file in my project directory, restarting Cursor, I don’t see any ‘configured hooks’ being detected. Moreover, I don’t see an output channel for “Hooks” anywhere, leading me to believe the hooks service isn’t being started.

Am I missing a configuration setting, or is this being slowly rolled out?

Steps to Reproduce

  1. Create .cursor/hooks.json with something minimal like this:

{
“version”: 1,
“hooks”: {
“afterFileEdit”: [
{ “command”: “sh -lc ‘echo "$(date +%Y-%m-%d %H:%M:%S) - afterFileEdit" >> .cursor/hooks.log’” }
],
“stop”: [
{ “command”: “sh -lc ‘echo "$(date +%Y-%m-%d %H:%M:%S) - stop" >> .cursor/hooks.log’” }
]
}
}

  1. Restart Cursor

  2. Navigate to Hooks tab in Cursor settings, see no configured logs

  3. Observe no “Hooks” channel in output.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.8.0-pre.11.patch.1
VSCode Version: 1.99.3
Commit: 27be27a6c959a12724e76abb49ea107f782619f0
Date: 2025-10-01T16:16:43.780Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

1 Like

I just restarted Cursor a few hours later and now I’m seeing the service start up.

In the logs it shows
[2025-10-01T21:38:17.781Z] Project hooks disabled (experiment flag not enabled)

but user and enterprise hooks seem to be working, so that’s good enough for me!

1 Like

Thank you @vrv kindly for your post and finding the solution by yourself. Currently the hooks are a user/team level feature. We are testing project level hooks and will share once we can release it

Im still having trouble with the hooks. At Output [ Hooks ] it appears:

[2025-10-14T18:30:20.282Z] Reloading hooks configuration…
[2025-10-14T18:30:20.452Z] No enterprise hooks configuration found
[2025-10-14T18:30:21.118Z] Loaded 1 user hook(s) for steps: beforeSubmitPrompt
[2025-10-14T18:30:21.118Z] Project hooks disabled (experiment flag not enabled)
[2025-10-14T18:30:21.118Z] Cursor Hooks Service initialized successfully

I did not configure this beforeSubmitPrompt hook, and mine does not appear.

I have this at my ./cursor/hooks.json:

{

  “version”: 1,

  “hooks”: {

  “afterFileEdit”: [

    {

      “command”: “./hooks/lint-format.sh”

    }

  ]

}

But i think that it is not properly configured. What sould I do?

Actually I think project hooks are not available yet. Do you have an estimate time to ship it?

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.