Coding Agents

Learn how to turn any API into an MCP server using Ogment.ai, then connect it to Notis. This guide walks you through connecting Cursor's background agents to your favorite messaging apps—Telegram, WhatsApp, iMessage, Slack, and more.

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
  • Notis with MCP support enabled

Step 1: Get your Cursor API key

  1. Go to your Cursor dashboard
  1. Navigate to Integrations
  1. Click New User API
  1. 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:

```bash

echo -n "your-api-key" | base64

```

Save the resulting encoded key—you'll need it in the next step.

Step 3: Create the MCP server in Ogment

  1. Create an account at Ogment.ai
  1. Click Add Server
  1. Paste the URL of Cursor's OpenAPI spec (https://cursor.com/docs-static/cloud-agents-openapi.yaml)
  1. Click Import API

Ogment will detect the available endpoints and bundle them into your MCP.

  1. Click Next
  1. Set up authentication:
      • Select Authorization Header
      • Enter: Basic YOUR_ENCODED_API_KEY (replace with your Base64-encoded key from Step 2)
  1. Click Run Test — you should see a green success message
  1. Click Create MCP

You've just created an MCP server with access to all your Cursor background agents.

Step 4: Connect the MCP to Notis

  1. In Ogment, go to Config and copy the URL of your MCP server
  1. Head to the Notis portal → Integrations
  1. Click Add a new MCP
  1. 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
  1. Click the OAuth button to connect
  1. Select or deselect the tools you want enabled
  1. Click Save

You're done!

You now have access to your Cursor background agents directly from:

  • Telegram
  • iMessage
  • WhatsApp
  • Slack
  • Email
💡

This same approach works for any API with an OpenAPI spec. Ogment turns it into an MCP server, and Notis gives you access from anywhere.

Did this answer your question?
😞
😐
🤩