Rsdoctor logo

Rsdoctor

Analyzes Rspack builds for output issues, bottlenecks, dependency problems, and optimization opportunities through MCP.

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 brings Rspack build analysis into agent workflows. It provides build data for investigating compilation timing, output structure, module dependencies, loader and plugin execution, and module resolution. Diagnostic checks cover duplicate packages and ECMAScript syntax versions, while analysis results can support automated JavaScript optimization. Reach for it when an Rspack build needs performance investigation or a closer look at generated assets and build behavior.

Use cases

  • Investigate slow Rspack compilation stages
  • Inspect oversized assets and module dependencies
  • Find duplicate packages in build output
  • Review loader, plugin, and module-resolution behavior
  • Ask agents to diagnose JavaScript build issues

Key features

  • Rspack compilation visualization
  • Build output and asset analysis
  • Loader and plugin execution inspection
  • Module dependency and resolution analysis
  • Duplicate-package diagnostics
  • ECMAScript syntax version checks

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.

31/31 checks healthy over the last 53d

Adoption & maintenance

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

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

How Rsdoctor works

What rsdoctor MCP server does

rsdoctor MCP server connects agent workflows with build analysis for projects in the Rspack ecosystem. Rsdoctor examines both how a build runs and what it produces, giving developers and agents information to investigate build issues, understand performance bottlenecks, and identify possible optimization opportunities in JavaScript programs.

The analysis spans compilation timing, generated assets, output sizes, module dependencies, loader and plugin execution, and module resolution. It also includes diagnostic checks for duplicate packages and ECMAScript syntax versions. These checks can help explain unexpected output, identify avoidable dependency duplication, and find syntax-level compatibility concerns in a build.

How it works

Rsdoctor analyzes Rspack build data and makes that information available to agents. The agent can use the resulting data to examine the compilation process, compare the relative cost of build stages, inspect output composition, and investigate relationships between modules and dependencies.

Compilation visualization provides a way to follow build timing and processing behavior rather than looking only at the final bundle. Output analysis adds visibility into assets and their sizes, while build-process analysis focuses on loaders, plugins, and module resolution. Together, these views support diagnosis from both the source-processing and generated-output sides of a build.

Agent-driven analysis is intended for automated diagnosis and optimization of JavaScript programs. Rsdoctor therefore fits workflows where an agent needs structured build information to guide investigation instead of relying only on a developer’s manual inspection of build logs or artifacts.

Tools and capabilities

  • Inspect generated assets and output sizes.
  • Examine module dependencies within build output.
  • Visualize compilation steps and timing.
  • Inspect loader and plugin execution.
  • Review module-resolution behavior.
  • Run checks for duplicate packages and ECMAScript syntax versions.

These capabilities are relevant to both troubleshooting and optimization. For example, output inspection can help locate unusually large assets, while process analysis can point toward expensive loaders, plugins, or resolution behavior. Diagnostic checks provide additional signals for dependency and syntax-related build problems.

Limitations and notes

Rsdoctor is designed around the Rspack ecosystem and its build analysis model. Its documented analysis areas center on compilation, output, dependencies, build processing, and diagnostics for JavaScript programs. It is best suited to developers working with Rspack builds who need visibility into build behavior or want agents to assist with diagnosis and optimization.

Rsdoctor is part of the broader Rstack toolchain, alongside projects such as Rspack, Rsbuild, Rslib, Rspress, Rstest, Rslint, and the Rstack CLI. The project is licensed under the MIT License.

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 build analysis data from Rspack projects. Its main capabilities cover compilation visualization, output inspection, build-process analysis, and diagnostic checks. Agents can use that data to investigate build issues, locate performance bottlenecks, detect duplicate packages, and assess ECMAScript syntax versions.

rsdoctor analyzes Rspack compilation, generated assets, output sizes, module dependencies, loader and plugin execution, and module resolution. It also runs checks for duplicate packages and ECMAScript syntax versions, giving developers and agents information for investigating build issues and performance bottlenecks.

rsdoctor provides build data that agents can use for automated diagnosis and optimization of JavaScript programs. Compilation timing, output sizes, dependencies, loaders, plugins, and resolution behavior help identify areas that may contribute to slow builds or inefficient output.

Yes, rsdoctor is a build analysis tool for the Rspack ecosystem. It examines Rspack compilation and output, including assets, module dependencies, build-process execution, and diagnostic signals relevant to Rspack projects.

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>