Depfender MCP Server
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.
README
<p align="center"> <img src="https://depfender.dev/logo.png" alt="Depfender" width="200" /> </p>
<h1 align="center">@depfenderdev/mcp</h1>
<p align="center"> MCP server for Depfender — scan packages for data exfiltration and security threats directly from your IDE. </p>
<p align="center"> <a href="https://depfender.dev"><img src="https://img.shields.io/badge/Website-depfender.dev-blue" alt="Website" /></a> <a href="https://www.npmjs.com/package/@depfenderdev/mcp"><img src="https://img.shields.io/npm/v/@depfenderdev/mcp" alt="npm" /></a> <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-green" alt="License" /></a> </p>
Installation
Cursor
Add to your Cursor MCP settings:
{
"mcpServers": {
"depfender": {
"command": "npx",
"args": ["@depfenderdev/mcp"]
}
}
}
Claude Code
claude mcp add depfender -- npx @depfenderdev/mcp
VS Code
Add to your VS Code MCP settings (.vscode/mcp.json):
{
"mcpServers": {
"depfender": {
"command": "npx",
"args": ["@depfenderdev/mcp"]
}
}
}
Tools
scan_package
Scans 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)
Development
Setup
npm install
npm run build
Environment Variables
| 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) |
Local IDE Configuration
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"
}
}
}
}
Testing
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
Scripts
npm run dev # Run with tsx (no build needed)
npm run build # Compile TypeScript
Community
- GitHub Discussions — Questions and ideas
- Twitter/X — Updates and announcements
- Website — Full documentation
License
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.