playwright-react-debug-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MAX_CONSOLE_ENTRIES | No | Console log buffer size | 100 |
| MAX_NETWORK_ENTRIES | No | Network request buffer size | 100 |
| PLAYWRIGHT_HEADLESS | No | Run browser headless | false |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| navigateA | Navigate to a URL in the browser. Launches browser if not already running. |
| clickB | Click on an element matching the given selector |
| fillA | Fill a form field with the given value. Clears existing content first. |
| selectC | Select option(s) from a dropdown/select element |
| scrollC | Scroll the page or scroll an element into view |
| wait_forA | Wait for an element to appear/disappear or for navigation to a URL |
| hoverC | Hover over an element |
| typeA | Type text into an element character by character (useful for autocomplete) |
| go_backA | Go back to the previous page in browser history |
| go_forwardA | Go forward to the next page in browser history |
| reloadA | Reload the current page |
| get_consoleA | Get console log entries from the page. Useful for seeing errors, warnings, and debug output. |
| clear_consoleA | Clear captured console logs |
| get_networkA | Get network request log. See API calls, their status codes, and timing. Essential for debugging Lambda/API issues. |
| get_request_detailB | Get detailed info about a specific network request including headers |
| clear_networkA | Clear captured network logs |
| get_domA | Get a summarized DOM tree. Returns tag names, IDs, classes, and text content in a digestible format. |
| get_elementA | Get detailed information about a specific element including computed styles and bounding box |
| get_text_contentA | Get visible text content of elements matching a selector |
| screenshotA | Take a screenshot of the page or a specific element. Returns base64 PNG image. |
| evaluate_jsA | Execute arbitrary JavaScript in the page context. Powerful for custom inspection and debugging. |
| get_react_treeB | Get the React component tree with props and state. Works with React 16+. |
| find_componentB | Find React components by name. Returns matching components with their props and state. |
| get_component_stateC | Get detailed state and props for a specific React component |
| collect_component_instancesA | Collect all instances of a React component type with props→HTML mapping. Useful for understanding component behavior, comparing different usages, or extracting component patterns. Returns props, rendered HTML, and minified source for each instance. |
| get_redux_stateA | Inspect Redux store state and recent actions. Works with Redux DevTools or globally exposed stores. |
| get_zustand_storesB | Inspect Zustand store state. Finds stores used in React components. |
| get_react_query_cacheA | Inspect React Query/TanStack Query cache. Shows queries, their status, and cached data. |
| get_context_valuesB | List all React Context providers and their current values. |
| get_render_countB | Track component render counts to identify unnecessary re-renders. |
| get_slow_componentsA | Find React components with slow render times. Requires React Profiler or DevTools. |
| get_web_vitalsA | Get Core Web Vitals (LCP, FID, CLS) and other performance metrics. |
| find_hydration_errorsB | Detect SSR hydration mismatches. Essential for Next.js/Remix debugging. |
| get_error_boundariesA | Find React error boundaries and any errors they have caught. |
| detect_memory_leaksA | Detect potential memory leaks: large DOM, detached nodes, growing collections. |
| audit_accessibilityB | Run accessibility audit: missing alt text, labels, heading structure, color contrast, ARIA issues. |
| get_aria_treeB | Get the accessibility tree showing roles, names, and states. Useful for screen reader debugging. |
| explain_errorA | Analyze a console error with full context: related network requests, React state, and debugging suggestions. Best tool for diagnosing issues. |
| get_debug_summaryA | Get a quick overview of the debugging state: page info, error count, failed requests |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Lars-Albinsson/playwright-react-debug-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server