> For the complete documentation index, see [llms.txt](https://notara-1.gitbook.io/notara-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notara-1.gitbook.io/notara-docs/connectors/cursor.md).

# Cursor

Launch and manage Cursor background agents — trigger AI coding tasks on a GitHub repository and get a PR back — from Slack.

## What It Enables

| Tool                     | Capability    | Description                                                  |
| ------------------------ | ------------- | ------------------------------------------------------------ |
| `launch_agent`           | `write`       | Launch a Cursor background agent to write code and open a PR |
| `get_agent_status`       | `read`        | Check the current status of a running agent                  |
| `list_agents`            | `read`        | List recent and running agents                               |
| `add_followup`           | `write`       | Send additional instructions to a running agent              |
| `stop_agent`             | `destructive` | Pause a running agent (can be resumed with add\_followup)    |
| `delete_agent`           | `destructive` | Permanently delete a Cursor agent                            |
| `get_agent_conversation` | `read`        | Get the full conversation history of an agent                |
| `list_repositories`      | `read`        | List accessible GitHub repositories (rate-limited: 1/min)    |
| `get_cursor_info`        | `read`        | Get information about the API key in use                     |

`launch_agent` and `add_followup` require approval by default. `stop_agent` and `delete_agent` require destructive confirmation.

## Setup

**Required:** Cursor API key

**Where to find it:** [cursor.com/settings → API](https://www.cursor.com/settings)

1. In the Notara dashboard, go to **Tools**.
2. Click the **Cursor** tile.
3. In your Cursor account settings, generate an API key.
4. Paste the key into the credential field and click **Verify & Save**.

Your API key is encrypted at rest with AES-256-GCM.

## Example Prompts

> "Launch a Cursor agent on github.com/acme/api to add rate limiting to the /users endpoint."

> "What's the status of Cursor agent abc123?"

> "List all running Cursor agents."
