πŸ“¦ NPM Helper - A tool to help your ai assistant with npm package management.πŸ€–

by pinkpixel-dev

8 stars
422 downloads
Not rated
GitHub Website

About

A Model Context Protocol (MCP) server providing tools for NPM package management and dependency updates. Helps LLMs like Claude interact with npm packages, search npm registry, and keep dependencies up-to-date.

Details

Author
pinkpixel-dev
GitHub stars
8
Downloads
422
Categories
AI, Developer Tools, Other

- Scan package.json for outdated dependencies
- Upgrade dependencies to latest versions with conflict resolution
- Run iterative upgrades and tests to detect breaking changes
- Search npmjs.org registry for packages and details
- Fetch full package page content and version history
- Set version upgrade constraints and filter specific packages

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name πŸ“¦ NPM Helper - A tool to help your ai assistant with npm package management.πŸ€–
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

You can run the server via npx -y @pinkpixel/npm-helper-mcp or install globally with npm install -g npm-helper-mcp. Configure your MCP client with the appropriate command and arguments, then the AI assistant can call tools like check_updates, upgrade_packages, search_npm, and others to manage your dependencies.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "\ud83d\udce6 npm helper - a tool to help your ai assistant with npm package management.\ud83e\udd16": {
            "npm-helper": {
                "command": "npx",
                "args": [
                    "-y",
                    "@pinkpixel/npm-helper-mcp"
                ]
            }
        }
    }
}

McpServers

{
    "npm-helper": {
        "command": "npx",
        "args": [
            "-y",
            "@pinkpixel/npm-helper-mcp"
        ]
    }
}

πŸ“¦ NPM Helper - A tool to help your ai assistant with npm package management.πŸ€– npm version

A Model Context Protocol server for NPM dependency management. This server provides tools for NPM package search and tools for updating npm packages, ensuring your project's dependencies are up to date and updated to their latest compatible versions, without any conflicts or headaches.

As a baseline, for a safe upgrade of any project's package.json, your assistant can call the upgradePackagets tool with the 'peer' parameter set to true. This will likely not update all of your dependencies to the latest versions, but it will safely upgrade them to the latest compatible versions, without any errors.

If you are looking for a full upgrade of all dependencies, your assistant has many tools and parameters to safely explore. Parameter options and examples are provider below, in the "Available Tools" section. You can also find more information in the 'docs' directory.

There are also tools available to search and retrieve information from npmjs, if you are exploring options for new packages to add to your project, or if you are looking for information on a specific package.

✨ Features

npm-check-updates Tools

- πŸ” checkUpdates: Scan package.json for outdated dependencies
- πŸš€ upgradePackages: Upgrade dependencies to latest versions
- πŸ”Ž filterUpdates: Check updates for specific packages
- πŸ”„ resolveConflicts: Handle dependency conflicts
- βš™οΈ setVersionConstraints: Configure version upgrade rules
- 🩺 runDoctor: Iteratively run upgrades and tests to detect breaking changes

NPM Search Tools

- πŸ” searchPackages: Search npmjs.org registry for packages
- πŸ“ fetchPackageContent: Scrape and extract content from npm package pages
- πŸ“‹ getPackageVersions: Retrieve version history of packages
- πŸ“ getPackageDetails: Fetch detailed package metadata

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.