MCP Server Studio

Pkgdiet MCP server

Dependency policy and MCP server to stop AI coding agents from installing risky npm packages.

Registry name: io.github.om-tajne/pkgdiet

Publisher
om-tajne
Runs
Runs locally
Package
npm
Version
2.0.1
Category
Developer tools
Updated
2026-10-30

Source code on GitHub

Set up Pkgdiet (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "pkgdiet": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ]
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add pkgdiet -- npx -y [email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "pkgdiet": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ]
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "pkgdiet": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ]
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "pkgdiet": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ]
    }
  }
}

More developer tools MCP servers