How does comment-stripper-mcp remove comments?
It uses regex-based pattern matching specifically tailored for each supported language to identify and remove both single-line and multi-line comments.
@yhzion
Basic information
A flexible MCP server that batch processes code files to remove comments across multiple programming languages. Currently supports JavaScript, TypeScript, and Vue files with regex-based pattern matching. Handles individual files, directories (including subdirectories), and text i
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
comment-stripper-mcp is an MCP server that batch processes code files to remove comments across multiple programming languages using regex-based pattern matching. It supports JavaScript, TypeScript, Vue, CSS/SCSS/LESS, HTML, Python, Java, C#, C++, Ruby, and PHP files. The server is built with Node.js and TypeScript, following Test-Driven Development methodology.
Install Node.js 18+, clone the repository, and install dependencies. Use npm run dev for development or npm run build && npm start for production. The server runs on port 3000 by default. Configure via environment variables in a .env file. The main endpoint is POST /api/strip-comments accepting text, filePath, directoryPath, recursive, fileTypes, and trackProgress parameters.
It uses regex-based pattern matching specifically tailored for each supported language to identify and remove both single-line and multi-line comments.
JavaScript, TypeScript, Vue, CSS/SCSS/LESS, HTML, Python, Java, C#, C++, Ruby, and PHP files.
Node.js 18 or higher, with npm or yarn installed.
Through environment variables defined in a `.env` file, covering port, host, log level, performance settings (chunk size, max workers, memory limit), and API authentication key.
Use absolute paths in the Claude Desktop config, ensure clean Node.js environment (e.g., via NVM), and check log files. The server includes stability improvements like `process.stdin.resume()` and keep-alive mechanisms.
A curated list of references for MLOps

A good sequence diagram can solve almost any communication problem in engineering. Volley lets your agent write them as plain text, with the real request and response payloads on every arrow. It checks its own syntax wi
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

Connect your AI assistant to your own YOUB endurance training account. Read recorded activities with full analysis, planned sessions, race goals, wellness (HRV, sleep, resting HR) and your athletic profile. Create or mov

Health by Dr Brad works out a health plan from your own results: which screening is due at your age, and evidence-based suggestions, each with the reason and the published guideline or study behind it. Your record is one
Comments