Trestle for Cursor
com.trestlescan/trestle
Detects leaked secrets (API keys, tokens, private keys) in source code.
client:Cursor
transport:stdio
runtime:npm
Install Trestle in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"trestle": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@trestlescan/mcp"
]
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs