relay-inspect
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@relay-inspectCheck console logs and take a screenshot to verify the page after edit"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Stop copying and pasting console logs, server errors and screenshots into your CLI. Relay Inspect gives your AI coding agent direct access to your browser—so it can see what you see, verify its own changes, and debug without asking you to copy and paste.
Relay Inspect is a lightweight tool for designers and engineers who want to spend more time building and less time debugging.
┌─ Chrome (CDP over WebSocket)
AI Coding Agent ←→ Relay Inspect (MCP over stdio) ─┤
└─ Dev Servers (child processes)Relay Inspect is a bridge between the Chrome DevTools Protocol, your dev server and your agent. It exposes browser state as MCP tools—console output, network requests, DOM queries and screenshots. Your agent edits code, the dev server hot reloads, and the agent verifies the result itself.
Looking for annotations? The browser annotation overlay has moved to its own package: Annoku.
Why Relay Inspect over Chrome DevTools MCP?
Google's Chrome DevTools MCP is a full browser automation tool—it clicks buttons, fills forms, runs Lighthouse audits, and scripts interactions. Relay Inspect gives agents continuous visibility while they work, so mistakes get caught in the moment, not at the end.
Gives agents eyes. Real-time access to console output, network requests, and DOM state — so your agent sees what's happening as it happens, not after it's already moved on.
Tight feedback loop. The edit → reload → verify cycle happens in a single turn. Your agent makes a change, waits for the dev server to reload, and immediately confirms it worked—without additional back-and-forth.
Focused tools, fewer wrong turns. A handful of purpose-built tools means your agent reaches for the right one rather than thrashing through a broad API surface. Less noise, more signal.
Zero overhead, zero telemetry. Connects lazily on the first tool call—no Puppeteer, no phoning home. Nothing runs until your agent needs it.
Related MCP server: Kaboom Browser AI Devtools MCP
Tools
Your agent gets access to the following tools automatically via MCP:
Browser Inspection
Tool | Description | Key Parameters |
| Execute a JavaScript expression in the browser and return the result |
|
| Return buffered console output (logs, warnings, errors) |
|
| Return captured network requests and responses |
|
| Get full request/response body for a specific network request |
|
| Query the DOM with a CSS selector and return matching elements' outer HTML |
|
| Capture a screenshot of the current page |
|
Page Control
Tool | Description | Key Parameters |
| Reload the current page (optionally bypass cache) |
|
| Wait N seconds then return new console output captured during the wait |
|
| Switch to a specific Chrome page target by ID or URL match |
|
| Navigate the current page to a new URL |
|
Server Management
Tool | Description | Key Parameters |
| Start a dev server or background process and capture its output |
|
| Read stdout/stderr output from a managed server process |
|
| Stop a running managed server process |
|
| List all managed server processes and their status | — |
Diagnostics
Tool | Description | Key Parameters |
| Check Chrome connection status and diagnose issues (does not auto-launch) | — |
Setup
Prerequisites
Node.js 20+
Chrome (or any Chromium-based browser)
Add to your MCP client
No install required — npx downloads and runs the package on first use.
Claude Code — add to .mcp.json or .claude/settings.json:
{
"mcpServers": {
"relay-inspect": {
"command": "npx",
"args": ["-y", "relay-inspect"]
}
}
}Codex CLI:
codex mcp add relay-inspect -- npx -y relay-inspectopencode — add to opencode.json:
{
"mcp": {
"relay-inspect": {
"type": "local",
"command": "npx",
"args": ["-y", "relay-inspect"]
}
}
}Chrome is auto-launched on first tool call if it isn't already running. To disable this or customize behavior, see Configuration below.
Configuration
Environment Variable | Default | Description |
|
| Chrome debugging port |
|
| Chrome debugging host |
|
| Auto-launch Chrome if not already running |
| (auto-detect) | Override Chrome/Chromium executable path |
| (none) | URL to open when Chrome is auto-launched (e.g. |
| (none) | Connect directly to a CDP WebSocket URL, skipping Chrome discovery |
|
| Max console entries to buffer |
|
| Max network requests to buffer |
|
| Max log entries per managed server |
If Chrome is already running with --remote-debugging-port, Relay Inspect will connect to it directly without launching a new instance.
Development
git clone https://github.com/samsolomon/relay-inspect.git
cd relay-inspect
npm installnpm run dev # Run with tsx (auto-recompile)
npm run build # Build with tsup
npm start # Run the built bundle
npm test # Run tests with vitestFor detailed architecture, conventions, and CDP implementation notes, see CLAUDE.md.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/samsolomon/relay-inspect'
If you have feedback or need assistance with the MCP directory API, please join our Discord server