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:
- In Cursor, click Customize in the left sidebar.

- Then, click MCPs.

- After that, click New MCP Server.

- Now, choose User to use OptinMonster in all your projects, or pick a project under Workspaces. Cursor opens that
mcp.jsonfile.
- 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
optinmonsterentry after them, as in the second example.
- Then, save the file.
- After that, go back to the Customize page. Under Needs Attention, optinmonster shows Needs authentication.
- Now, click Authenticate on that row. Your browser opens on the Authorize OptinMonster MCP Server page.

- 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.

- Further down the page, under Choose what OptinMonster MCP Server can do, pick a level for each area.

- Then, click Authorize Access.

- Finally, back in Cursor, check that optinmonster now shows under Connected with its tools listed.

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.