Configure the Dtwo Plugin in Cursor

Install the Dtwo plugin in Cursor from a local copy.

On this page
  1. Install the plugin
  2. Verify the plugin works

Install the plugin

For macOS/Linux with Git installed. Your team must allow local plugin imports. Uninstall any marketplace copy of Dtwo before testing a local copy.

  1. In a terminal, download the plugin repository into a new dtwo-plugins folder:

    git clone https://github.com/dtwoai/plugins.git dtwo-plugins
  2. Copy the Dtwo plugin into Cursor’s local plugins folder. Run this from the same directory as the previous command:

    mkdir -p ~/.cursor/plugins/local && test ! -e ~/.cursor/plugins/local/dtwo && cp -R dtwo-plugins/dtwo ~/.cursor/plugins/local/dtwo
  3. Restart Cursor, or run Developer: Reload Window from the command palette. Open Customize → Plugins and look for dtwo under Installed. Select your user scope for a local installation.

  4. Open Customize → MCPs, enable dtwo, and complete the browser sign-in.

Verify the plugin works

Once the plugin is installed and connected, ask your client for something that only Dtwo can answer:

List my Dtwo gateways and the policies attached to each.

If the plugin is wired up correctly, your client returns your gateways and their attached policies.

Having trouble?

Email us and we'll help you get set up.

Email support

↑↓ to navigate ↵ to open