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 (
「開発者ツール」の他のコンテンツ
Deepwiki MCP Server
regenrek📖 MCP server for fetch deepwiki.com and get latest knowledge in Cursor and other Code Editors
MCP-Bridge
SecretiveShellA middleware to provide an openAI compatible endpoint that can call MCP tools
Huoshan Test
volcengineGrafana MCP server
grafanaMCP server for Grafana
Stakpak Agent CLI
stakpakShip your code, on autopilot. An open source agent that lives on your machines 24/7 and keeps your apps running. 🦀
コメント