← All connection guides

How to connect Cursor to Cloudflare

Connect Cursor to Cloudflare, authorize access, and verify the connection using the official setup.

Free guide · Updated

Based on official documentation · Checked

Ask your agent

Copy the prompt and paste it into your assistant.

Quick answer

Connect Cursor to Cloudflare using the official Cloudflare setup described below, authorize the account, then check access with a read-only request.

Before you start

Install Cursor and sign in to an account with access to the intended Cloudflare workspace or projects. Review the permissions requested during authorization; connecting a tool can expose account data or allow changes depending on the integration.

Add the connection

In Cursor, install the Cloudflare plugin from the marketplace or run the following command inside Cursor.

/add-plugin cloudflare

Authorize the account

The plugin registers Cloudflare MCP servers and skills. On the first call to a Cloudflare tool, follow the OAuth prompt and review the requested permissions.

Practice

Check the connection

  1. Ask Cursor to list Cloudflare resources available to your account without creating or changing anything.

Output: The result matches data visible in your Cloudflare account.

Troubleshooting and disconnecting

If tools are missing, check the server or plugin status in Cursor, restart the session if necessary and confirm you authorized the correct Cloudflare account. If access is denied, check your workspace membership and permissions. To disconnect, remove or disable the server or plugin in the client and revoke its authorization in Cloudflare when appropriate. Avoid pasting access tokens into public files.

Sources

Read the primary material