---
title: Cursor integration
url: https://docs.apify.com/integrations/cursor.md
parents:
  - [Apify documentation](https://docs.apify.com/llms.txt)
  - [Integrations](https://docs.apify.com/integrations.md)
  - [AI](https://docs.apify.com/integrations/ai.md)
previous: [CrewAI](https://docs.apify.com/integrations/crewai.md)
next: [Flowise](https://docs.apify.com/integrations/flowise.md)
---

# Cursor integration

[Cursor](https://cursor.com) is an AI-powered code editor that understands your codebase, edits files, runs commands, and completes multi-step development tasks from natural-language prompts.

The [Apify plugin for Cursor](https://github.com/apify/apify-cursor-plugin) connects Cursor to Apify's library of [Actors](https://apify.com/store) and bundles:

* The [Apify MCP server](https://docs.apify.com/integrations/mcp.md) for searching Apify Store, running Actors, and retrieving datasets through the [Model Context Protocol (MCP)](https://modelcontextprotocol.io/docs/getting-started/intro).
* An `apify` routing agent that picks the right tool or skill from a natural-language request.
* Five built-in skills for common workflows (see Bundled skills below).

This guide covers installation from the Cursor plugin marketplace.

Help keep this page up to date

This integration uses a third-party service. If you find outdated content, please [submit an issue on GitHub](https://github.com/apify/apify-docs/issues).

## Prerequisites

* [An Apify account](https://console.apify.com/sign-up) - sign up for free if you don't have one.
* [Cursor](https://cursor.com) - installed and signed in locally.

## Install the plugin

1. Open **Cursor** > **Preferences** > **Cursor Settings**.

2. Select **Plugins**.

   ![Cursor Settings with the Plugins section selected](/assets/images/01-plugins-589f7c81605678e03fec196a6a8087c2.webp)

3. Search for **Apify**.

4. Select the **Apify Cursor plugin** from the results.

   ![Cursor plugin marketplace search results with the Apify Cursor plugin card](data:image/webp;base64,UklGRkYVAABXRUJQVlA4IDoVAADw1ACdASqVBNUBPpFIoEylpKMtodG4WbASCWlu+F6o87oZMh6UwHy45APU1tlPMB+sfq6aarvSGRH+UP7n2o/2jxF8VXriT33L6inxn7Z/pP7n6P/7PwV+KWoF+V/zz9WfH72beUf5b/Wf132AvUT6n/1f774g/9z6Afmv9P/0PuAfyD+of8H07/2fg0faf997AX8w/qv+/9lv+n/8f+r85X5t/nv/d/ov8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jqgJgrPsT89GpM9TdR58RyIXXRXvp6Ml6TBtxiE+bHePvJT+Tcge2m0lFZlmZF3h/ugdOWPYzWrN/Zn/GkL4LdEX01qvy8b4H+8NrCuu44Qx0jvGwLpsEt16SCQXDCc4yIZDd86AUzUTSVsuoi12oYKflIYDpsmxrPDfarw7W151W1QZScS4QdZrkO2qKq6cqa1JpXOWkjnyqfig68stauxfA+QWygGUSD/Ezrxf+qokJ1jB6Lt53OTuRPZl2Tj7w9R4ibTMTQTGfpjj3//8Ls6jg7ln0g8uUZ++teTEr5aDrX/RPL7J2QECAT2Pf6LNRKJDgG8rjxIo+YCkTlRYIANMjIIA0yc4PE61xhYoT+3JcgzVBTMmWZMsyZZkyzJlmTLMmWZMsyZZkyzI4zJlmVQyPBIvZlCBnUtRWFwYkcW6fycvL0hckutJwMADyHwr0nwtxAuP/pQvzmrWHImmGNGfYPJamybJEkD5SRNofKSJtD5QNj6j8fqwTEx9tHWZ7oAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA)

5. Click **Get**.

6. Choose an install scope. Select **This project** to enable the plugin only in the current project, or **All projects** to enable it for every project under your account.

## Authenticate to Apify

The plugin bundles the Apify MCP server. Read-only tools like searching Apify Store and fetching Actor details work without signing in, but you need to authenticate to run Actors and access your account data.

1. Open **Cursor** > **Preferences** > **Cursor Settings** and select **Tools & MCPs**.

2. Scroll to the bottom of the page. The **Apify MCP** server appears in the list.

   ![Tools \&amp; MCPs page showing the Apify MCP server at the bottom of the list](/assets/images/03-tools-and-mcps-614afc79f3e755175bc6a8d54ac912ad.webp)

3. Click **Connect**. Cursor opens a browser tab for the Apify OAuth flow.

4. Review the permissions and click **Allow access**.

5. Back in Cursor, the **Apify MCP** server shows as connected.

   ![Tools \&amp; MCPs page showing the Apify MCP server connected](/assets/images/04-mcp-connected-ab316b105d9d0451f4d7edc353c20e2e.webp)

Session persistence

The connection stays authenticated for future sessions. You can revoke access at any time in [Apify Console > Settings > Integrations](https://console.apify.com/settings/integrations).

## Run your first prompt

Describe what you want in natural language. The `apify` agent routes the request to the right tool or skill, so you don't need to name tools yourself.

> Use Apify to find a good Actor for scraping Google Maps places. Show me the best option, its input requirements, pricing model, and what kind of dataset output it returns. Do not run the Actor yet.

The agent searches Apify Store, fetches the top Actor's details through the Apify MCP server, and summarizes its inputs, pricing, and output - all without running the Actor.

![Cursor session calling the Apify MCP server and returning Google Maps Actor details](/assets/images/05-example-prompt-f3beca6eaf7d130dfb98d0e1b97fe50c.webp)

## Bundled skills

| Skill                          | Description                                                                                              |
| ------------------------------ | -------------------------------------------------------------------------------------------------------- |
| `apify-ultimate-scraper`       | CLI-driven extraction using existing Actors for multi-step scraping and lead-generation workflows.       |
| `apify-actor-development`      | Full Actor lifecycle - template selection, development, local testing, and deployment with `apify push`. |
| `apify-actorization`           | Converts existing JavaScript, TypeScript, Python, or CLI projects into Apify Actors.                     |
| `apify-generate-output-schema` | Generates dataset and key-value store schemas for existing Actors.                                       |
| `apify-sdk-integration`        | Integrates Actor execution into applications using the `apify-client` package.                           |

Example prompts that route to specific skills:

*Ultimate scraper:*

> Find 10 highly rated coffee shops in Seattle with name, address, rating, phone, and website.

*Actor development:*

> Create an Apify Actor that accepts a `startUrl` and `maxPages` input, crawls the site, and stores each page title and URL.

*SDK integration:*

> Add Apify to this project. The Node.js API route should run an Actor and return dataset items as JSON.

## Troubleshooting

### The Apify MCP server stays disconnected

Open **Cursor** > **Preferences** > **Cursor Settings**, select **Tools & MCPs**, and toggle the **Apify MCP** server off and on. If it still doesn't connect, re-trigger the OAuth flow with **Connect**; see Authenticate to Apify.

### Cursor picks the wrong skill

Start your request with `@apify` so the routing agent handles it. The agent owns the guardrails that pick the right skill and avoid common traps, such as confusing the `apify` and `apify-client` packages.

### Browser doesn't open, or OAuth fails

If the browser doesn't open automatically, copy the OAuth URL shown by Cursor and paste it into your browser manually.

If you're running Cursor in a remote session, devcontainer, or over SSH where no browser is available, authenticate with an API token instead. Copy your token from [Apify Console > Settings > Integrations](https://console.apify.com/settings/integrations) and set it in your environment before starting Cursor:


```bash
export APIFY_TOKEN=<YOUR_API_TOKEN>
```


## Limitations

* Long-running Actors may exceed the time a single tool call waits for completion. Reduce the scope or split the work across multiple prompts.
* Each Actor run consumes Apify platform usage from your plan in addition to any Cursor usage. See [Billing](https://docs.apify.com/account/billing.md) for details.
* Skills that edit files in your project (Actor development, actorization, SDK integration) make local changes - review them before deploying or committing.

## Related integrations

* [MCP server integration](https://docs.apify.com/integrations/mcp.md) - Use the Apify MCP server with other clients
* [ChatGPT integration](https://docs.apify.com/integrations/chatgpt.md) - Connect the Apify MCP server to ChatGPT

## Resources

* [Apify plugin for Cursor](https://github.com/apify/apify-cursor-plugin) - Source repository and full README with advanced setup notes (Apify CLI install, all auth paths, available MCP tools)
* [Cursor documentation](https://docs.cursor.com) - Official Cursor docs
* [Apify Store](https://apify.com/store) - Browse Actors you can run from Cursor
