Skip to main content
Glama
skylarbarrera

react-devtools-mcp

get_component_tree

Retrieve the React component tree structure for debugging and analysis. Filter by root ID or depth to inspect component hierarchies in web or React Native applications.

Instructions

Get the React component tree for all roots

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rootIDNoFilter by root ID (optional)
maxDepthNoMaximum depth to return (optional)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/skylarbarrera/react-devtools-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server