MCP Defender

by MCP-Defender

253 stars
619 downloads
Not rated
GitHub Website

About

Desktop app that automatically scans and blocks malicious MCP traffic in AI apps like Cursor, Claude, VS Code and Windsurf.

Details

Author
MCP-Defender
GitHub stars
253
Downloads
619
Categories
Developer Tools

- Automatically proxies MCP tool call traffic from AI apps
- Checks intercepted data against attack signatures
- Alerts the user and asks to allow or block detected threats
- Protects Cursor, Claude, Visual Studio Code, and Windsurf

Download the latest release for Mac from the GitHub releases page, or clone the repo, install dependencies with npm install, and start the app with npm start.

<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="./src/assets/white_knight_icon.png">
<source media="(prefers-color-scheme: light)" srcset="./src/assets/black_knight_icon.png">
Shows a black knight in light color mode and a white knight one in dark color mode.
</picture>
</p>

<h1 align="center">MCP Defender</h1>
<h2 align="center">Automatically protects MCP traffic in AI apps</h2>

<p align="center">
<a href="LICENSE">GitHub License</a>
</p>

<h1 align="center"><a href="https://www.docker.com/blog/docker-acquires-mcp-defender-ai-agent-security/">MCP Defender has been acquired by Docker Inc.</a></h1>

🛡️ MCP Defender is a desktop app that protects AI apps like Cursor from a variety of attacks.

🚦 All MCP tool call requests and responses from AI apps are automatically proxied through MCP Defender.

🔎 The intercepted data is then checked against a set of signatures.

🔐 If anything harmful is detected, MCP Defender alerts you and asks if you want to allow or block the tool call.

Demos

https://github.com/user-attachments/assets/363ae2b1-e395-4cdc-b5ca-e9862baf89c3

Quick Start

Download MCP Defender for Mac

Alternatively you can clone the git repo, and run it as follows:

# Install dependencies
npm install

Start app

npm start

Which apps are automatically protected?

MCP Defender protects Cursor, Claude, Visual Studio Code and Windsurf.

License

MCP Defender is licensed under the AGPL-3.0 license. For more details, see the LICENSE.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.