Rsdoctor logo

Rsdoctor

Analyzes Rspack builds, visualizes compilation data, and provides build optimization recommendations.

Install Rsdoctor

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for rsdoctor, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

The rsdoctor MCP server analyzes Rspack project builds and returns build analysis and optimization recommendations. It covers compilation behavior, build artifacts, build-time activity, and selected build rules. Reach for it when an AI agent needs to inspect Rspack build performance, dependencies, package duplication, or ECMAScript version issues.

Use cases

  • Inspect Rspack compilation time
  • Analyze generated resources and module dependencies
  • Find duplicate packages in build rules
  • Check ES versions in build output
  • Add custom scan rules for build data

Key features

  • Rspack build analysis
  • Compilation visualization
  • Build-artifact and dependency analysis
  • Loader, Plugin, and Resolver analysis
  • Duplicate package and ES version checks
  • Custom scan rule support

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

7/7 checks healthy over the last 38d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1.1kStargazers on the source repository.
Last commitTodayMost recent push to the default branch.

How Rsdoctor works

What the rsdoctor MCP server does

The rsdoctor MCP server connects agent-driven analysis with Rsdoctor, a build analyzer designed for projects using Rspack. Its purpose is to make build behavior easier to inspect and to surface recommendations for improving build performance and engineering quality.

Analysis spans several parts of the build. Compilation visualization shows compilation behavior and time consumption. Build-artifact analysis covers resource lists and module dependencies. Build-time analysis examines Loader, Plugin, and Resolver activity. Built-in build rules can detect duplicate packages and check ES versions.

The rsdoctor MCP server is therefore suited to developers investigating why an Rspack build is slow, unexpectedly large, difficult to understand, or changing in ways that may cause regressions. It is focused on Rspack rather than serving as a general-purpose analyzer for every JavaScript bundler.

How it works

Rsdoctor gathers data from an Rspack build and uses that data for visualization, analysis, and rule-based checks.

The underlying analyzer supports multiple views of build data. Resource and dependency information helps inspect generated output and relationships between modules. Loader, Plugin, and Resolver analysis provides visibility into build-time processing. Build rules add checks for conditions such as repeated packages and unsupported or unexpected ES versions.

Custom scan rules are also supported. Teams can add their own component scan rules using Rsdoctor build data, alongside the built-in checks. This makes the analysis extensible when the standard rules do not cover a project-specific requirement.

Setup and configuration

Start with the Rsdoctor Quick Start documentation and configure it for an Rspack project.

Projects built with webpack should not assume compatibility with the current Rsdoctor version. The README directs webpack users to continue using Rsdoctor 1.x or migrate to Rspack, with a separate migration guide available for that process.

Limitations and notes

The rsdoctor MCP server should be considered when the target build uses Rspack.

Those details should be verified in the implementation or project documentation before deployment.

Rsdoctor is licensed under the MIT License. The project is part of the Rstack JavaScript toolchain, alongside tools including Rspack, Rsbuild, Rslib, Rspress, Rstest, and Rslint.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Rsdoctor

rsdoctor is an MCP server that connects AI agents to Rspack project build analysis and provides optimization recommendations. Its documented scope covers compilation visualization, build-artifact and build-time analysis, build rules, and custom scan rules. It is intended for examining Rspack builds, not webpack projects in the current version.

Use the Rsdoctor Quick Start documentation for installation and setup guidance.

The current Rsdoctor version is tailored to Rspack, not webpack. The README advises webpack projects to continue using Rsdoctor 1.x or migrate to Rspack, and links to a migration guide.

Rsdoctor can analyze compilation behavior and time, build resources, module dependencies, Loader activity, Plugin activity, Resolver activity, duplicate packages, and ES versions. It also supports custom scan rules based on collected build data.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewRsdoctor AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/rsdoctor?style=directory)](https://allmcps.com/mcp/rsdoctor)
HTML Embed
<a href="https://allmcps.com/mcp/rsdoctor"><img src="https://allmcps.com/api/badge/rsdoctor?style=directory" alt="Rsdoctor on AllMCPs" /></a>