XWatch for VS Code
io.github.xtarwall/xwatch
Free local security checks for coding agents: scans git changes, alerts only on proven findings.
client:VS Code
transport:stdio
runtime:npm
Install XWatch in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "dh-mcp-allowed-roots",
"description": "DH_MCP_ALLOWED_ROOTS",
"password": true
}
],
"servers": {
"xwatch": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@xtarwall/xwatch"
],
"env": {
"DH_MCP_ALLOWED_ROOTS": "${input:dh-mcp-allowed-roots}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs