Cursor notifications on your iPhone
Let the Cursor agent work while you step away. AgentAlarm sends your iPhone a notification when a long task finishes or stops with an error, and the agent can ring you like an alarm when you ask.
Free · iPhone with iOS 26 or later · Updated November 2, 2026

How it works
- Cursor runs hooks on
beforeSubmitPrompt(a task starts) andstop(it ends). The AgentAlarm hook sends “Cursor: task finished in my-app”, or “stopped with an error”. If you stop the agent yourself, nothing is sent. - It alerts only when you are away from the computer and the task ran at least 3 minutes.
- Cursor has no hook for “needs your decision”, so the plugin adds a rule that asks the agent to send a quiet notification before it stops to ask you.
Set it up with the plugin
- Install AgentAlarm on your iPhone. In the app, open Settings → Connected Agents → Connect to copy a one-time text.
- In a terminal:
npx agentalarm login "<the text copied from the app>" - In Cursor, open Customize → Plugins and install AgentAlarm from the Marketplace, or choose Import from Repo with
https://github.com/achubnet/agentalarm-plugins. - Ask the agent to “set up AgentAlarm”: its setup skill checks everything and sends a test alert.
Or add the hooks yourself
After npx agentalarm login, put this in ~/.cursor/hooks.json:
{
"version": 1,
"hooks": {
"beforeSubmitPrompt": [{ "command": "npx -y agentalarm hook cursor", "timeout": 15 }],
"stop": [{ "command": "npx -y agentalarm hook cursor", "timeout": 15 }]
}
}
A global install (npm i -g agentalarm, then agentalarm hook cursor) starts faster.
Let the agent ring you
Add the MCP server to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
{
"mcpServers": {
"agentalarm": { "url": "https://alarm.achub.net/mcp" }
}
}
Cursor opens a sign-in page the first time: approve it on your iPhone. Then ask “Ring me when the refactor is done”. The plugin already connects the same tools through npx agentalarm mcp with your login key, so add this URL only without the plugin.
Questions
Does Cursor notify me on my phone by itself?
Cursor can play a sound or show a notification on the computer. AgentAlarm brings it to your iPhone, and can ring like an alarm.
Does it send my code anywhere?
No. A hook alert is a short title with the project folder name and the task length. Read the Privacy Policy.
Is there an Android version?
Not yet. AgentAlarm is for iPhone with iOS 26 or later.
Is AgentAlarm made by Cursor?
No. AgentAlarm is made by an independent developer and is not affiliated with Anysphere.
