agentguard for Windsurf
io.github.agentwares/agentguard
MCP policy proxy: spend caps, approvals for destructive tools, kill switch, dry-run, audit log.
client:Windsurf
transport:stdio
runtime:npm
Install agentguard in Windsurf
~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
{
"mcpServers": {
"agentguard": {
"command": "npx",
"args": [
"-y",
"@agentwares/agentguard"
],
"env": {
"AGENTGUARD_CONFIG": "<AGENTGUARD_CONFIG>",
"AGENTGUARD_KILL": "<AGENTGUARD_KILL>"
}
}
}
}
Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs