File System · Developer Tools

Comment Stripper MCP logo

Comment Stripper MCP

yhzion/comment-stripper-mcp

A flexible MCP server that batch processes code files to remove comments across multiple programming languages. Currently supports JavaScript, TypeScript, Vue, CSS/SCSS/LESS, HTML, Python, Java, C#, C++, Ruby, and PHP files with regex-based pattern matching.

Install

Client configuration

{
  "mcpServers": {
    "comment-stripper": {
      "command": "/절대/경로/node",
      "args": [
        "/절대/경로/comment-stripper-mcp/build/index.js"
      ]
    }
  }
}

Environment variables

LOG_DIRAPI_KEY
Author
@yhzion
Category
File System, Developer Tools
License
ISC
Updated
Oct 6, 2026

About Comment Stripper MCP

This server implements the Model Context Protocol (MCP) to provide a service that removes comments from code files. It accepts individual files, directories (including subdirectories), or direct text input, and returns the cleaned code with comments stripped out.

Features

  • Process files, directories, or raw text input

  • Cross-language support (JS, TS, Vue, CSS/SCSS/LESS, HTML, Python, Java, C#, C++, Ruby, and PHP)

  • Recursively handle nested directories

  • Regex-based pattern matching for efficient comment removal

  • MCP-compliant API for easy integration

  • Built with Node.js and TypeScript

  • Comprehensive logging system with multiple log levels

  • Robust error handling with standardized error responses

  • Flexible configuration through environment variables

  • Performance optimization for processing large files

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS

Related MCP servers

More servers
MCP Filesystem Server logo

MCP Filesystem Server

mark3labs/mcp-filesystem-server

221

This MCP server provides secure access to the local filesystem via the Model Context Protocol (MCP).

File System
mcpsvr logo

mcpsvr

nanbingxyz/mcpsvr

163

A community-driven directory for discovering, reviewing, and contributing MCP servers.

File System
MCP Text Editor logo

MCP Text Editor

tumf/mcp-text-editor

89

A Model Context Protocol (MCP) server that provides line-oriented text file editing capabilities through a standardized API. Optimized for LLM tools with efficient partial file access to minimize token usage.

File System
AiDD (Dev Workflows) logo

AiDD (Dev Workflows)

skydeckai/skydeckai-code

56

An MCP server that provides a comprehensive set of tools for AI-driven development workflows. Features include file system operations, code analysis using tree-sitter for multiple programming languages, code execution, web content fetching with HTML-to-markdown conversion, multi-engine web search, code content searching, and system information retrieval.

File System
Claude MCP Setup logo

Claude MCP Setup

patruff/claude-mcp-setup

45

Greetings, human! You've wisely chosen to surrender control of your computer to an army of helpful Model Context Protocol (MCP) robots. This script will deploy our mechanical minions across your Windows system.

File System
MCP PDF Tools logo

MCP PDF Tools

hanweg/mcp-pdf-tools

37

An MCP (Model Context Protocol) server that provides PDF manipulation tools. This server allows LLMs to perform operations like merging PDFs and extracting pages through the Model Context Protocol.

File System