js-mcp
MCP server for JS/TS development with intelligent project tooling and testing capabilities
Documentation
JS Development MCP Server
A Model Context Protocol (MCP) server for better JS/TS development. It enables
- accurate scripts use
- project tooling discovery
- improved background tasks
Better context leads to less friction and struggle with project tooling.
Warning: Using this has a YOLO vibe coding factor of arbitrary 8/10 – No warranty if this breaks your project, computer, or your life, but it _probably_ won't. Don't leave your agents unsupervised. This server allows you to run npm scripts in VSCode copilot without manual terminal command approval every time, so be careful.
Quick Start
npx js-mcpFor VSCode / Claude Desktop:
{
"mcpServers": {
"js-mcp": {
"command": "npx",
"args": ["js-mcp"]
}
}
}Instructions for LLM Agents & AI Assistants
> ### 🤖 Agent Instructions for JS/TS Projects
>
> In Javascript or Typescript projects, PREFER TO USE TOOLS INSTEAD OF TERMINAL COMMANDS:
>
> - `npm test` → run-tests (framework detection, better errors)
> - `npm run build` → build-project (optimization detection)
> - `npm install` → install-deps (auto-detects npm/yarn/pnpm)
> - `npm run ` → run-script (background detection, args support)
> - Checking package.json → list-scripts or project-status
>
> Benefits: No terminal approval prompts, enhanced error context, framework awareness, proper background task management.
>
> Workflow: Start with `get-help` for guidance, use `project-status` for unknown projects, then use specific tools.
Tools
1. get-help - Get intelligent recommendations for which tools to use
2. run-tests - Run project tests with framework detection and better errors
3. build-project - Build projects with optimization detection and framework awareness
4. install-deps - Install dependencies with auto-detected package manager (npm/yarn/pnpm)
5. run-script - Run npm scripts with background detection and argument support
6. list-scripts - List and categorize all available npm scripts
7. project-status - Check comprehensive project health and framework detection
Key Features
- Framework Detection: Next.js, React, Vue.js, Express, NestJS, and more
- Background Task Management: Auto-detection for dev servers, manual control, output capture
- Smart Error Handling: Contextual suggestions and dependency checking
- Package Manager Detection: Auto-detects npm, yarn, or pnpm from lock files
- Custom Timeout Support: Configure timeouts (1s-5m) for long-running commands, with smart defaults
Background Task Auto-Detection
Always Background: Scripts containing `dev`, `start`, `serve`, `watch`
Never Background: Scripts starting with `cleanup`, `clean`, `reset`, `install`, `build`, `compile`, `bundle`, `lint`, `format`, `test`, `deploy`, `publish`, `release`, `prepare`, `verify`, `check`, `validate`, `audit`, `update`, `upgrade`, `migration`, `migrate`, `seed`, `init`, `setup`, `config`
Development
Local development:
git clone
npm install
npm run build
npm startLicense
GPL-3.0 License
Contributing
Go ahead. Feel free to extend this project with additional tools as needed. I can't promise to review or merge PRs. This codebase is a gift, not a commitment.
Frequently asked questions
What is js-mcp?
js-mcp is MCP server for JS/TS development with intelligent project tooling and testing capabilities
How do I install js-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is js-mcp open source?
Yes — it is hosted on GitHub at https://github.com/Tymek/js-mcp and has 1 stars.
Related MCP tools
Model Context Protocol Servers
The Open-Source Multimodal AI Agent Stack: Connecting Cutting-Edge AI Models and Agent Infra
A MCP for Claude Desktop / Claude Code / Windsurf / Cursor to build n8n workflows for you
MCP server to provide Figma layout information to AI coding agents like Cursor
The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Instant is the best backend for AI-coded apps. You get auth, permissions, storage, presence, and streams — everything you need to ship apps your users will love.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP