
situ2001/unplugin-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
開発者がMCPサーバーをWebpack、Rollup、Viteなどの最新のJavaScriptビルドツールに統合するための統合プラグイン.
概要
これは進行中です。 生産使用はまだ準備ができていません。 興味を持ち、助けたい場合は、問題やPRを自由に開くようにしてください。 MCP Server を作成および管理する MCP (Model Context Protocol) プラグインを統一し、AI がコードベース、ビルドツールについてもっと知ることができる MCP ツールを提供します。 これは、ロールアップ、Vite、Webpackなどのunpluginがサポートする複数のJavaScriptビルドツールで動作します。 ここでは、MCP クライアントに統一された MCP サーバーと MCP ツールを提供するために、このプラグインのビジョンです。 - OST : MCP サーバーを複数のビルドツール間でシームレスに作成および管理します。 - 🧩 : あなたのコードベースについてAIアシスタントにコンテキストを提供するだけでなく、AIが構築プロセスを積極的に変更および制御できるようにします。 - : モジュールの依存関係を分析するための組み込みツールのコレクション、ビルド構成の検査、エラーメッセージのデバッグなど.
概要(AI 翻訳)
【重要】 これは進行中です。 生産使用はまだ準備ができていません。 興味を持ち、助けたい場合は、問題やPRを自由に開くようにしてください。
MCP Server を作成および管理する MCP (Model Context Protocol) プラグインを統一し、AI がコードベース、ビルドツールについてもっと知ることができる MCP ツールを提供します。 これは、ロールアップ、Vite、Webpackなどのunpluginがサポートする複数のJavaScriptビルドツールで動作します。
ここでは、MCP クライアントに統一された MCP サーバーと MCP ツールを提供するために、このプラグインのビジョンです。
##特徴
- OST Cross-Platform MCPインテグレーション:複数のビルドツール間でMCPサーバーをシームレスに作成および管理します。
- 🧩 双方向AI統合: あなたのコードベースについてAIアシスタントにコンテキストを提供するだけでなく、AIが構築プロセスを積極的に変更および制御できるようにします。
- レイチ組み込みツール**: モジュールの依存関係を分析するための組み込みツールのコレクション、ビルド構成の検査、エラーメッセージのデバッグなど。
- ✓Extensible Tool Framework:プロジェクト固有の情報や機能を公開するためのシンプルな[[[
UnpluginMcpTool]インターフェイスでカスタムMCPツールを作成します.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
unplugin-mcp
[!IMPORTANT] This is a work in progress. Not ready for production use yet. If you are interested in and want to help, feel free to open an issue or PR.
A unified MCP (Model Context Protocol) plugin that creates and manages an MCP Server and provides MCP tools by which AI can know more about your codebase, build tools, and even control the build process. It works with multiple JavaScript build tools supported by unplugin, including Rollup, Vite, Webpack, and others.
Here is the vision of this plugin, to provide a unified MCP Server and MCP tools to MCP Client.
flowchart LR
subgraph "Build tools"
Rollup["Rollup"]
Vite["Vite"]
ESBuild["ESBuild"]
Webpack["Webpack"]
Rspack["Rspack"]
Rolldown["Rolldown"]
end
subgraph "unplugin-mcp (This plugin)"
unplugin["unplugin"]
McpTool["UnpluginMcpTool"]
McpServer["MCP Server"]
HTTPServer["HTTP Server"]
end
subgraph "MCP Clients"
Cursor["Cursor"]
VSCode["VSCode"]
More["More"]
end
Rollup & Webpack & Vite & ESBuild & Rspack & Rolldown --> unplugin
unplugin --> McpTool
McpTool --> McpServer
McpServer --> HTTPServer
HTTPServer --> Cursor & VSCode & More
Features
- 🚀 Cross-Platform MCP Integration: Creates and manages an MCP server seamlessly across multiple build tools.
- 🧩 Bi-directional AI Integration: Not only provides context to AI assistants about your codebase, but also enables AI to actively modify and control your build process.
- 🧰 Rich built-in tools: Collection of built-in tools for analyzing module dependencies, inspecting build configuration, debugging error messages, and so on.
- 🛠️ Extensible Tool Framework: Create custom MCP tools with the simple
UnpluginMcpToolinterface to expose project-specific information or functionality. - 🔍 Build Process Integration: Seamlessly integrates at any point in the plugin chain and hooks of your build tools like Rollup.
- 🔄 Persistent Server: Keeps running even after build completion in watch mode, enabling continuous AI interaction.
- 🌐 Standard Transport Layer: Uses HTTP and Server-Sent Events (SSE) for broad compatibility with AI assistants implementing the MCP protocol.
Installation
# Install the plugin
pnpm add -D unplugin-mcp
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"rollup": {
"url": "http://localhost:14514/mcp/sse"
}
}
}