Security proxy that wraps MCP servers with real-time monitoring and policy enforcement
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
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
uvx mcpower-proxyMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-ai-mcpower-mcpower-proxy": {
"command": "uvx",
"args": [
"mcpower-proxy"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencemcpower-proxypypiMCPower Security Proxy works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.