unplugin-mcp
@situ2001
About unplugin-mcp
A unified plugin for developers integrating MCP servers into modern JavaScript build tools, including Webpack, Rollup, Vite, and more.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"unplugin-mcp": {
"type": "http",
"url": "http://localhost:14514/mcp/sse"
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is unplugin-mcp?
unplugin-mcp is a unified MCP (Model Context Protocol) plugin that creates and manages an MCP server, providing AI assistants with tools to analyze your codebase, inspect build configuration, and control the build process. It works with multiple JavaScript build tools through the unplugin abstraction, including Rollup, Vite, Webpack, ESBuild, Rspack, and Rolldown.
How to use unplugin-mcp?
Install the plugin with pnpm add -D unplugin-mcp (or the bundler-specific package like rollup-plugin-mcp). Add it to your build config (e.g., rollup.config.js) and provide built-in or custom tools via the provideUnpluginMcpTools option. The MCP server starts automatically when you run your build tool in watch mode. Then configure your MCP client (e.g., Cursor) to connect to the server’s SSE endpoint, typically http://localhost:14514/mcp/sse.
Key features of unplugin-mcp?
- Cross-platform MCP integration for multiple JavaScript build tools.
- Bi-directional AI integration for both reading and modifying builds.
- Rich built-in tools for module, config, error, and size analysis.
- Extensible tool framework via the
UnpluginMcpToolinterface. - Seamless integration with build tool plugin hooks (e.g., Rollup).
- Persistent server that stays alive in watch mode.
- Standard HTTP + SSE transport for broad MCP client compatibility.
Use cases of unplugin-mcp?
- AI assistant analyzing module dependencies and imports in a Rollup project.
- Inspecting current build configuration through a chat interface.
- Debugging build errors by asking the AI to examine error details.
- Enabling an AI to modify the build process (e.g., adjust plugin options) during development.
- Exposing project-specific information to MCP clients via custom tools.
FAQ from unplugin-mcp?
Is unplugin-mcp production ready?
No, it is a work in progress and not yet ready for production use.
Which build tools are supported?
It supports any build tool that works with the unplugin abstraction: Rollup, Vite, Webpack, ESBuild, Rspack, and Rolldown.
How does the MCP server communicate?
The server uses HTTP and Server-Sent Events (
More Developer Tools MCP servers
Smithery CLI
smithery-aiInstall, manage and develop MCP servers and skills for agents
Serena
oraiosA powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent
Burp Suite MCP Server Extension
PortSwiggerMCP Server for Burp
nuxt-mcp / vite-plugin-mcp
antfuMCP server helping models to understand your Vite/Nuxt app better.
MCP Unity Editor (Game Engine)
CoderGamesterModel Context Protocol (MCP) plugin to connect with Unity Editor — designed for Cursor, Claude Code, Codex, Windsurf and other IDEs
Comments