Chrome Console Log MCP Server
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., "@Chrome Console Log MCP Servershow me the console logs"
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.
Chrome Console Log MCP Server
Capture browser console logs via the Chrome DevTools Protocol and expose them to an MCP client over SSE.
Useful for getting console log for extensions that run outside of the main browser window!
Install
npm install -g @onlyhumn/chrome-console-log-mcp-serverOr run without installing:
npx @onlyhumn/chrome-console-log-mcp-server --match "YOUR_URL_SUBSTRING"From a clone:
npm install
node server.js --match "YOUR_URL_SUBSTRING"Related MCP server: Kaboom Browser AI Devtools MCP
Usage
Start the browser with remote debugging:
/Applications/Brave\ Browser.app/Contents/MacOS/Brave\ Browser --remote-debugging-port=9222Start the server (requires
--match):npx @onlyhumn/chrome-console-log-mcp-server --match "YOUR_URL_SUBSTRING"Examples:
npx @onlyhumn/chrome-console-log-mcp-server --match "localhost:3000" npx @onlyhumn/chrome-console-log-mcp-server --match "vlt-panel.html"Configure your MCP client:
Type:
sseURL:
http://localhost:8766/sse
Open or focus a page whose URL contains the match string. The server prints
Attached to ...when it finds a match. Use thegetConsoleLogstool to read captured output.
Flags
Flag | Default | Meaning |
| required | URL substring for CDP targets |
|
| CDP remote debugging port |
|
| HTTP port for MCP SSE |
|
| log directory |
|
| rotate threshold |
|
| rotated |
|
| CDP target rescan interval (ms) |
Logs
Console events are appended to /tmp/chrome-console-logs/current.jsonl. When the file exceeds the rotate threshold it is gzipped and pruned so only the newest --log-keep archives remain.
Releasing
Publishes run from GitHub Actions on v* tags. The tag must match package.json "version".
Ensure the npm org/user owns the
@onlyhumnscope.First publish only: from a machine logged into npm (
npm login), runnpm publish --access publiconce so the package exists, or create the package on npmjs.com if your account allows it.On the package page → Trusted Publisher (values are case-sensitive; must match GitHub OIDC claims):
Repository:
ONLYHUMN/chrome-console-log-mcp-server(not lowercaseonlyhumn/...)Workflow filename:
publish.ymlLeave Environment blank (workflow does not set one)
Bump
"version"inpackage.json, commit, push tomaster.Tag and push:
git tag v1.0.1 git push origin v1.0.1
A Trusted Publishing failure often shows up as a misleading E404 from npm publish.
Troubleshooting
Browser must be started with
--remote-debugging-port=9222(or the port you pass to--port)--matchis required; without it the process exits immediatelyConfirm the server printed
Attached to ...for your pageMCP client URL should be
http://localhost:8766/sse(or your--mcp-port)
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.
Related MCP Servers
- Flicense-qualityDmaintenanceAn MCP server that captures browser console logs and network requests via the Chrome DevTools Protocol. It allows users to monitor real-time logs, inspect network traffic, and execute JavaScript code directly in the browser context.
- Alicense-qualityCmaintenanceMCP server for browser debugging, inspection, and verification that streams console logs, network errors, and user actions into AI coding assistants.65AGPL 3.0
- AlicenseAqualityAmaintenanceEnables AI agents to monitor and debug browser runtime errors, console logs, and page diagnostics in real time via a Chrome extension and local MCP server.4MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol (MCP) server that provides browser automation capabilities, specifically for capturing console output from web pages.213MIT
Related MCP Connectors
Live browser debugging for AI assistants — DOM, console, network via MCP.
A paid remote MCP for AI agent browser DevTools MCP, built to return verdicts, receipts, usage logs,
A paid remote MCP for AI agent browser MCP session, built to return verdicts, receipts, usage logs,
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/ONLYHUMN/chrome-console-log-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server