Overview
The DepFixer MCP (Model Context Protocol) server lets AI coding assistants analyze your dependencies, check compatibility, and plan migrations — all from within your IDE.Setup
Claude Code
Add to your project’s.claude/settings.json or global settings:
Cursor
Add to.cursor/mcp.json in your project root:
Windsurf
Add to your Windsurf MCP configuration:The API key is optional. Without it, you get audit-mode analysis (issues found but no fix recommendations). With an API key, you get full analysis + migration planning.Get your API key at app.depfixer.com/dashboard/api-keys.
Available Tools
depfixer_analyze
Analyze a package.json for dependency conflicts and health issues. Input:packageJson(string): The raw contents of a package.json file
depfixer_check_compatibility
Check if a specific package version is compatible with your framework. Input:packageName(string): The npm package namepackageVersion(string): The version to checkframework(string): Framework name (angular, react)frameworkVersion(string): Your framework version
depfixer_migrate
Plan a framework migration with health score projections. Input:packageJson(string): The raw contents of a package.json filetargetFramework(string): Target framework nametargetVersion(string): Target version
Environment Variables
| Variable | Description | Default |
|---|---|---|
DEPFIXER_API_URL | API endpoint URL | https://api.depfixer.com/api/v1 |
DEPFIXER_API_KEY | Your DepFixer API key | --- (optional) |
Local Development
To test with a local DepFixer server:Troubleshooting
”API key required”
Some tools (migrate) require an API key. AddDEPFIXER_API_KEY to your MCP config env.
Tools not appearing
Restart your IDE after changing MCP configuration. Check thatnpx @depfixer/mcp-server runs without errors.