# Cursor for Raycast

URL: https://www.raycast.com/degouville/cursor-recent-projects

> Search and open recent projects in the Cursor AI code editor, open Finder items in Cursor and install or manage Cursor extensions.

- Install: raycast://extensions/degouville/cursor-recent-projects
- Author: [Mathieu de Gouville](https://www.raycast.com/degouville)
- Installs: 50,640
- Platforms: macOS, Windows
- Categories: Applications, Developer Tools, Productivity
- Updated: 2026-11-21
- Source: https://github.com/raycast/extensions/tree/6b4e7ad2bc4c17b32082f0597981086b2617e4a6/extensions/cursor-recent-projects/

## Commands

- **Search Recent Projects**: Search and open recent projects from Cursor.
- **Open with Cursor**: Opens the currently selected Finder or File Explorer item with Cursor.
- **Open New Window**: Opens a new Cursor window.
- **Show Installed Extensions**: Manage Installed Extensions
- **Install Extension**: Install Extensions from the Cursor Marketplace
- **Show Active Workspaces**: Show currently active Cursor windows and workspaces

## README

### Cursor

Control Cursor directly from Raycast

[![raycast-cross-extension-badge]][raycast-cross-extension-link]

![Cursor screenshot](https://github.com/raycast/extensions/raw/6b4e7ad2bc4c17b32082f0597981086b2617e4a6/extensions/cursor-recent-projects//metadata/cursor-1.png)

#### What is this extension

- Search Cursor Recent Projects
- Use `Open With Cursor` command
- Use `Open New Window` command
- Show Active Workspaces across all macOS Spaces and focus their windows
- Show Installed Extensions list
- Search & Install Extension from VSCode Marketplace
- Reach and search the Cursor Documentation in an instant right from Raycast without any hassle.

#### Windows

All commands work on Windows with Cursor's default (per-user or system-wide) installation.

- `Open with Cursor` uses the File Explorer window you were in before opening Raycast: it opens the selected items, or the current folder when nothing is selected.
- Some File Explorer and window features are provided by a small PowerShell helper (`assets/windows-helper.ps1`).

#### API

This extensions follows [Raycast Cross-Extension Conventions][raycast-cross-extension-link].

You can use `crossLaunchCommand` to use its result.

##### Launch Context Options

###### `cursorDirectory`

This parameter is designed for the [Cursor Directory](https://raycast.com/escwxyz/cursor-directory) extension.

Type: `{ruleContent: string; replace?: boolean}`

- `ruleContent` is required for this feature.
- `replace` default to `true`. It determines whether to replace or append rule content.

##### Launch Example

```js
import { open } from "@raycast/api";
import { corssLaunchCommand } from "raycast-cross-extension";

await crossLaunchCommand({
  name: "index",
  extensionName: "cursor-recent-projects",
  ownerOrAuthorName: "degouville",
  type: LaunchType.UserInitiated,
  context: {
    cursorDirectory: {
      ruleContent: "foo bar",
      replace: false,
    },
  },
}).catch(() => {
  // Open the store page if the extension is not installed
  open("raycast://extensions/degouville/cursor-recent-projects");
});
```

#### How to add to the extension

##### Bugs and suggestions

Suggestions are always welcome and can be added [via Github Issues](https://github.com/raycast/extensions/raw/6b4e7ad2bc4c17b32082f0597981086b2617e4a6/extensions/cursor-recent-projects//<https://github.com/raycast/extensions/issues/new?title=%5BCursor%5D+...&template=extension_bug_report.yml&labels=extension,bug&extension-url=https://www.raycast.com/degouville/cursor-recent-projects&body=%0A%3C!--%0APlease+update+the+title+above+to+consisely+describe+the+issue%0A--%3E%0A%0A%2523%2523%2523+Extension%0A%0Ahttps://raycast.com/%2523%7Bextension_path(extension)%7D%0A%0A%2523%2523%2523+Description%0A%0A%3C!--%0APlease+provide+a+clear+and+concise+description+of+what+the+bug+is.+Include+screenshots+if+needed.+Please+test+using+the+latest+version+of+the+extension,+Raycast+and+API.%0A--%3E%0A%0A%2523%2523%2523+Steps+To+Reproduce%0A%0A%3C!--%0AYour+bug+will+get+fixed+much+faster+if+the+extension+author+can+easily+reproduce+it.+Issues+without+reproduction+steps+may+be+immediately+closed+as+not+actionable.%0A--%3E%0A%0A1.+In+this+environment...%0A2.+With+this+config...%0A3.+Run+%27...%27%0A4.+See+error...%0A%0A%2523%2523%2523+Current+Behavior%0A%0A%2523%2523%2523+Expected+Behavior%0A%0A>)

##### Development

```bash
# To install dependencies
bun i

# To start the local development server
bun run dev
```

All documentation items are defined in `src/data/docs.ts`. You can add new items there, types and IntelliSense supported. Each documentation item can have it's own display`title`, `url`, `icon` and `keywords`. Only the title is required.

```bash
# To lint and fix
bun run fix-lint

# To locally build the extension
bun run build
```

[raycast-cross-extension-badge]: https://shields.io/badge/Raycast-Cross--Extension-eee?labelColor=FF6363&logo=raycast&logoColor=fff&style=flat-square
[raycast-cross-extension-link]: https://github.com/LitoMore/raycast-cross-extension-conventions
