Npm Run MCP server
io.github.fstubner/npm-run-mcp-server·v0.2.13·3 starsAn MCP server that exposes package.json scripts as tools for agents.
3 stars51 downloads/wk
Reviews
Write oneNobody has reviewed Npm Run yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Npm Run tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-10-01 · same rubric, same numbers if you re-run it
- Code scan4 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 176 days ago8/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Npm Run compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 82/100
- higher than 63% of 48,273 servers
- GitHub stars
- 3
- more than 80% of 28,534 servers
- Downloads a week
- 51
- more than 44% of 11,915 servers with a package
Install Npm Run in Claude Code, Cursor or VS Code
Runs npx -y npm-run-mcp-server on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add npm-run-mcp-server -- npx -y npm-run-mcp-server
What the publisher says
From the Npm Run repository's README, as published. We do not edit it. Read it on GitHub
npm-run-mcp-server
Give your AI Agent the power to build, test, and deploy your project using your existing package.json scripts.
npm-run-mcp-server is a Model Context Protocol (MCP) server that automatically bridges your project's npm scripts to your AI assistant.
- 🔍 Auto-detects your project's package.json (no hardcoded paths).
- 📦 Works with everything: npm, pnpm, yarn, and bun.
- 🔒 Safe & Configurable: Whitelist specific scripts to prevent accidental execution.
- ⚡ Zero-config: Works out of the box, but scales with detailed config.
⚡ Quick Start
Connect your agent to your scripts in seconds. No global installation required—just let npx handle it.
Claude Desktop
Add this to your claudedesktopconfig.json:
{
"mcpServers": {
"npm-scripts": {
"command": "npx",
"args": ["-y", "npm-run-mcp-server"]
}
}
}Cursor
- Go to Settings > Features > MCP Servers.
- Click + Add New MCP Server.
- Enter the details:
- Type: command
- Name: npm-scripts
- Command: npx
- Args: -y npm-run-mcp-server
VS Code (GitHub Copilot)
Add this to your workspace .vscode/settings.json:
{
"github.copilot.chat.mcpServers": {
"npm-scripts": {
"command": "npx",
"args": ["-y", "npm-run-mcp-server"]
}
}
}🛠️ Configuration
While npm-run-mcp-server works instantly, you might not want your AI to have access to every script (like eject or publish). You can control this by creating an npm-run-mcp.config.json file in your project root.
Example Config
Create npm-run-mcp.config.json next to your package.json:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Npm Run: common questions
- Is Npm Run MCP server safe?
- Mostly: it is graded B (82/100). Read the Npm Run safety report
- How do I install Npm Run?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Npm Run need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Npm Run maintained?
- The last commit was 208 days ago (2026-04-08). The latest release is v0.2.13.
- How does Npm Run compare with other MCP servers?
- safety score 82/100 (higher than 63% of 48,273 servers); github stars 3 (more than 80% of 28,534 servers); downloads a week 51 (more than 44% of 11,915 servers with a package). Full comparison.