unplugin-mcp
@situ2001
关于 unplugin-mcp
A unified plugin for developers integrating MCP servers into modern JavaScript build tools, including Webpack, Rollup, Vite, and more.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"unplugin-mcp": {
"type": "http",
"url": "http://localhost:14514/mcp/sse"
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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 (
开发工具 分类下的更多 MCP 服务器
MCP Framework
QuantGeekDevThe Typescript MCP Framework
test
harlancA simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀
MCP Inspector
modelcontextprotocolVisual testing tool for MCP servers
OpenSumi
opensumiA framework helps you quickly build AI Native IDE products. MCP Client, supports Model Context Protocol (MCP) tools via MCP server.
test
prysmaticlabsGo implementation of Ethereum proof of stake
评论