Skip to main content
Glama
pansin
by pansin

browser-server-console

Serve static files from a directory and capture browser console output for debugging web applications during development.

Instructions

Spawn an Express static server for a directory and capture console output from the served content

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
directoryYesThe directory to serve statically
portNoPreferred port to run the server on (will find next available if busy, default: 3000)
pathNoPath to navigate to after starting server (default: "/")/
timeoutNoTimeout in milliseconds (default: 30000)
waitForNoCSS selector or text to wait for before capturing console (optional)
commandsNoBrowser commands to execute (e.g., "click .button wait 2s") (optional)
streamNoWhether to stream console output in real-time (default: true)

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/pansin/browserMCP'

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