1. Conduid
  2. Developer Tools
  3. Rsbuild Plugin MCP
MCP server · Developer Tools

Rsbuild Plugin MCP

MCP server: Rsbuild Plugin MCP

Unclaimed MIT devtools
55Fair

Scored 1 hours ago · breakdown

About Rsbuild Plugin MCP

Rsbuild Plugin MCP is an MCP server published by colinaaa in the Developer Tools category: mCP server: Rsbuild Plugin MCP.

The repository has 3 stars and 0 forks, with the last commit 6 hours ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/colinaaa/rsbuild-plugin-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (1)

get-rsbuild-configGet the fully resolved Rsbuild config

Parameters not published.

Ask AI

✦

Ask AI about Rsbuild Plugin MCP

Powered by Claude · Grounded in docs

I know everything about Rsbuild Plugin MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 5 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.1.0v0.1.0 · 10 Oct 2025What's Changed feat: make MCP server work by @colinaaa in https://github.com/colinaaa/rsbuild-plugin-mcp/pull/1 feat: add the `mcpServerSetup` option by @colinaaa in https://github.com/colinaaa/rsbuild-plugin-mcp/pull/2 chore: use `dprint`…

README

rsbuild-plugin-mcp

Rsbuild plugin that enables a MCP server for your Rsbuild app to provide information about your setup and modules graphs.

Usage

Install:

npm add rsbuild-plugin-mcp -D

Add plugin to your rsbuild.config.ts:

import { defineConfig } from '@rsbuild/core';
import { pluginMcp } from 'rsbuild-plugin-mcp';

export default defineConfig({
  plugins: [pluginMcp()],
});

Options

mcpRouteRoot

  • Type: string | undefined
  • Default: /__mcp

Customize the routes of the MCP server.

  • Example:
import { defineConfig } from '@rsbuild/core';
import { pluginMcp } from 'rsbuild-plugin-mcp';

export default defineConfig({
  plugins: [
    pluginMcp({
      mcpRouteRoot: '/api/__mcp',
    }),
  ],
});

Customize the MCP server

The MCP server can be extended with the following ways:

With plugin options

Use the mcpServerSetup to customize the MCP server.

import { defineConfig } from '@rsbuild/core';
import { pluginMcp } from 'rsbuild-plugin-mcp';

export default defineConfig({
  plugins: [
    pluginMcp({
      mcpServerSetup(mcpServer) {
        // Register tools, resources and prompts
        mcpServer.tool(); /** args */
        mcpServer.resource(); /** args */
        mcpServer.prompt(); /** args */
      },
    }),
  ],
});

You may also return a new McpServer instance to replace the default one:

import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import { defineConfig } from '@rsbuild/core';
import { pluginMcp } from 'rsbuild-plugin-mcp';

export default defineConfig({
  plugins: [
    pluginMcp({
      mcpServerSetup() {
        // Create a new `McpServer` and return
        const mcpServer = new McpServer();
        // Register tools, resources and prompts
        mcpServer.tool();
        return mcpServer;
      },
    }),
  ],
});

With other plugins

This plugin exposes the McpServer instance using api.expose.

You may use api.useExposed to get the instance and make customization:

import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'
import type { RsbuildPlugin } from '@rsbuild/core'

export function pluginFoo(): RsbuildPlugin {
  return {
    name: 'plugin-foo',
    pre: ['plugin-mcp'],
    setup(api) {
      if (api.isPluginExists('plugin-mcp')) {
        const mcpServer = api.useExposed<McpServer>('rsbuild-plugin-mcp:mcpServer')!
        // Register tools, resources and prompts
        mcpServer.tool(/** args */)
        mcpServer.resource(/** args */)
        mcpServer.prompt(/** args */)
      }
    },
  },
}

Credits

This plugin is inspired by vite-plugin-mcp. Both the implementation and documentation have been adapted and referenced from the original Vite plugin.

License

MIT.

README fetched from the repository 5 days ago. The original is authoritative.

Questions

About Rsbuild Plugin MCP

How do I install Rsbuild Plugin MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Rsbuild Plugin MCP safe to use with an AI agent?

Its trust score is 55 out of 100 (fair). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Rsbuild Plugin MCP still maintained?

Yes — the last commit was 6 hours ago. The repository has 3 stars and 0 forks and 8 open issues.