get-helpLABSCO SUMMARY
The approval prompt it removes is also the safety net it removes.
For a project you own, replacing a dozen terminal approvals with tool calls is a real improvement, and the background handling means a dev server does not hang the session. Just read that trade honestly — the README does, in plain terms — and keep it scoped to projects where an unattended script cannot do damage.
What it is
A small server that wraps the things a JavaScript project already does. Tests, builds, installs and scripts become tools, which means better error context and no terminal approval prompt on every call.
What you get
- run-tests, with the test framework detected and failures reported with context
- build-project, aware of the framework it is building
- install-deps, using npm, yarn or pnpm according to the lock file it finds
- run-script for any npm script, with arguments and a configurable timeout
- list-scripts to see and categorise what the project defines
- project-status for framework detection and a health check on an unfamiliar project
- get-help, which recommends which of the others to reach for
- Background detection by script name — dev, start, serve and watch go to the background; builds, tests and installs do not
Requirements
Node and npx; nothing to install permanently. Be deliberate about where you point it: the maintainer's own warning is that this lets an assistant run npm scripts without the usual per-command approval, so it should not be left unsupervised.
Setup effort
One command — npx js-mcp
USE CASES
Running the test suite and getting a usable failure
Let it detect the framework and report the failure with context rather than raw runner output.
Starting a dev server without hanging the session
Run the script and let it go to the background automatically because of what it is called.
Installing dependencies in a repo you did not set up
Let the lock file decide between npm, yarn and pnpm rather than guessing.
Working out what a project can even do
Check its status and list its scripts before running anything.
Building for release
Run the build with the framework recognised rather than as a bare shell command.
7 tools
Listed in project docs. Your client may show a different list.
run-testsbuild-projectinstall-depsrun-scriptlist-scriptsproject-statusBEFORE YOU INSTALL
What to know first
Tools you get
7 tools named in the project's documentation.
Requires
npx on PATH
Where it runs
Both documented clients run the server on your machine.
INSTALLATION
Connect your client
Server setup
npx js-mcpMCP Clients
VS Code
{
"servers": {
"js-mcp": {
"command": "npx",
"args": [
"js-mcp"
]
}
}
}Claude Desktop
{
"mcpServers": {
"js-mcp": {
"command": "npx",
"args": [
"js-mcp"
]
}
}
}