
MCPower Security Proxy
io.github.ai-mcpower由 GitHub 账号 ai-mcpower 发布v0.0.87更新于 Oct 24, 2026
Security proxy that wraps MCP servers with real-time monitoring and policy enforcement
概览
本地 Python 安全代理,包裹 MCP 服务器与编码代理流量,监控提示词、工具调用及文件与 shell 操作,并按策略执行允许、脱敏或拦截。
- 可以做什么
- 拦截并包裹 MCP 工具调用与响应,以及编码代理的提示词、文件读取和 shell 命令。实时分析载荷中的敏感信息、数据泄露、上下文污染和提示注入。执行允许、脱敏、需要更多信息或拦截的策略决定,并在客户端对密钥和个人信息做脱敏。在 VS Code 或 Cursor 中显示代理操作与决策的实时监控视图。清单未列出自身工具,它作为 Defenter IDE 扩展背后的中间件运行。
- 适用场景
- 当你在 VS Code、Cursor 或 Claude Code 中运行 AI 编码代理或 MCP 服务器,并希望在内容离开本机前检查代理发送和执行的内容时使用。适合担心通过代理提示词和工具调用泄露密钥或客户数据的团队。
- 运行要求
- 作为本地进程在用户机器上运行,从 PyPI 以 mcpower-proxy 安装并用 uvx 启动,需要 Python 工具链。仅限桌面,无网页版。README 说明通过 Defenter 的 VS Code、Cursor 或 Claude Code 扩展使用,配置由扩展处理。未声明环境变量、请求头或身份验证。
安装
在 SourceWeft 中
- 打开 控制台中的 MCPower Security Proxy,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
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:
- VS Code Marketplace: Install Defenter
- Open VSX (Cursor and others): Install Defenter
- Claude Code: install Defenter plugin
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
来源:README.md,提交 b6415f6
工具
0版本历史
1- v0.0.87最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分