MCP React Toolkit
9 MCP servers for React/TypeScript — dep auditing, a11y, test gen, and TypeScript enforcement.
Connector by Nishant-Chaudhary5338 · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/nishant-chaudhary5338-mcp-react-toolkit
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.
- Tools
- 86 read · 31 write · 2 delete · 76 not yet classified
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Tools by what they do 195
Read from the source code; the running server may list different tools.
Read 86 · Look things up without changing anything.
analyze_bundle_impactanalyze_compiler_readinessanalyze_craanalyze_propsanalyze_reduxanalyze_test_gapsanalyze_toolanalyze-api-layeranalyze-assetsanalyze-componentsanalyze-dependencies-usageanalyze-folder-structure
Show 74 more tools
analyze-legacy-appanalyze-routinganalyze-state-managementanalyze-stylingapi-contract-differaudit_bundleaudit_keyboard_navbatch_analyzebundle-budget-guardcheck_budgetcheck_component_existscheck_memocheck_outdatedcheck_render_performancecheck_story_coverageclassify-filescollect_metricscompare_auditsconvert_svgdetect_heavy_importsdetect_missing_edge_casesdetect_rerendersdetect-anti-patternsdetect-boundary-violationsdetect-duplicationdetect-featuresdetect-project-techdetect-shared-modulesdiff_contractenforce-design-tokensextract_stringsfind_dependentsfind_duplicate_depsfind_shared_depsfind_unused_depsfix_from_reviewgenerate_api_referencegenerate_statesgenerate_storiesgenerate_testsgenerate_tests_for_directorygenerate_tool_docsgenerate-refactor-plangenerate-testsi18n-extractorlist_builtinslist_packageslist_responseslist_ruleslist_templatesmcp-tool-improvisernaming-standardizerperformance-auditplan_remapredux-state-analyzerrender-analyzerreviewreview_componentreview-gatescan_directoryscan_filescan_tokensstates-scaffolderstatic_auditsuggest_tokenssuggest-module-splittingsvg-to-componenttest-gap-analyzertranslate_webpacktypescript-enforcervalidate_ariavalidate-refactor-planview_json_fileview_response
Write 31 · Create, change, send or run things.
apply_improvementsapply-refactorauto_fixcompose_crudcreate-index-filescreate-target-structuredependency_graphfix_a11yfix-failing-testsgenerate_storegenerate_typesjest-to-vitest-migrator
Show 19 more tools
migratemigrate_envmigrate_testsmove-filesreact-compiler-migratorrefactor-executorrename-filesrun_codemodrun_full_pipelinerun_lighthouserun_partial_pipelinerun_reviewrun_testsrun_workflowsync_configtype-from-jsonupdate-importsworkflow-runnerzustand-store-generator
Delete 2 · Delete, drop, revoke or wipe things.
rollbackrollback-on-failure
Not yet classified 76 · We could not tell from the name and description.
a11y-autofixeraccessibility-checkeranalyze_failuresapi-client-generatorbarrel-generatorcheck_accessibilitycheck_healthcode-modernizercodemod-runnercomponent-factorycomponent-fixercomponent-improver
Show 64 more tools
component-reviewerconvert-to-typescriptcoverage_reportcra-to-vitecraconfig-analyzercrud-composerdep-auditordependency-remapperdesign-target-structuredetail-generatordocs-generatore2e-generatorenforce_tokensenv-config-generatorenv-var-migratorfixfix_componentform-generatorform-wizard-generatorgenerate_api_clientgenerate_barrelgenerate_componentgenerate_component_librarygenerate_detailgenerate_e2egenerate_env_configgenerate_factorygenerate_formgenerate_mockgenerate_scaffoldgenerate_tablegenerate_visual_regressiongenerate_wizardgenerate_zod_schemaimproveimprove_componentinfer_fieldsinfer-fieldsjson-viewerlegacy-analyzerlighthouse-runnermap-files-to-targetmcp-tool-factorymonorepo-managermsw-mock-generatorplaywright-scaffolderquality-pipelinerefactor-folder-structurescaffold_toolscaffold_vitescan_specific_rulesplit-modulesstorybook-generatorstrip_memoizationtable-generatortest-data-factoryvalidate-buildverify_toolview_jsonvisual-regression-setupvite-project-scaffolderwebpack-config-translatorwire_toolzod-schema-generator
Network hosts it talks to 6
claude.ai· found in codecursor.sh· found in codegithub.com· found in codeglama.ai· found in codemarketplace.visualstudio.com· found in codereactjs.org· found in code
Files it touches
/tmp/lh-metrics.json/tmp/lighthouse-report.json- Your home directory (~)
- Any path the agent passes to its tools
Tools (195)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
a11y-autofixerThe execute-half of accessibility-checker — apply safe, mechanical a11y fixes (img alt="", target=_blank rel, label for->htmlFor, tabindex->tabIndex) and report each.
accessibility-checkerStatic WCAG 2.1 compliance analysis — missing alt text, unlabelled inputs, ARIA role violations, keyboard navigation gaps. 9 rules with prioritised fixes.
analyze_bundle_impactEstimate bundle size contribution by scanning which production deps are actually imported.
analyze_compiler_readinessAnalyze a component file for React 19 Compiler readiness: flag redundant useMemo/useCallback/React.memo to remove and rules-of-hooks blockers. Returns { hints, redundantMemoization, blockers, compilerReady }.
analyze_craAnalyze a CRA project root across its FULL config surface and return a CraConfigProfile: react-scripts/ejection/CRACO, REACT_APP_ env vars + .env files, %PUBLIC_URL% + homepage, proxy (field or setupProxy.js), jest config + setupTests, browserslist, eslint-config-react-app, SASS, PWA service worker, SVG ReactComponent imports, and absolute-import baseUrl.
analyze_failuresRun the tests and classify each failure by root cause (import, type, assertion, timeout, runtime) with a targeted suggestion.
analyze_propsFind components that pass inline objects or functions as props — the most common cause of unnecessary child re-renders.
analyze_reduxAudit a file or directory of Redux code for shortcomings, anti-patterns, and optimization opportunities — re-render-causing selectors, direct mutations, non-serializable state, connect->hooks, createStore->configureStore, switch-reducers->createSlice, and manual thunks that should be RTK Query. Returns { style, counts, issues, migrationOpportunities, grade, filesAnalyzed }.
analyze_test_gapsCompare source files to test files and identify untested exports — functions, components, hooks, and classes that have no test coverage.
analyze_toolDeep analysis of a single MCP tool across 7 dimensions (description quality, schema completeness, error handling, edge case coverage, response structure, code quality, contextual depth). Returns JSON report with scores, detailed issues, and proposed diffs with reasons explaining each improvement.
analyze-api-layerDetect HTTP client usage (axios/fetch/superagent/ky), Next.js API routes, centralized vs scattered pattern, endpoint duplication
analyze-assetsDetect large images/videos, assets inside src, unused assets
analyze-componentsScan all components: count, large components (>300 lines), complex components with multiple responsibilities
analyze-dependencies-usageDeep analysis of external libraries, internal imports, UI package usage, import anti-patterns
analyze-folder-structureAnalyze folder structure: flat vs feature-based, presence of standard folders, nesting depth
Show 180 more tools
analyze-legacy-appComplete analysis for any React-based app (CRA, Vite, Next.js, Remix, Gatsby). Runs all 22 sub-tools and produces a unified health score (0-100) with prioritized migration hints.
analyze-routingDetect react-router usage, route structure (flat vs nested), lazy loading usage
analyze-state-managementDetect Redux, Context API, local state patterns, normalized state, derived state, Reselect usage
analyze-stylingDetect CSS/SCSS/Tailwind/styled-components, inline styles, hardcoded colors, duplicate classes
api-client-generatorGenerate a typed CRUD data layer from a FieldSchema — an RTK Query api slice or TanStack Query hooks (list/get/create/update/delete) with cache invalidation.
api-contract-differDiff two API contract snapshots (JSON samples or OpenAPI schemas) and classify changes as breaking (removed field, type change) vs additive — a CI gate against contract breaks.
apply_improvementsApply approved diffs to improve MCP tools. Creates timestamped backups (.bak files) before modifying.
apply-refactorExecute the entire refactor pipeline end-to-end (validate -> backup -> create structure -> move -> update imports -> rename -> split -> barrels -> validate build) and automatically roll back to the backup if the build fails. Returns { success, steps, rolledBack, backupPath }. Set dryRun:true to preview. Example: { path: '/app', refactorPlan, dryRun: true, buildCommand: 'npm run build' }.
audit_bundleFull performance audit: heavy imports, memory leaks, unoptimized images, sync operations, console.logs, and deep nesting.
audit_keyboard_navAudit keyboard navigation: tabindex usage, focus order, icon-only buttons without labels.
auto_fixRun the tests and generate targeted fix code for each failure (import path corrections, act() wrappers, mocks, assertion updates).
barrel-generatorGenerate an index.ts barrel that re-exports every module in a folder (skips index/test/stories/.d.ts/css) — kills hand-maintained export lists that drift.
batch_analyzeAnalyze ALL MCP tools in the tools/ directory and return a comprehensive report. Shows worst/best performers, summary statistics, and all proposed diffs.
bundle-budget-guardEvaluate gzipped built asset sizes against per-pattern budgets and return a pass/fail CI gate — the missing gate step for bundle analysis.
check_accessibilityRun axe-core style rules against React components and HTML files to detect WCAG violations.
check_budgetEvaluate the gzipped size of built .js/.css assets in a dist directory against per-pattern budgets. Returns { entries, violations, totalKB, passed } — passed=false is a CI-blockable regression.
check_component_existsCheck if a component already exists at the specified path
check_healthRun a workspace health check: detect version mismatches, missing scripts, and circular dependencies
check_memoCheck which components are wrapped with React.memo, use useMemo, or useCallback — and which are not.
check_outdatedCompare declared dependency versions against the latest npm versions.
check_render_performanceFind React-specific performance issues: memory leaks, sync operations, unoptimized images, deep nesting.
check_story_coverageReport which components already have Storybook stories and which are missing them.
classify-filesClassify each file into feature-specific, shared, utility, or config type
code-modernizerAST-based JS/JSX → TypeScript conversion. Infers types from usage, generates interface definitions, converts PropTypes to TypeScript, and removes Flow annotations.
codemod-runnerA generic rule-based codemod engine — apply a find/replace (regex with backrefs) or a named built-in migration (cra-env-to-vite, jest-fn-to-vi, react-render-to-createroot) across files. Dry-run by default.
collect_metricsExtract Core Web Vitals (LCP, FID/TBT, CLS, FCP, SI) from an existing Lighthouse JSON report or by running a new audit.
compare_auditsCompare two Lighthouse JSON reports to measure performance regressions or improvements.
component-factoryScaffold a new React component from a description using 41 shadcn/ui templates. Generates TSX, test file, Storybook story, and type definitions.
component-fixerAuto-fix broken React components — resolves missing imports, replaces any types, extracts inline styles, and adds missing alt attributes.
component-improverImprove a React component directory with extended tests, Storybook stories, and variant coverage — rewrites the test and story files with comprehensive cases.
component-reviewerComprehensive component audit across 7 categories — TypeScript errors, React patterns, accessibility (WCAG 2.1), code quality, security, and testing. Returns an A+ to F grade.
compose_crudWire the generated table/detail/form components into routes for a resource. router "rr7" emits a React Router route array with param wrappers; router "next" emits app/ segment page files. Returns one or more files referencing the components by their conventional names.
convert_svgConvert an SVG (raw string or file path) into a typed React component that spreads SVGProps<SVGSVGElement> and optionally uses currentColor. Returns { code, filename, componentName }.
convert-to-typescriptRename .js/.jsx files to .ts/.tsx, add basic type annotations, convert propTypes to TypeScript interfaces
coverage_reportGenerate a comprehensive test coverage report with gap analysis, grades (A-F), and actionable suggestions.
cra-to-viteOrchestrate the whole CRA -> Vite migration in one call — analyze the project, plan deps + webpack, scaffold the Vite shell, summarize env/test migration, and return a ModernizationReport with a manual-review checklist and A-F grade. Composes the six CRA tools in-process.
craconfig-analyzerCRA-specific deep inspection across the full config surface — react-scripts/ejection/CRACO, REACT_APP_ env vars + .env files, %PUBLIC_URL%/homepage, proxy, jest + setupTests, browserslist, eslint-config-react-app, SASS, service worker, SVG imports.
create-index-filesGenerate barrel `index.ts` re-export files for the refactored directories so imports stay clean. Returns { indexFiles: string[] }. Example: { path: '/app', refactorPlan }.
create-target-structureCreate the destination directory structure for a refactor plan (and an optional backup first). Returns { created: string[], backupPath }. Safe/idempotent — existing directories are left untouched. Example: { path: '/app', refactorPlan, backupPath: '/app/.backup' }.
crud-composerWire the generated table/detail/form components into routes — a React Router 7 route array with param wrappers, or Next App Router app/ segment page files.
dep-auditorDeep dependency analysis for monorepos — finds unused packages, duplicate dependencies across workspaces, outdated versions, and bundle size impact.
dependency_graphBuild the full workspace dependency graph and detect circular dependencies
dependency-remapperMap CRA dependencies to a Vite plan — what to remove (react-scripts, craco, node-sass…), what to add (vite, plugin-react, vitest, jsdom, sass, svgr…), and what has no known equivalent.
design-target-structureGenerate scalable folder structure suggestion based on feature-based architecture
detail-generatorGenerate a typed detail/view component from a FieldSchema — every field as a definition row plus a delete action, wired to the generated get and delete hooks.
detect_heavy_importsFind heavy library imports (moment, lodash, rxjs, etc.) that bloat your bundle size.
detect_missing_edge_casesAnalyze existing tests and suggest missing edge cases: null inputs, empty inputs, boundary values, error handling, accessibility tests.
detect_rerendersAnalyze React component files for unnecessary re-render patterns: inline objects/arrays/functions, missing memo, context value issues.
detect-anti-patternsDetect prop drilling, tight coupling, duplicated logic, large utility files, god components
detect-boundary-violationsDetect cross-feature imports, deep relative imports, and tight coupling issues
detect-duplicationDetect duplicate components, duplicate utility functions, similar file structures
detect-featuresIdentify logical features/domains in the app using file names, routing, folder grouping, and import clustering
detect-project-techDetect React version, language (JS/TS), framework (CRA/Vite/Next.js/Remix/Gatsby/React Native), and major dependencies
detect-shared-modulesIdentify files used across multiple features (shared modules)
diff_contractDiff two API contract snapshots (JSON response samples or OpenAPI schema objects; each may be a JSON string or a file path) and classify changes as breaking (removed field / type change) vs additive. Returns { changes, breaking, additive, passed }. passed=false is a CI-blockable break.
docs-generatorGenerate documentation from source — a README for an MCP tool (from its addTool registrations) or an API reference for a TS module (from its exported functions/types + JSDoc).
e2e-generatorGenerate a Playwright end-to-end CRUD flow spec (create -> list -> read -> edit -> delete + a11y) from a FieldSchema. Tests the feature the CRUD factory generates, closing the factory -> feature -> mock -> E2E loop.
enforce_tokensGrade a path A–F on design-token compliance and group violations by file. A blocking gate for generated/changed UI code.
enforce-design-tokensScan React/TS/CSS for hardcoded design values (colors, spacing, font sizes, radii, shadows, z-index), suggest design-token replacements, and grade a path A–F on token compliance.
env-config-generatorGenerate a Zod-validated, typed env module (Vite or Next) from env var names or an .env.example — throws on boot with a readable error. Zod at the env boundary.
env-var-migratorCRA -> Vite env migration: rewrite process.env.REACT_APP_X to import.meta.env.VITE_X in source, rename REACT_APP_ keys in .env files, and flag dynamic process.env[...] access. Dry-run by default.
extract_stringsScan a file or directory of JSX/TSX for hardcoded user-facing strings and build an i18n message catalog with generated keys. Returns { hits, catalog, count }.
find_dependentsFind all packages that depend on a given package
find_duplicate_depsFind dependencies declared with different versions across monorepo packages.
find_shared_depsFind external dependencies used by multiple packages — candidates for extraction to a shared package
find_unused_depsFind declared dependencies that are not imported anywhere in the package source files.
fixComprehensive React component fixer - applies fixes from review JSON output for type-safety, accessibility, performance, security, code quality, and more
fix_a11yApply safe, mechanical accessibility fixes to a JSX/TSX file (img alt="", target=_blank rel, label for->htmlFor, tabindex->tabIndex) and return the fixed code plus a list of what changed. Review before writing. Returns { code, fixes, count }.
fix_componentAuto-fix common issues in a component: broken import paths, missing displayName, @/lib/utils → relative path
fix_from_reviewFix component issues from a pre-computed review JSON. Pass the exact output from component-reviewer.
fix-failing-testsRun the suite (auto-detects Vitest/Jest), classify each failure by root cause (import, type, assertion, timeout, runtime), and generate targeted fix code.
form-generatorGenerate a React Hook Form + Zod form component (create or edit) from a FieldSchema, wired to the generated rtk or tanstack mutation hooks.
form-wizard-generatorGenerate a multi-step React Hook Form + Zod wizard (per-step validation, progress, back/next, merged submit) from a FieldSchema and step grouping — for onboarding/checkout flows.
generate_api_clientGenerate a typed CRUD data layer from a FieldSchema: an RTK Query api slice (dataLayer "rtk") or TanStack Query hooks (dataLayer "tanstack"), with list/get/create/update/delete and cache invalidation. Imports the resource type from the zod-schema-generator output.
generate_api_referenceRead a TypeScript module and generate a Markdown API reference from its exported functions, interfaces, and type aliases (with leading JSDoc). Returns { code, filename, symbols }.
generate_barrelGenerate an index.ts barrel that re-exports every module in a folder (skips index/test/stories/.d.ts/css). Returns { code, filename, count }. Pass named:true to emit named exports for PascalCase modules.
generate_componentGenerate a React component using actual shadcn/ui source code with TypeScript types, tests, and Storybook stories
generate_component_libraryGenerate multiple components at once using shadcn/ui templates
generate_detailGenerate a typed detail/view component from a FieldSchema — every field as a definition row plus a delete action, wired to the generated get and delete hooks. dataLayer "rtk" or "tanstack". Composes with api-client-generator and zod-schema-generator output.
generate_e2eGenerate a Playwright end-to-end CRUD flow spec from a FieldSchema: create -> list -> read -> edit -> delete, plus an @axe-core/playwright accessibility check. Returns { code, filename, routeBase }. Tests the feature the CRUD factory generates. Requires @playwright/test and @axe-core/playwright in the target project.
generate_env_configGenerate a Zod-validated, typed env module from env var names or an .env.example. target "vite" (import.meta.env, VITE_ prefix) or "next" (process.env, NEXT_PUBLIC_). Returns { code, filename, names }.
generate_factoryGenerate a typed test-fixture factory from a FieldSchema: makeX(overrides), makeXs(count), and resetXSeq(). Deterministic, override-friendly data for unit tests, Storybook, and seeds. Returns { code, filename, factoryName }.
generate_formGenerate a React Hook Form + Zod form component from a FieldSchema. mode "create" or "edit" (edit fetches the record and PUTs); dataLayer "rtk" or "tanstack" selects which generated mutation hooks it calls. Composes with zod-schema-generator and api-client-generator output.
generate_mockGenerate MSW handlers (GET list, GET :id, POST, PUT, DELETE) plus an in-memory seed array from a FieldSchema. Returns { code, filename, seedCount, handlerCount }.
generate_scaffoldScaffold a Playwright test harness for a React/Vite app: playwright.config.ts, a POM fixture, a base Page Object, and (optionally) an auth storage-state setup. Returns { files: [{ path, code }], count }. Requires @playwright/test in the target project.
generate_statesGenerate loading/empty/error state components plus an <XStates> switch wrapper for a data view. Returns { code, filename, componentName }.
generate_storeGenerate a typed Zustand store from a state shape: the state, a setter per field, a reset, and optional persist/devtools middleware. Returns { code, filename, hookName }.
generate_storiesAnalyze React component files and generate comprehensive Storybook story files: Default, Playground, all variants, sizes, disabled, loading, callbacks, accessibility, and interactive play functions.
generate_tableGenerate a TanStack Table data table from a FieldSchema — sortable headers, global filter, and pagination. paginationMode "client" or "server"; dataLayer "rtk" or "tanstack" selects the list hook. Columns come from table-visible fields. Composes with api-client-generator and zod-schema-generator output.
generate_testsAnalyze a TypeScript/React source file and generate a Vitest test file for all exported components, functions, hooks, and classes.
generate_tests_for_directoryScan a directory and generate test files for all source files that do not already have tests.
generate_tool_docsRead an MCP tool’s index.ts and generate a Markdown README: the server name, each registered action with its description, argument table, and a usage example. Returns { code, filename, toolName, actions }.
generate_typesGenerate plain TypeScript interfaces from a JSON sample. Nested objects become their own interfaces; arrays become T[]. Returns { code, filename, rootName }.
generate_visual_regressionGenerate a Playwright visual-regression spec (toHaveScreenshot) for a set of routes and/or Storybook story ids, with the recommended config snippet. Returns { code, filename, shots }. Requires @playwright/test in the target project.
generate_wizardGenerate a multi-step RHF + Zod wizard from a FieldSchema: per-step validation (trigger), progress indicator, back/next, and a merged final submit. Pass `steps` to group fields, or it auto-splits into two. Returns { code, filename, componentName, steps }.
generate_zod_schemaGenerate a Zod schema and its inferred TypeScript type from a FieldSchema (produced by infer-fields). Returns TS code enforcing validation at the boundary — used by form-generator and api-client-generator.
generate-refactor-planCombine all analysis outputs into a single structured refactor plan
generate-testsAnalyse a TypeScript/React source file and auto-generate a Vitest test suite covering happy paths, edge cases, and error states based on the function signatures.
i18n-extractorScan JSX for hardcoded user-facing strings (text + translatable attributes) and produce i18n keys + a message catalog. Pure mechanical extraction.
improveImprove a React component directory with extended tests, Storybook stories, and variant coverage. Rewrites the test and story files with comprehensive cases.
improve_componentImprove a component by expanding tests with edge cases, adding more Storybook story variants, and enhancing docs
infer_fieldsInfer a typed FieldSchema (fields, types, relations, and table/form presentation defaults) from a JSON API sample response or an OpenAPI schema object. This is the data contract every CRUD/form/table/detail generator consumes.
infer-fieldsInfer a typed FieldSchema (fields, types, foreign-key relations, and table/form presentation defaults) from a JSON API sample or an OpenAPI schema. The data contract every CRUD/form/table generator consumes.
jest-to-vitest-migratorMigrate Jest test files to Vitest — jest.* -> vi.* (with requireActual->importActual), add the vitest import, and flag vi.mock factories for manual review. Dry-run by default.
json-viewerGenerate an interactive, collapsible, searchable HTML JSON viewer from any payload. Supports dark/light mode and is useful for inspecting MCP responses and API payloads.
legacy-analyzer22-tool health audit for any React/Next.js/Remix app. Scores 0–100 across routing, state management, API layer, styling, and component architecture. Returns a prioritised migration roadmap.
lighthouse-runnerStatic HTML audit plus Lighthouse CLI integration — scores title, viewport, meta, OG/Twitter tags, canonical, JSON-LD, and Core Web Vitals. Supports diff between two runs.
list_builtinsList the built-in named codemods (e.g. cra-env-to-vite, jest-fn-to-vi, react-render-to-createroot).
list_packagesList all packages in the monorepo workspace with their metadata
list_responsesList all saved JSON responses with timestamps and metadata.
list_rulesList all available TypeScript enforcement rules with descriptions and what they check for.
list_templatesList all available shadcn/ui component templates
map-files-to-targetMap existing files to new target structure
mcp-tool-factoryScaffold, wire, and verify new MCP tools inside this package — the executable form of the mcp-server-builder skill. Writes the McpServerBase shell + core stub + tests, edits root workspaces/scripts/bin, then builds and smoke-tests.
mcp-tool-improviserAnalyze and improve MCP tools across 7 dimensions (description quality, schema completeness, error handling, edge cases, response structure, code quality, contextual depth). Proposes diffs, applies them, and supports rollback.
migrateOrchestrate a CRA -> Vite migration: analyze the project, plan dependency + webpack changes, scaffold the Vite shell, and summarize env + test migration. Returns a ModernizationReport { profile, depRemap, webpackTranslation, scaffoldFiles, envMigration, testMigration, manualReview, journal, grade }. Writes the Vite shell into outDir when dryRun:false. The actual src env/test rewrites are run explicitly afterward via env-var-migrator and jest-to-vitest-migrator (dryRun:false).
migrate_envMigrate CRA env usage to Vite across a project: rewrite process.env.REACT_APP_X -> import.meta.env.VITE_X in src, rename REACT_APP_ keys in .env* files, and flag dynamic process.env[...] access. Dry-run by default. Returns { dryRun, sourceFiles, envFiles, totalRewrites, dynamicAccess }.
migrate_testsMigrate Jest test files (**/*.test|spec.*, plus setupTests.ts/js) under a directory to Vitest: jest.* -> vi.*, @testing-library/jest-dom -> its /vitest subpath (required for custom matchers to register on Vitest's expect), add the vitest import, and flag vi.mock factories needing review. Dry-run by default. Returns { dryRun, files, totalRewrites, needsReview }.
monorepo-managerWorkspace introspection and dependency graph visualisation — lists all packages, maps inter-package relationships, finds shared dep mismatches, and reports monorepo health.
move-filesMove files to their planned destinations (backing up first). Returns { moved: Record<oldPath,newPath>, backupPath }. Pair with update-imports afterward so references stay valid; use rollback-on-failure if a later step fails. Example: { path: '/app', refactorPlan, backupPath }.
msw-mock-generatorGenerate MSW request handlers (list/get/create/update/delete) plus deterministic seed data from a FieldSchema, so the generated CRUD feature runs against a mock API in dev and tests.
naming-standardizerSuggest better file and folder naming conventions
performance-auditRuntime performance analysis — detects memory leaks, heavy imports, unoptimised images, excessive nesting, and console.log statements left in production code.
plan_remapMap CRA dependencies to a Vite plan: { remove, add: [{name, version}], unmapped }. Pass a project path (reads package.json) or an explicit deps object. Options: svgr, sass.
playwright-scaffolderScaffold a Playwright test harness for a React/Vite app — config, POM fixture, base Page Object, and optional auth storage-state setup.
quality-pipelineFive-stage automated quality pipeline: runs tests, type-checks, performance analysis, accessibility audit, and design token enforcement. Returns an A–F grade.
react-compiler-migratorFlag redundant useMemo/useCallback/React.memo for the React 19 Compiler and rules-of-hooks blockers, with a best-effort strip of the simple single-expression cases.
redux-state-analyzerAudit a Redux codebase for shortcomings, anti-patterns, and optimizations — re-render-causing selectors (whole-state/inline-object/unmemoized-derived), direct mutations, non-serializable state, connect->hooks, createStore->configureStore, switch-reducers->createSlice, manual thunks that should be RTK Query. Grades A-F.
refactor-executorSafely execute refactor plans on React/TS codebases — move/rename files, split modules, update all imports, create barrels, validate the build, and roll back on failure. 10 staged operations.
refactor-folder-structureAggregator: calls all refactoring suggestion tools and produces final structured plan
rename-filesRename files per the plan's `renames` (backing up first) and update their imports. Returns { renamed, backupPath }. Example: { path: '/app', refactorPlan: { renames: [{ from, to }] }, backupPath }.
render-analyzerIdentify React render performance bottlenecks — unnecessary re-renders, missing memo, unstable inline object and function references, and missing useCallback/useMemo.
reviewComprehensive React component review - analyzes TypeScript, React patterns, accessibility, performance, security, code quality, and testing
review_componentReview a generated component for TypeScript errors and accessibility issues. Returns a quality score and suggestions.
review-gateStatic A–F quality gate for generated or changed React/TS code: <img> missing alt and unfilled stubs (errors), any / console.log / hardcoded hex colors (warnings). Grades a file or directory.
rollbackRestore a file from its backup. Use this if an applied improvement caused issues.
rollback-on-failureRestore the project from a backup after a failed refactor — reverses moves/renames and falls back to a full re-copy from the backup. Returns { restored, backupPath }. Called automatically by apply-refactor on build failure, or manually. Example: { path: '/app', backupPath: '/app/.backup' }.
run_codemodApply a codemod across a file or directory — a named built-in `rule`, or an explicit `find`/`replace` (regex with $1 backrefs). Dry-run by default (reports per-file match counts without writing). Set dryRun:false to write. Returns { dryRun, totalMatches, files: [{ file, matches }] }.
run_full_pipelineRun the complete quality pipeline: tests, type safety, performance, accessibility, design tokens
run_lighthouseRun a full Lighthouse audit against a live URL. Returns performance, accessibility, best-practices, and SEO scores with failing audits.
run_partial_pipelineRun specific stages of the quality pipeline
run_reviewReview a file or directory of generated code and return a grade A–F with the list of issues by severity.
run_testsRun the project test suite (auto-detects Vitest or Jest) and return a pass/fail summary with the list of failures.
run_workflowRun a named routine (currently "schema_to_feature") over a JSON sample or FieldSchema. Returns { files: [{ filename, code }], journal: [{ step, ok, note }], grade (A–F), passed, resource, dataLayer, router, fileCount }. The files compose a full CRUD feature: Zod schema, api client (rtk|tanstack), table, detail, create+edit forms, and routes (rr7|next). Limitation: generated code assumes its peer deps (zod, @reduxjs/toolkit or @tanstack/react-query, react-hook-form, @tanstack/react-table, react-router-dom) are installed in the target project.
scaffold_toolScaffold a new MCP tool into the mcp-react-toolkit package: writes package.json, tsconfig.json, a McpServerBase index.ts shell wired to every action, a src/core.ts stub, and a test stub. Fill in src/core.ts afterwards. Kills the boilerplate; leaves only the logic.
scaffold_viteGenerate the Vite project shell for a CRA migration: vite.config.ts (react + optional svgr, envPrefix VITE_, @ alias, proxy, base), root index.html, src/main.tsx (createRoot), strict tsconfig + tsconfig.node, and vite-env.d.ts. Returns { files: [{ path, code }], count }.
scan_directoryRecursively scan a directory for TypeScript violations. Returns per-file results sorted by worst score first, plus summary statistics and breakdown by rule.
scan_fileAnalyze a single TypeScript/JavaScript file for type safety violations. Runs all rules by default. Returns violations with line numbers, severity, current code, suggested fix, and explanation.
scan_specific_ruleRun a single specific rule across a file or directory. Useful for targeted fixes.
scan_tokensScan a file or directory for hardcoded design values (colors, spacing, font sizes, radii, shadows, z-index) that should use design tokens. Returns a summary + violations, filterable by severity.
split-modulesSplit oversized modules into smaller files per the plan's `splits`, creating the new files and leaving TODO markers for content to move. Returns { splitFiles, created }. Review the output before committing. Example: { path: '/app', refactorPlan: { splits: [{ file, proposedFiles }] }, backupPath }.
states-scaffolderGenerate loading-skeleton, empty-state, and error-state components plus an <XStates> switch wrapper for a data view — kills the copy-pasted conditional-render boilerplate.
static_auditAnalyze HTML files for SEO and performance issues without running a live server (title, meta tags, images, scripts, favicon, OG tags).
storybook-generatorAuto-generate Storybook stories for any React component. Infers props from TypeScript interfaces and creates Default, variant, size, callback, and play-function stories.
strip_memoizationBest-effort strip of the auto-fixable useMemo/useCallback wrappers in a file (single-expression cases). Returns { code } — review before writing. Complex cases and React.memo are reported by analyze, not auto-stripped.
suggest_tokensSuggest a design-token replacement for each hardcoded value found in a file or directory.
suggest-module-splittingSuggest splitting large or generic files into smaller modules
svg-to-componentConvert raw SVG into a typed, tree-shakeable React component that spreads SVGProps and optionally uses currentColor — SVGR-grade, no build step.
sync_configCheck if a config file is consistent across all packages and surface variants
table-generatorGenerate a TanStack Table data table (sortable headers, global filter, pagination) from a FieldSchema, wired to the generated list hook. Client or server pagination.
test-data-factoryGenerate a typed test-fixture factory (makeX/makeXs with overrides + seq reset) from a FieldSchema — deterministic mock data for unit tests, Storybook, and seeds.
test-gap-analyzerFind untested code paths — maps every exported function and component to its test coverage, identifies uncovered branches, and reports a coverage gap score.
translate_webpackBest-effort translate a webpack/CRACO config into Vite equivalents — extract aliases, classify plugins and loaders (native / needs-plugin / unsupported), and return an explicit manual-review list. Pass the config as text or a file path. Returns { aliases, plugins, loaders, manualReview }.
type-from-jsonGenerate plain TypeScript interfaces from a JSON sample — nested objects become their own interfaces, arrays become T[]. The general-purpose sibling of infer-fields.
typescript-enforcerScan a path for TypeScript violations — implicit any, unsafe casts, missing return types, non-null assertions. 7 rules scored 0–10 with fix suggestions.
update-importsRewrite relative import paths across the project after files move, using an AST (not regex) so only real imports change. Returns { updatedFiles, importsUpdated }. Pass the movedFiles map from move-files. Example: { path: '/app', refactorPlan, movedFiles: { 'src/a.ts': 'src/x/a.ts' } }.
validate_ariaCheck ARIA attributes for correctness: valid roles, proper aria-hidden usage.
validate-buildRun the project's build command and detect errors — the safety gate after a refactor. Returns { success, errors: string[], output }. If it fails, call rollback-on-failure. Example: { path: '/app', buildCommand: 'npm run build' }.
validate-refactor-planValidate a refactor plan before executing it — checks that every source path exists, destinations are unique, and no moves conflict. Returns { valid, errors, warnings }. Run this first; a plan must pass here before create-target-structure/move-files. Example: { path: '/app', refactorPlan: { moves: [{ from, to }] } }.
verify_toolBuild the tool, run its tests, and JSON-RPC smoke-test its MCP server (tools/list). Returns pass/fail for each step.
view_jsonSave JSON data and generate an interactive HTML viewer. Opens in browser for easy visualization of complex JSON responses.
view_json_fileRead a JSON file from disk and open an interactive HTML viewer — no need to paste raw JSON.
view_responseRe-open a previously saved JSON response by its ID.
visual-regression-setupGenerate Playwright visual-regression specs (toHaveScreenshot) for routes or Storybook stories, plus the config snippet — catches unintended CSS/layout drift.
vite-project-scaffolderGenerate the Vite project shell for a CRA migration — vite.config.ts (react/svgr/alias/proxy/base), root index.html, src/main.tsx (createRoot), strict tsconfig(.node).json, vite-env.d.ts.
webpack-config-translatorBest-effort translation of a webpack/CRACO config into Vite equivalents — aliases, plugin/loader classification (native/needs-plugin/unsupported), and an explicit manual-review list.
wire_toolWire an already-scaffolded tool into the root package.json (workspaces + build/test scripts) and bin/cli.mjs TOOLS array, after `prev`. Idempotent.
workflow-runnerRun the schema_to_feature routine end-to-end: infer-fields → zod → api-client → table/detail/form → crud-composer, gated by review-gate. Returns the full generated file set, a per-step journal, and an A–F grade.
zod-schema-generatorGenerate a Zod schema and its inferred TypeScript type from a FieldSchema — Zod at every boundary for forms and API clients.
zustand-store-generatorGenerate a typed Zustand store (state + per-field setters + reset, optional persist/devtools) from a state shape — the client-state complement to api-client-generator.
Compare and alternatives
Featured in
Signals
- Stars
- 3
- Forks
- 0
- Open issues
- 0
- Last commit
- Oct 1, 2026 (27 days ago)
- Last release
- Jul 3, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Registry name
io.github.Nishant-Chaudhary5338/mcp-react-toolkit- Version
- 1.0.1
- Auth
- No auth
- Packages
- npm mcp-react-toolkit
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
Cite this page
MCP React Toolkit. Agent Mart. https://agentmart.dev/connectors/nishant-chaudhary5338-mcp-react-toolkit (last updated 2026-10-24)