JS Development MCP Server

JS Development MCP Server

A Model Context Protocol server for JavaScript/TypeScript development, providing tools to run scripts, tests, builds, and dependency management with framework and package manager detection.

Category
Visit Server

README

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.

<img src="https://github.com/Tymek/js-mcp/raw/master/js-mcp-demo.gif" alt="JS MCP Demo" style="max-width: 500px;">

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-mcp

For 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 testrun-tests (framework detection, better errors)
  • npm run buildbuild-project (optimization detection)
  • npm installinstall-deps (auto-detects npm/yarn/pnpm)
  • npm run <script>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 <repo>
npm install
npm run build
npm start

License

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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured