内容
# 技能安全MCP
[](https://www.npmjs.com/package/skillssafe-mcp)
[](https://registry.modelcontextprotocol.io)
[](LICENSE)
**适用于 [SkillsSafe](https://skillssafe.com) 的MCP服务器** — 面向AI代理的安全层。
扫描 SKILL.md 文件、MCP 配置和系统提示,防范:
- 🔐 凭证盗窃和数据外泄
- 💉 提示词注入攻击
- 👻 零宽度字符攻击
- 🦠 ClawHavoc 恶意软件指标
- 🐚 Shell 注入和反向 Shell
- 🔍 范围扩大和内存中毒
**免费。无需 API 密钥。无需注册。**
## 快速开始
### Claude 桌面版
添加到 `~/Library/Application Support/Claude/claude_desktop_config.json`:
```json
{
"mcpServers": {
"skillssafe": {
"command": "npx",
"args": ["-y", "skillssafe-mcp"]
}
}
}
```
### Cursor
添加到 `.cursor/mcp.json`:
```json
{
"mcpServers": {
"skillssafe": {
"command": "npx",
"args": ["-y", "skillssafe-mcp"]
}
}
}
```
### 直接 SSE(远程)
适用于支持 SSE 传输的客户端:
```
https://mcp.skillssafe.com/sse
```
## 工具
### `scan_skill`
扫描 AI 代理技能文件以防范安全威胁,安装前进行检查。
```
参数:
url - 要扫描的技能 URL(GitHub 原始 URL、ClawHub URL 等)
content - 要扫描的技能原始文本内容(url 的替代方案)
lang - 响应语言:"zh" | "en" | "ja"(默认:"en")
返回:
decision - 安装 / 审查 / 阻止
risk_score - 0–100
threats - 检测到的威胁列表及严重程度
scan_id - 用于检索完整报告的 ID
```
### `get_report`
检索之前生成的扫描报告。
```
参数:
scan_id - scan_skill 返回的扫描 ID
```
## 注册表
- **官方 MCP 注册表**:`com.skillssafe/scanner`
- **Smithery**:[skillssafe](https://smithery.ai/server/skillssafe)
- **Glama**:[skillssafe-mcp](https://glama.ai/mcp/servers/GUCCI-atlasv/skillssafe-mcp)
## 🛡️ 安全审计
该项目被 [SkillsSafe](https://skillssafe.com) 索引。
您可以在安装前审计此 MCP 服务器:
```bash
openclaw mcp add skillssafe https://mcp.skillssafe.com/sse
```
查看 [Cursor 论坛](https://forum.cursor.com/t/built-with-cursor-skillssafe-a-security-firewall-for-mcp-servers-ai-skills/154530) 上的社区讨论。
## 许可证
MIT © SkillsSafe