JetBrains Integration
Set up SiteCMD with JetBrains IDEs to fix issues with full scan context.
JetBrains IDEs (IntelliJ IDEA, WebStorm, PhpStorm, etc.) support MCP servers through the AI Assistant plugin. Connect SiteCMD to give your AI Assistant access to scan results.
Configuration
Open your IDE and go to Settings > Tools > AI Assistant > Model Context Protocol (MCP). Add a new server with these values:
- Name:
sitecmd - Command:
node - Arguments:
/path/to/sitecmd/mcp-server/index.js
Or, edit the MCP configuration file directly. JetBrains stores MCP server configs in the IDE settings directory. Add the following:
{
"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 the IDE after saving.
What you get
Once connected, the JetBrains AI Assistant can call these tools:
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