superagent_

// your integrations

Set up Cursor

[ view markdown ]

Connect Cursor to Superagent, then use a Cursor automation to receive findings and return structured agent reports.

Prerequisites

  • A Superagent organization API key
  • Connected software in Superagent
  • A Cursor environment that can access the same software

Connect Superagent MCP

Select Add to Cursor on the Superagent listing in Cursor Marketplace. In Cursor, open Plugins → Superagent → Configure, enter the key as SUPERAGENT_API_KEY, and reload Cursor.

For manual setup, set SUPERAGENT_API_KEY in the environment that launches Cursor and add this server to Cursor's mcp.json.

{
  "mcpServers": {
    "superagent": {
      "url": "https://www.superagent.sh/mcp",
      "headers": {
        "Authorization": "Bearer ${env:SUPERAGENT_API_KEY}"
      }
    }
  }
}

Do not put the key in chat, source control, or the MCP URL.

Configure the finding handoff

Create a Cursor automation with a webhook trigger. Add the generated endpoint as a Superagent webhook, subscribe to finding events, and store Cursor's authentication value as an encrypted custom header.

Test the complete loop

  1. Send a Superagent webhook test event and confirm the Cursor automation receives it.
  2. To test MCP retrieval, use a real finding from the connected software. The test event contains a sample finding ID.
  3. Ask Cursor to retrieve the finding and return a structured agent report through MCP. Confirm Superagent links the report to the finding.
  4. Leave any pull request for CI and human review.

Next steps