Cline Integration
Set up SiteCMD with Cline to fix issues with full scan context.
Cline is a VS Code extension with native MCP support. Connect it to SiteCMD so Cline can pull scan results and generate fix prompts as part of its agentic workflow.
Configuration
Open the Cline extension settings in VS Code and navigate to the MCP Servers section. Add a new server entry:
{
"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
Alternatively, edit Cline’s config file directly at ~/.cline/mcp_settings.json and add the sitecmd entry to the mcpServers object.
Reload VS Code after saving.
What you get
Once connected, Cline can call these tools as part of its task execution:
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