Configure mcp.json and authenticate in Cursor.
Cursor speaks remote MCP over HTTP. Add the endpoint and approve the connection in your browser.
MCP endpoint
https://agentic.optimonk.com/mcp
Configure Cursor desktop
Add the configuration file
Create
.cursor/mcp.jsonin your project root, or use~/.cursor/mcp.jsonfor all projects. If the file already exists, add theoptimonkentry to its existingmcpServersobject, preserving your other servers.{ "mcpServers": { "optimonk": { "url": "https://agentic.optimonk.com/mcp" } } }Authenticate and enable the server
Complete Cursor’s OAuth sign-in for
optimonkand approve the requested permissions in your browser. No API key or static OAuth credentials are needed for this configuration. Cursor documents server management and enablement underCustomizein the sidebar.If the authentication controls differ in your version, follow the official Cursor MCP guide. The configuration file above is the documented custom-server setup.
What you should see
For OAuth, complete your client’s authentication flow, then approve the requested OptiMonk permissions. See Authentication & access for consent-screen details and connection management.
Check it worked
Ask your agent to call whoami. It answers with the account it is acting as and the permissions it holds, which is also the first thing to check if a later call says something is missing.
If it does not connect
Nothing happens after adding the URL. Complete your client’s authentication step first. If the consent tab is blocked, allow pop-ups for this site and retry.
You were asked for a key or token. OAuth connections do not require an API key. If your client does not support OAuth or its callback is not allowed, use a Bearer API key instead — see Authentication & access.
Connected, but calls fail. Call
whoamifirst: a credential on the wrong account fails exactly like a missing object.