Loading...

Analyzes React component files to extract information about components and their props, enabling documentation generation and code understanding.
Boost this tool
Subscribe to listing upgrades or segmented pushes.
Analyzes React component files to extract information about components and their props, enabling documentation generation and code understanding.
This tool is relatively safe for analyzing React codebases. However, ensure the PROJECT_ROOT is properly configured to prevent unauthorized file access. Be mindful of sensitive information potentially exposed in the generated documentation.
Performance depends on the size and complexity of the React codebase. Large projects may require optimization.
Minimal cost; primarily CPU-bound. No external API calls are made.
npm install
vim{
"react-analyzer-mcp": {
"command": "node",
"args": [
"/Users/azer/code/sandbox/react-analyzer-mcp/build/index.js"
]
}
}analyze-reactAnalyzes a single React component from source code and extracts its properties.
Read-only operation on a single file.
analyze-projectGenerates documentation for all React components within a specified project folder.
Primarily read operations; generates documentation based on code analysis.
list-projectsLists all projects located under the configured root folder.
Read-only operation; lists directories.
None
cloud
This tool is relatively safe for analyzing React codebases. However, ensure the `PROJECT_ROOT` is properly configured to prevent unauthorized file access. Be mindful of sensitive information potentially exposed in the generated documentation.
The tool primarily performs read operations and generates documentation, so autonomy is limited to the scope of code analysis. Ensure proper configuration of `PROJECT_ROOT` to prevent unintended access.
Production Tip
Monitor the execution time for large projects to prevent timeouts or performance issues.
Update the `PROJECT_ROOT` variable in the `src/index.ts` file.
JSX and TSX files are supported.
Yes, use the `analyze-react` tool.
The documentation is generated in Markdown format.
Yes, it supports both JSX and TSX files.
The tool will indicate that the component has no props.
Currently, the output format is fixed to Markdown. Customization options are not available.