OptinMonster Documentation

Documentation, Reference Materials, and Tutorials for OptinMonster

Home

Docs

How to Connect Cursor to OptinMonster

How to Connect Cursor to OptinMonster

Do you want to create and manage your OptinMonster campaigns without leaving Cursor? With the OptinMonster MCP server, Cursor connects to your account, so you can describe what you want in plain English, and its agent does the work for you with only the permissions you grant. In this article, you’ll learn how to connect Cursor to OptinMonster.

Before You Start

  • You’ll need to be signed in to Cursor.
  • You’ll also sign in to OptinMonster during setup to approve the connection, so have that login ready too.

Connecting Cursor to OptinMonster

If you use the Cursor CLI (command-line interface), you can run cursor-agent mcp login optinmonster after step 6 instead, and then continue from step 9.

To connect Cursor to OptinMonster, follow these steps:

  1. In Cursor, click Customize in the left sidebar.
    The sidebar with Customize.
  2. Then, click MCPs.
    The filter row with MCPs.
  3. After that, click New MCP Server.
    New MCP Server with its menu open.
  4. Now, choose User to use OptinMonster in all your projects, or pick a project under Workspaces. Cursor opens that mcp.json file.
    User and Workspaces.
  5. Next, add OptinMonster to the file using one of the examples below the steps. If no other servers are listed, replace everything in the file with the first example. If other servers are already listed, add the optinmonster entry after them, as in the second example.
    The file with the optinmonster entry.
  6. Then, save the file.
  7. After that, go back to the Customize page. Under Needs Attention, optinmonster shows Needs authentication.
  8. Now, click Authenticate on that row. Your browser opens on the Authorize OptinMonster MCP Server page.
    Optinmonster under Needs Attention with Authenticate.
  9. Under Authorizing for the account, check the account shown. The connection only works on that one. If you have more than 1 account, then you can select another one and click Switch.
    The Authorize OptinMonster MCP Server page with Authorizing for the account.
  10. Further down the page, under Choose what OptinMonster MCP Server can do, pick a level for each area.
    The Account and Campaigns rows with their levels.
  11. Then, click Authorize Access.
    The Authorize Access and Deny buttons.
  12. Finally, back in Cursor, check that optinmonster now shows under Connected with its tools listed.
    Optinmonster under Connected with 55 tools, 3 resources enabled.

If no other servers are listed in your mcp.json file, use this:

{
  "mcpServers": {
    "optinmonster": {
      "url": "https://mcp.optinmonster.com/mcp"
    }
  }
}

If other servers are already listed, add OptinMonster after them, with a comma after the server before it:

{
  "mcpServers": {
    "your-other-server": {
      "url": "https://example.com/mcp"
    },
    "optinmonster": {
      "url": "https://mcp.optinmonster.com/mcp"
    }
  }
}

FAQs

Does removing OptinMonster from Cursor end its access?

No. Removing the optinmonster entry from mcp.json stops Cursor from using it, but its access in OptinMonster stays active. To end it, revoke it in OptinMonster.

Troubleshooting

Why does the approval page ask me to log in?

Cursor opens the approval page in your default browser. If you’re not signed in to OptinMonster there, sign in on that page and the approval page opens. You can also copy the page’s address into the browser where you’re signed in and approve it there.

Why doesn’t the OptinMonster server show up, or why does it say Disabled?

If you added OptinMonster to a project’s mcp.json, Cursor may not list it until you reload the window. Press Cmd+Shift+P to open the Command Palette, run Developer: Reload Window, and go back to Customize > MCPs. If it then shows Disabled, click optinmonster and turn on the switch next to its file under Source.

Why does Cursor tell me “The OptinMonster authorization is no longer valid”?

The connection Cursor was using has stopped working. That happens when:

  • It’s more than 30 days old.
  • Someone clicked Revoke Access on its row under API.

To fix it, open optinmonster on the Customize page and authenticate again.


Still stuck?

How can we help?

Last updated on


Start Getting More
Leads & Sales Today
with OptinMonster!

Create and launch smart capture forms today in minutes. What are you waiting for?

Create and launch smart capture forms
today in minutes. What are you waiting for?

OptinMonster has transformed our business. Before integrating their optins, our clients saw a 2% conversion rate from web traffic, which is slightly above the standard for their industry. With the integration of OptinMonster’s lightbox popup, exit-intent technology, split testing, and other tools, our client’s conversion rates soared by an unprecedented 500%. They attracted substantially more customers while spending less on digital advertising. Their success propelled them to the top of their markets, outperforming national chains and other medical spas with much bigger marketing budgets. Our client’s success in their market has distinguished us in our own. We are now one of the most sought-after marketing firms in the industry of aesthetic medicine. We know that the integration of OptinMonster, more than any other tool or marketing strategy, has supported this growth and achievement.

chris zelig medstar media

Chris Zelig

Partner, Medstar Media

OptinMonster has been a game-changer for us. From driving donations to collecting new leads, there is nothing that this simple tool has failed to accomplish. Our lead collection rate has jumped by over 1,000%.

joe lowe american bird conservancy

Joe Lowe

Director of Digital Communications, American Bird Conservancy

Through OptinMonster’s exit-intent popups, we have more than doubled our sales conversion rate. Best of all is the compound effect of using OptinMonster over a long period of time—more conversions mean more customers, which means more word of mouth.

mitch smith, managing director, shockbyte

Mitch Smith

Managing Director, Shockbyte.com