MCP Catalogs
Home

unplugin-mcp

by situ2001·31·Score 41

A unified plugin for integrating MCP servers into JavaScript build tools like Webpack, Rollup, and Vite.

developer-toolsai-llmops-infra
2
Forks
1
Open issues
2 mo ago
Last commit
2d ago
Indexed

Overview

unplugin-mcp creates and manages an MCP server within build tools, enabling AI assistants to understand and control the build process. It provides bi-directional integration where AI can both receive context about the codebase and actively modify build configurations. The plugin offers several built-in tools for analyzing module dependencies, inspecting build configurations, and debugging errors, while also allowing developers to create custom tools through a simple interface.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Enable AI assistants to understand module dependencies and build configurations during development
you:Allow AI to debug build errors and provide suggestions for fixing them
you:Integrate AI directly into the build process to automatically optimize bundling or resolve dependencies
you:Which build tools are supported?
you:Can I create custom MCP tools?

When to choose this

Choose this when you want AI assistants to understand and interact with your JavaScript build process and you're already using tools like Rollup or Webpack.

When NOT to choose this

Don't choose this if you need a production-ready solution (currently marked as work in progress), or if you're using build tools not yet supported like Vite.

Tools this server exposes

4 tools extracted from the README
  • ModuleTool

    Analyze module dependencies and imports

  • BuildConfigTool

    Inspect build configuration

  • BuildErrorTool

    Debug build errors

  • BundleSizeTool

    Inspect size of bundle and its modules

Comparable tools

vite-plugin-mcpwebpack-mcp-serverbuild-tools-mcp

Installation

# Install the plugin
pnpm add -D unplugin-mcp

# or install bundler-specific one
pnpm add -D rollup-plugin-mcp

For Claude Desktop, add to your claude_desktop_config.json:

{
  "mcpServers": {
    "rollup": {
      "url": "http://localhost:14514/mcp/sse"
    }
  }
}

FAQ

Which build tools are supported?
Currently supports Rollup, Webpack, Vite, ESBuild, Rspack, and Rolldown. More are planned.
Can I create custom MCP tools?
Yes, you can implement the UnpluginMcpTool interface to create custom tools that expose project-specific functionality.

Compare unplugin-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.