// your integrations
Set up Cursor
Connect Cursor to Superagent, then use a Cursor automation to receive findings and return structured agent reports.
Prerequisites
- A Superagent organization API key stored as
SUPERAGENT_API_KEY - Connected software in Superagent
- A Cursor environment that can access the same software
Connect Superagent MCP
Add this server to Cursor's mcp.json:
{
"mcpServers": {
"superagent": {
"url": "https://www.superagent.sh/mcp",
"headers": {
"Authorization": "Bearer ${env:SUPERAGENT_API_KEY}"
}
}
}
}Set SUPERAGENT_API_KEY in the environment that launches Cursor. 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
- Send a Superagent webhook test event.
- Confirm one Cursor automation starts.
- Ask Cursor to retrieve the finding through Superagent MCP.
- Let the automation investigate or remediate within its assigned scope.
- Return the structured agent report through Superagent MCP.
- Confirm that Superagent retained the report and linked it to the finding.
- Leave any pull request for CI and human review.