Skip to main content
Glama

get_console_logs

Retrieve and filter browser console logs for debugging purposes. Monitors Chrome targets and returns specified log types with configurable line limits.

Instructions

Get console logs from a browser target. Starts monitoring on first call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetIndexNoTarget index from list_targets
maxLinesNoMaximum lines to return
filterNoFilter by log typeall
portNoChrome CDP port

Latest Blog Posts

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/tznthou/simple-console-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server