Cursor has an API for managing background agents—but they haven’t created an MCP server you can easily connect to Claude, Notis, or other AI tools.
In this guide, we’ll use Ogment.ai to turn Cursor’s API into an MCP server, then connect it to Notis. The result? Access to your Cursor background agents directly from Telegram, iMessage, WhatsApp, Slack, and email.
Setup time: ~5 minutes
What you’ll need
- A Cursor account with API access
- An Ogment.ai account (free to create)
- Notis with MCP support enabled
Step 1: Get your Cursor API key
- Go to your Cursor dashboard
- Navigate to Integrations
- Click New User API
- Enter a name and copy the API key
Step 2: Encode your API key
In your terminal, run a Base64 encoding on your API key:Step 3: Create the MCP server in Ogment
- Create an account at Ogment.ai
- Click Add Server
- Paste the URL of Cursor’s OpenAPI spec (https://cursor.com/docs-static/cloud-agents-openapi.yaml)
- Click Import API
- Click Next
- Set up authentication:
- Select Authorization Header
-
Enter:
Basic YOUR_ENCODED_API_KEY(replace with your Base64-encoded key from Step 2)
- Click Run Test — you should see a green success message
- Click Create MCP
Step 4: Connect the MCP to Notis
- In Ogment, go to Config and copy the URL of your MCP server
- Head to the Notis portal → Integrations
- Click Add a new MCP
- Configure it:
- Name: Cursor
- Instructions: Describe when this MCP should be used (e.g., “Use this when investigating a bug”)
- URL: Paste your Ogment MCP server URL
- Click the OAuth button to connect
- Select or deselect the tools you want enabled
- Click Save
You’re done!
You now have access to your Cursor background agents directly from:- Telegram
- iMessage
- Slack

