This is a security proxy that wraps your MCP servers to monitor and enforce policies on every tool call in real time. It intercepts prompts, file operations, and MCP requests, then sends redacted payloads to a cloud classifier that checks for data leaks, PII exposure, and prompt injection before returning allow, redact, or block decisions. Primarily designed to work through VS Code and Cursor extensions rather than as a standalone MCP server, though the Python proxy can be integrated directly. Reach for this if you're running AI coding agents with access to sensitive codebases or customer data and need semantic analysis beyond traditional DLP tools that only see destinations, not intent.
Real-time semantic security for AI coding agents and MCP tools in VS Code, Claude Code and Cursor.
Defenter monitors every prompt, every coding agent tool call, every MCP server call, and key file and shell operations in your IDE. It acts as a semantic policy broker that understands what agents are doing, not just where they send data, so you can use AI coding agents without leaking secrets or customer data.
The simplest way to use Defenter is to install the VS Code or Cursor extension:
Once installed, the extension automatically intercepts and protects:
No manual MCP configuration is needed.
Defenter is a semantic policy broker for AI coding agents. It adds an intelligent security layer inside your IDE that:
Traditional security tools cannot see what an agent is about to share or execute. They look at apps and destinations, not at the intent and content of an agent’s actions.
Defenter bridges this gap by:
This repository contains the Defenter proxy and related components that secure MCP and coding agent traffic.
Defenter is built as a Python based proxy and local middleware that the IDE extension uses to enforce policy. At a high level:
Local middleware layer
Cloud powered policy engine
IDE integration
Together, these pieces let you harness AI coding agents and MCP tools without compromising the security of your code, data, or workflows.
Python Proxy: See src/README.md for detailed implementation documentation
VSC Extension: See targets/vsc-extension/README.md for installation and user guide
com.exploit-intel/eip-mcp
dmontgomery40/pentest-mcp
pantheon-security/notebooklm-mcp-secure
cyanheads/pentest-mcp-server
io.github.akhilucky/ai-firewall-mcp