Connect Cursor
Add the SentraSec MCP server to Cursor so the agent can run scans and explain findings.
1
Edit your MCP config
Open ~/.cursor/mcp.json (global) or .cursor/mcp.json in your project, and add the sentrasec server:
{
"mcpServers": {
"sentrasec": {
"command": "sentrasec",
"args": ["mcp", "serve"],
"env": {
"SENTRASEC_API_KEY": "sk_live_..."
}
}
}
}Replace sk_live_... with your API key — see Authentication.
2
Reload & use it
Restart Cursor (or toggle the server in Settings → MCP). Then ask the agent something like:
“Run a DAST scan on https://staging.example.com and summarize the critical findings.”
See the tools reference for everything the agent can call.