React-Sentinel v0.1.0-alpha #34
edgarbnt
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
React-Sentinel is an experimental MCP server that gives AI coding agents browser runtime awareness for debugging React applications.
Instead of guessing from source code alone, agents can inspect live React runtime state, capture console and network errors, replay user interactions, validate outcomes with assertions, and test runtime patches inside a sandbox.
Highlights
MCP server for AI coding agents
Exposes React debugging tools over stdio MCP for compatible clients.
Runtime React inspection
Detect React, inspect component trees, targeted components, props, simple hooks, context values, and runtime state.
Console and network diagnostics
Capture console errors, warnings, JavaScript exceptions, fetch/XHR requests, HTTP failures, and runtime timelines.
Replay sandbox
Launch an isolated Playwright browser, navigate to a target URL, replay interaction sequences, and collect runtime evidence.
Assertions and validation reports
Validate DOM, React runtime, console, and network expectations, then generate structured JSON and readable Markdown reports.
Shadow sandbox patch validation
Apply temporary runtime patches inside the replay sandbox, rerun scenarios, execute assertions, and return a validation verdict without modifying local source files.
Render loop diagnostics
Count renders, detect render hotspots, trace hook changes, and help diagnose infinite render loops or unstable dependencies.
Hydration and async diagnostics
Detect hydration mismatch signals and trace async request ordering or race-condition style issues.
CLI and MCP integration
Provides CLI commands and an MCP stdio entry point for local usage and editor/agent integrations.
Installation
Run the MCP server:
Example MCP configuration:
{ "mcpServers": { "react-sentinel": { "command": "npx", "args": ["-y", "@edgarbrunet/react-sentinel", "mcp"], "env": {} } } }For Zed-style MCP configuration:
{ "react-sentinel": { "command": "npx", "args": ["-y", "@edgarbrunet/react-sentinel", "mcp"], "env": {} } }Package
This package is published as:
The unscoped package name
react-sentinelis owned by another project and should not be used for installing this tool.Project Status
This is an alpha release.
React-Sentinel is usable for local experiments and MCP-compatible agents, but APIs, commands, plugin integrations, and packaging may change before a stable v1.0 release.
Works With
React-Sentinel is designed for MCP-compatible and agentic development environments, including:
Support levels may vary depending on each tool’s MCP/plugin capabilities.
Known Limitations
Recommended First Test
Feedback
Feedback, bug reports, integration requests, and compatibility reports are welcome.
Good first areas for contributions:
What's Changed
New Contributors
Full Changelog: https://github.com/edgarbnt/ReactSentinel/commits/v0.1.0-alpha
This discussion was created from the release React-Sentinel v0.1.0-alpha.
All reactions