loading…
Search for a command to run...
loading…
Enables users to scan software packages for data exfiltration and security threats directly within their IDE across npm, PyPI, Cargo, and Maven ecosystems. This
Enables users to scan software packages for data exfiltration and security threats directly within their IDE across npm, PyPI, Cargo, and Maven ecosystems. This tool helps ensure the safety of project dependencies by identifying potential risks before they are integrated.
MCP server for Depfender — scan packages for data exfiltration and security threats directly from your IDE.
Add to your Cursor MCP settings:
{
"mcpServers": {
"depfender": {
"command": "npx",
"args": ["@depfenderdev/mcp"]
}
}
}
claude mcp add depfender -- npx @depfenderdev/mcp
Add to your VS Code MCP settings (.vscode/mcp.json):
{
"mcpServers": {
"depfender": {
"command": "npx",
"args": ["@depfenderdev/mcp"]
}
}
}
scan_packageScans a package for data exfiltration and security threats.
Parameters:
package (required) — package name (e.g., lodash)version (optional) — version to scan (defaults to latest)ecosystem (optional) — package ecosystem: npm, pypi, cargo, maven (default: npm)npm install
npm run build
| Variable | Required | Description |
|---|---|---|
DEPFENDER_API_URL |
Yes | Backend API URL (e.g., http://localhost:3000) |
DEPFENDER_API_KEY |
Yes | Backend API secret (x-internal-secret value) |
Add to your MCP settings (e.g., Claude Desktop claude_desktop_config.json):
{
"mcpServers": {
"depfender": {
"command": "node",
"args": ["/path/to/mcp/dist/index.js"],
"env": {
"DEPFENDER_API_URL": "http://localhost:3000",
"DEPFENDER_API_KEY": "your-api-secret"
}
}
}
}
npm test # Run all tests
npm run test:watch # Watch mode
E2E tests require DEPFENDER_API_KEY and a running backend:
DEPFENDER_API_KEY=your-secret DEPFENDER_API_URL=http://localhost:3000 npm test
npm run dev # Run with tsx (no build needed)
npm run build # Compile TypeScript
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"depfender-mcp-server": {
"command": "npx",
"args": []
}
}
}