MCP.so
ログイン

Rollup Plugin MCP Server

@situ2001

基本情報

カテゴリ

開発者ツール

ライセンス

MIT

トランスポート

stdio

作者

situ2001

Rollup Plugin MCP Server について

A unified plugin for developers integrating MCP servers into modern JavaScript build tools, including Webpack, Rollup, Vite, and more.

Rollup Plugin MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

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

Rollup Plugin MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンでサーバーのエンドポイントに接続し、ツール一覧を取得できます。

概要

What is rollup-plugin-mcp?

rollup-plugin-mcp is a plugin for Rollup that creates and manages an MCP (Model Context Protocol) server. It provides tools that let AI assistants inspect your codebase, analyze build configuration, debug errors, and even control the build process. It is part of the unplugin-mcp ecosystem, which also supports Vite, Webpack, ESBuild, Rspack, and Rolldown.

How to use rollup-plugin-mcp?

Install with pnpm add -D rollup-plugin-mcp (alternatively unplugin-mcp). In your rollup.config.js, import the plugin and add it to the plugins array, providing built-in tools like ModuleTool, BuildConfigTool, and BuildErrorTool. Run Rollup in watch mode (rollup -w) to start the server. In Cursor, add an MCP server entry in ~/.config/cursor/mcp.json pointing to http://localhost:14514/mcp/sse.

Key features of rollup-plugin-mcp

  • Cross‑platform MCP integration across multiple build tools.
  • Bi‑directional AI Integration: context and build control.
  • Rich built‑in tools for dependencies, config, errors.
  • Extensible Tool Framework via UnpluginMcpTool interface.
  • Build Process Integration at any plugin hook.
  • Persistent server in watch mode for continuous AI interaction.
  • Standard transport using HTTP and Server‑Sent Events (SSE).

Use cases of rollup-plugin-mcp

  • AI assistant analyzing module dependencies during a Rollup build.
  • AI assistant inspecting build configuration to verify settings.
  • AI assistant debugging build errors by querying the server.
  • AI assistant modifying the build process through custom tools.
  • Continuous AI interaction in watch mode after build completion.

よくある質問

1

What build tools does it support?

It supports Rollup, Vite, Webpack, ESBuild, Rspack, and Rolldown via the unplugin framework. The `rollup-plugin-mcp` package is specifically for Rollup.

2

How does the server communicate with AI clients?

The server uses HTTP with Server‑Sent Events (SSE) as the transport layer, compatible with MCP clients like Cursor and VS Code.

3

How do I create custom tools?

Implement the `UnpluginMcpTool` interface with `setupMcpServer` and `registerPlugins` methods, then provide the instance via the `provideUnpluginMcpTools` option in the plugin config.

コメント

「開発者ツール」の他のコンテンツ