ExposureGuard

io.github.ExposureGuard由 GitHub 账号 ExposureGuard 发布v1.0.2更新于 Oct 27, 2026

Domain security scanning for AI agents. A-F grades, 8 checks, fix snippets.

概览

AI 生成的概览

将 AI 助手连接到 ExposureGuard API,扫描域名的安全状况,返回 A-F 评级、发现项和修复代码片段。

可以做什么
  • 执行完整域名安全扫描,包含 8 项检查、评分、A-F 评级、发现项和报告链接
  • 查询缓存评级(最长 24 小时),不触发新的扫描
  • 获取针对未通过检查的可直接复制修复片段
  • 列出域名加载的第三方脚本和资源
适用场景
适合在需要让助手检查网站安全配置、解释其评级,或为未通过的检查起草修复方案时使用,通常针对自己拥有或正在审查的站点。
运行要求
以 Python 包形式本地运行(pip install exposureguard-mcp),通过 stdio 由 MCP 客户端(如 Claude Desktop、Cursor、Windsurf 或 VS Code)启动。需要 ExposureGuard 账号,并通过环境变量 EXPOSUREGUARD_API_KEY 提供 API 密钥,同时需要访问 ExposureGuard API 的网络连接。
安装前请注意
需要在客户端配置中保存 ExposureGuard API 密钥,避免放入共享配置文件。扫描请求会发送到 ExposureGuard 服务,所查询的域名会透露给该第三方。速率限制取决于套餐,触发限制时会返回升级提示。

安装

在 SourceWeft 中

  1. 打开 控制台中的 ExposureGuard,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

ExposureGuard MCP Server

An MCP (Model Context Protocol) server that connects AI assistants to the ExposureGuard domain security scanning API.

Tools

ToolDescription
scan_domainFull security scan — 8 checks, A-F grade, score, findings, report URL (~8s)
get_gradeCached grade lookup (up to 24h old) — fast, no new scan triggered
get_remediationCopy-paste fix snippets for all failing checks
get_dependenciesThird-party scripts/resources loaded by the domain

Setup

1. Get an API Key

Sign up at getexposureguard.com and grab your API key from the dashboard.

2. Install

bash
# Option A: pip install (recommended)pip install -e /path/to/exposureguard-mcp
# Option B: just install depspip install mcp httpx

3. Configure Your AI Client

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{  "mcpServers": {    "exposureguard": {      "command": "python",      "args": ["-m", "exposureguard_mcp.server"],      "env": {        "EXPOSUREGUARD_API_KEY": "your-api-key-here"      }    }  }}

If you installed as a package, you can also use:

json
{  "mcpServers": {    "exposureguard": {      "command": "exposureguard-mcp",      "env": {        "EXPOSUREGUARD_API_KEY": "your-api-key-here"      }    }  }}
Cursor

Edit .cursor/mcp.json in your project root (or globally at ~/.cursor/mcp.json):

json
{  "mcpServers": {    "exposureguard": {      "command": "python",      "args": ["-m", "exposureguard_mcp.server"],      "env": {        "EXPOSUREGUARD_API_KEY": "your-api-key-here"      }    }  }}
Windsurf

Edit ~/.codeium/windsurf/mcp_config.json:

json
{  "mcpServers": {    "exposureguard": {      "command": "python",      "args": ["-m", "exposureguard_mcp.server"],      "env": {        "EXPOSUREGUARD_API_KEY": "your-api-key-here"      }    }  }}
VS Code (Copilot)

Edit .vscode/mcp.json in your project:

json
{  "servers": {    "exposureguard": {      "type": "stdio",      "command": "python",      "args": ["-m", "exposureguard_mcp.server"],      "env": {        "EXPOSUREGUARD_API_KEY": "your-api-key-here"      }    }  }}

4. Usage Examples

Once connected, ask your AI assistant:

  • "Scan example.com for security issues"
  • "What's the security grade for cloudflare.com?"
  • "Show me how to fix the security issues on my-site.com"
  • "What third-party scripts does shopify.com load?"

Running Standalone

bash
export EXPOSUREGUARD_API_KEY=your-api-key-herepython -m exposureguard_mcp.server

The server communicates over stdio using the MCP protocol — it's designed to be launched by an MCP client, not used interactively.

Rate Limits

Rate limits depend on your ExposureGuard plan. If you hit a 429 response, the server will return a message suggesting you upgrade at getexposureguard.com/pricing.

Publishing

PyPI

bash
pip install build twinepython -m buildtwine upload dist/*

Then users install with: pip install exposureguard-mcp

npm

bash
npm publish

Then users install with: npx exposureguard-mcp

License

MIT

来源:README.md,提交 d93496a

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.2最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。