This plugin connects WordPress to Cursor Cloud Agents so the WordPress AI Client can generate text through the cursor provider.
This is an unofficial, third-party connector. It is not affiliated with, endorsed by, or sponsored by Cursor or Anysphere. “Cursor” is a trademark of Anysphere, Inc.
Features:
cursor provider with the WordPress AI ClientGET /v1/modelsCURSOR_API_KEY)Requirements:
This plugin relies on the Cursor Cloud Agents API, operated by Anysphere, Inc. (cursor.com). Without a valid Cursor API key and an active internet connection, the plugin cannot generate text or list models.
When data is sent
Data is transmitted to Cursor when:
cursor provider (for example summarization, title generation, excerpts, or your own AiClient::prompt() calls).Saving your API key in WordPress stores it locally via Settings Connectors. The key is sent to Cursor only inside authenticated API requests, not to the plugin author.
What is sent
API endpoints used
All requests go to https://api.cursor.com:
GET /v1/models — list models available to your accountPOST /v1/agents — create a Cloud Agent and start a text-generation runGET /v1/agents/{agentId}/runs/{runId} — poll run status and retrieve the generated textPOST /v1/agents/{agentId}/archive — optional cleanup after a successful runService links
Usage may be subject to Cursor account limits and billing. This plugin does not include a Cursor subscription.
The Cursor API key is managed by WordPress Settings Connectors (connectors_ai_cursor_api_key) unless you configure CURSOR_API_KEY in wp-config.php or as an environment variable. Those constant and environment sources override the database value. This plugin does not read that Connectors option; WordPress core injects credentials into the AI Client.
This plugin stores only Cursor-specific behavior options in ai_provider_for_cursor_settings (default model, poll timeout, poll interval, archive after run).
When AI features use the Cursor provider, prompt content is sent to Cursor’s servers as described in External services above. This plugin does not send analytics or telemetry to the plugin author.
On uninstall, the plugin settings option is removed. The Connectors API key option is left for WordPress / Connectors to manage.
Open Settings Connectors, find the Cursor card, and enter the API key
wp-config.php (recommended for production): add this line to wp-config.php above /* That's all, stop editing! */:
define( ‘CURSOR_API_KEY’, ‘your-cursor-api-key-here’ );
CURSOR_API_KEY environment variable (same name). Environment and the PHP constant both override the database value.
composer-2)