Comment MCP Server

Webpack loader that strips comments which can be used on its own too

Local serverstdioTypeScript

What is the Comment MCP server?

Comment MCP server exists for a simple reason — assistants are far more useful when they can act on Comment directly instead of describing what you should do. Webpack loader that strips comments which can be used on its own too.

What you get

comment-stripper is a webpack loader that strips away all or some of the comments while processing the source files.

Setting it up

The server ships on npm as comment-stripper, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

What the assistant can call

Once Comment is connected, these are the calls the assistant has available:

  • Installation — The Installation tool exposed by this server
  • Configuration — Simply add comment-stripper to your loaders in webpack.config.js:
  • Options — By default, comment-stripper removes all unimportant comments and hoists the protected ones, dropping duplicates, to the top of the output. This

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the comment mcp server does with a few real requests.

Choosing this one

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Comment's toolset — Installation, Configuration, Options — is a fair guide to whether it matches your workflow. It is maintained by amoo_miki; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Comment's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
InstallationThe Installation tool exposed by this server.
ConfigurationSimply add comment-stripper to your loaders in webpack.config.js:
OptionsBy default, comment-stripper removes all unimportant comments and hoists the protected ones, dropping duplicates, to the top of the output. This behavior can be modified:

How to install the Comment MCP server

{
  "mcpServers": {
    "comment-stripper": {
      "command": "npx",
      "args": ["-y", "comment-stripper"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Comment to Installation.
  • Use Comment to Configuration.
  • Use Comment to Options.

Frequently asked questions

It connects Comment to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (Installation, Configuration, Options) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Comment directly.