Desktop app that automatically scans and blocks malicious MCP traffic in AI apps like Cursor, Claude, VS Code and Windsurf.
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"mcp-defender": {
"command": "npx",
"args": [
"-y",
"MCP-Defender/MCP-Defender"
]
}
}
}
Run in terminal:
claude mcp add mcp-defender npx -y MCP-Defender/MCP-Defender
Add to .cursor/mcp.json:
{
"mcpServers": {
"mcp-defender": {
"command": "npx",
"args": [
"-y",
"MCP-Defender/MCP-Defender"
]
}
}
}