GitHub Copilot Integration
Set up SiteCMD with GitHub Copilot to fix issues with full scan context.
GitHub Copilot supports MCP servers through VS Code settings. Once configured, Copilot Chat can read your SiteCMD scan results and generate targeted fixes.
Configuration
Add the following to your VS Code settings.json (Cmd+Shift+P > “Open User Settings (JSON)”):
{
"github.copilot.chat.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
Reload VS Code after saving.
What you get
Once connected, Copilot Chat 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