Windsurf Integration
Set up SiteCMD with Windsurf to fix issues with full scan context.
Connect SiteCMD to Windsurf so Cascade can read scan results and fix issues with full context about what your scanner found.
Configuration
Add the following to ~/.windsurf/mcp.json (create the file if it does not exist):
{
"mcpServers": {
"sitecmd": {
"command": "node",
"args": ["/path/to/sitecmd/mcp-server/index.js"]
}
}
}
Replace /path/to/sitecmd/mcp-server/index.js with the actual path. On macOS the MCP server ships inside the app bundle at:
~/Applications/SiteCMD.app/Contents/Resources/mcp-server/index.js
Restart Windsurf after saving the config.
What you get
Once connected, Windsurf’s Cascade can call these tools against your SiteCMD data:
list_projects- list all projects tracked in SiteCMDget_scan_results- fetch the latest scan results for a projectlist_issues- get open issues ranked by severity and impactbuild_fix_prompt- generate a detailed fix prompt for a specific issue, including affected files and recommended stepsget_score_trend- retrieve score history to understand trajectory over time