npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ui-debugger-mcp

v1.0.2

Published

Give your coding agent access to debugging capabilities for UI applications using Model Context Protocol.

Readme

UI Debugger MCP

A Model Context Protocol (MCP) server that provides debugging capabilities for UI applications. This tool gives coding agents access to UI debugging features like capturing screenshots and collecting console logs and network requests from web applications.

Features

  • UI Screenshot Capture: Get base64-encoded screenshots of UI applications
  • Console Logs Collection: Retrieve console logs, errors, and network requests from web pages
  • Multiple Transport Options: Supports both stdio and HTTP transport modes
  • YAML/JSON Output: Configurable output format for integration with different tools

Installation

npm install ui-debugger-mcp

Or run directly with npx:

npx ui-debugger-mcp

Usage

As a Standalone Server

Start the MCP server in stdio mode:

npm run dev

Or start the HTTP server:

NODE_ENV=http npm run dev

Development

npm run dev

Build

npm run build

MCP Tools

This server provides the following MCP tools:

get_ui_base64

Captures a screenshot of a UI application and returns it as a base64-encoded image.

Parameters:

  • appUrl (string): The URL of the UI application to capture

Example:

{
  "appUrl": "https://example.com/app"
}

get_ui_logs

Collects console logs, errors, and network requests from a UI application.

Parameters:

  • appUrl (string): The URL of the UI application to analyze

Returns:

  • consoleLogs: Array of console log messages
  • errors: Array of JavaScript errors
  • networkRequests: Array of network request details

Example:

{
  "appUrl": "https://example.com/app"
}

Configuration

The server can be configured with different output formats:

  • YAML (default): Human-readable YAML format
  • JSON: Structured JSON format

Requirements

  • Node.js >= 18.0.0
  • Modern web browsers support via Playwright

Architecture

This MCP server is built with:

  • TypeScript: Type-safe development
  • Express: HTTP server for web transport
  • Playwright: Browser automation for UI interaction
  • MCP SDK: Model Context Protocol implementation
  • ESLint + Prettier: Code quality and formatting

License

MIT

Report

If you encounter bugs or have feature requests, open an issue. Feel free to start a discussion — whether it’s feedback, a question, or an idea!

Support

Buy Me a Coffee