Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Security proxy that automatically wraps MCP servers with real-time monitoring and policy enforcement

README.md

Defenter

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.

---

🚀 How to use

The simplest way to use Defenter is to install the VS Code or Cursor extension:

Once installed, the extension automatically intercepts and protects:

  • MCP server calls
  • Coding agent prompts and responses
  • File reads and shell commands triggered by the agent

No manual MCP configuration is needed.

---

Overview

Defenter is a semantic policy broker for AI coding agents. It adds an intelligent security layer inside your IDE that:

  • Intercepts every coding agent prompt and action
  • Wraps every MCP tool call and response
  • Analyzes the payload for sensitive information and risky behavior in real time
  • Enforces your security policies with allow, redact, or block decisions

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:

  • Preventing data leaks and context contamination
  • Providing clear, visual monitoring of every agent decision

---

Architecture and how it works

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
  • Runs on the developer machine
  • Hooks coding agent prompts, file reads, and shell executions
  • Intercepts all MCP tool calls and responses
  • Performs client side redaction of secrets and PII
  • Cloud powered policy engine
  • Receives a minimal, redacted payload
  • Uses a classifier and analyzer to check for data leaks, context contamination, and prompt injection
  • Returns Allow, Redact, Need more info, or Block decisions in real time
  • Works with low latency to make sure the development flow in without friction
  • IDE integration
  • Seamless integration with VS Code and Cursor extensions
  • Shows a live monitoring view of all agent actions and Defenter decisions directly inside the IDE

Together, these pieces let you harness AI coding agents and MCP tools without compromising the security of your code, data, or workflows.

---

References

Python Proxy: See src/README.md for detailed implementation documentation

VSC Extension: See targets/vsc-extension/README.md for installation and user guide

<!-- mcp-name: io.github.Defenter-AI/defenter-proxy -->

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Observability servers.