AI Provider for Cursor is a connector plugin built for site owners and developers who already use the WordPress AI Client and want to route text generation requests through Cursor Cloud Agents.
Rather than adding its own chat interface, it registers a cursor provider inside the AI Client so any code or feature that calls that client can ask Cursor to generate text, including summaries, titles, excerpts, or custom prompts written with AiClient::prompt().
The plugin works by sending prompt text to the Cursor Cloud Agents API, operated by Anysphere, Inc., using a Cursor API key that the site owner supplies from their own Cursor account.
That key is entered on the Settings > Connectors screen in WordPress, or optionally defined as a constant in wp-config.php, and WordPress core injects it into requests without the plugin reading it directly. Generated text is returned to whichever WordPress feature made the request, since the plugin itself has no separate output screen.
Powered by Fabio ChatBot
Is AI Provider for Cursor yours?
Tell readers what is limited and unlimited in the free version, and what the AI does in your plugin. Help them decide faster and reach the people already looking at it. In return, you answer their questions.
Key Features of AI Provider for Cursor
Cursor provider for the AI Client. The plugin registers a cursor provider inside the WordPress AI Client, so any compatible plugin or custom code can direct its text generation requests to Cursor without building its own integration.
Text generation through Cloud Agents. Requests are handled by Cursor Cloud Agents, which run without needing a connected code repository, and the plugin creates the agent, waits for it to finish, and returns the finished text.
Automatic model discovery. Available models are pulled directly from the Cursor account through its models endpoint, so the site owner or calling code can select a specific model without hardcoding model names.
API key handled by WordPress Connectors. The Cursor API key is stored through the standard Settings > Connectors screen, or alternatively set as a CURSOR_API_KEY constant or environment variable for production sites, keeping credentials out of the database if preferred.
Adjustable polling and cleanup behavior. A dedicated settings page lets the site owner set a default model, control how long and how often WordPress checks on a running agent, and choose whether finished agents are archived automatically on Cursor’s side.
How to Install AI Provider for Cursor
Step 1: Install the plugin. In the WordPress dashboard, go to Plugins > Add New Plugin, search for AI Provider for Cursor, then click Install Now followed by Activate.
Step 2: Get a Cursor API key. Sign in to the Cursor dashboard and generate an API key from the API keys section of your account.
Step 3: Connect the key in WordPress. Open Settings > Connectors, locate the Cursor card, and enter the API key; for production sites the key can instead be defined as a CURSOR_API_KEY constant in wp-config.php or as an environment variable.
Step 4: Review Cursor-specific settings. Visit Settings > AI Provider for Cursor to choose a default model, set the poll timeout and poll interval, and decide whether finished agents should be archived automatically.
Step 5: Confirm the connection. Check that the Cursor connector shows as connected on Settings > Connectors, then use code that calls the AI Client with usingProvider(‘cursor’) to generate text.
Good to Know About AI Provider for Cursor
According to the plugin’s documentation, it requires the WordPress AI Client and Connectors API available in core, along with a Cursor API key from the site owner’s own Cursor account; without that key and an internet connection, text generation and model listing will not work.
The developer notes that Cursor Cloud Agents run asynchronously, so requests involve polling until a run completes, and slow hosts may need a longer poll timeout. Prompt text, including any content passed by the calling feature, is sent to Cursor’s API for processing, and only Cursor-specific behavior settings are stored locally by the plugin; the API key itself is managed through WordPress Connectors rather than by the plugin author.
Download AI Provider for Cursor on WordPress.org