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
基本信息
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
工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
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.
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
🚀 The fast, Pythonic way to build MCP servers and clients.

Request dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3
Painless E2E Automation for Mobile and Web
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
评论