console-stream-mcp
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., "@console-stream-mcpShow me the recent errors from the active tab"
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.
console-stream-mcp
Give AI coding agents (Claude Code, Codex CLI, Gemini CLI, etc.) live access to your web app's runtime — console logs, errors, and network requests — without copy-pasting anything into chat.
Local-first. No cloud services, no telemetry, no external APIs.
How it works
Web App
│
Extension OR npm package
│
WebSocket
│
localhost
│
console-stream-mcp
│
MCP
│
Claude Code / Codex / Gemini CLIA browser client (extension or npm package) captures runtime events — console.*, uncaught errors, unhandled rejections, fetch/XHR calls — and streams them over a WebSocket to a local MCP server. The MCP server keeps a rolling in-memory history and exposes it to AI agents as MCP tools.
Related MCP server: Chrome DevTools MCP
Packages
Path | Description |
| Node.js MCP server; WebSocket hub + MCP tool implementations |
| Chromium extension that captures and streams browser events |
|
|
| Versioned event/message schema shared by all clients and the server |
| Shared TypeScript types |
| Agent skill describing when/how to use the MCP tools to debug a web app |
| Example apps demonstrating integration |
Quick start
npm install
npm run build
# start the MCP server
npm run start --workspace=apps/mcp-serverThen either load the unpacked extension from apps/browser-extension/dist, or add the npm client to your app:
import { startConsoleStream } from "console-stream-client";
startConsoleStream();Point your MCP-compatible agent at the server (see apps/mcp-server/README.md for configuration).
MCP Tools
get_recent_logsget_recent_errorsget_network_requestsclear_logsget_connected_tabswatch_console
Design principles
Local-first, zero cloud dependencies, zero telemetry
Framework agnostic
Extension and npm client emit an identical, versioned protocol — the server can't tell them apart
See PROJECT.md for the full design doc.
Contributing
Contributions are welcome. Please open an issue to discuss significant changes before submitting a PR. See CONTRIBUTING.md.
License
This server cannot be installed
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
- 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/Topman-14/console-stream-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server