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

@webeyez/mcp-server

v1.0.11

Published

Model Context Protocol (MCP) server for Webeyez. Access Webeyez session replays, JavaScript errors, conversion funnels, and performance diagnostics directly from any MCP-compatible AI client.

Readme

Webeyez Model Context Protocol (MCP) Server

NPM Version License: ISC Model Context Protocol Compliant

Expose Webeyez session replays, JavaScript errors, conversion funnels, rage clicks, and performance diagnostics directly to your AI agents and assistants (Claude, Cursor, Windsurf, ChatGPT, etc.) using the Model Context Protocol (MCP).


What is Webeyez?

Webeyez is a real-time user experience monitoring, conversion optimization, and error diagnostics platform. It helps online businesses identify and resolve conversion leaks, user friction, client-side bugs, and performance anomalies.

The Webeyez MCP Server bridges your local AI tools directly to the Webeyez diagnostics engine. It is implemented as a secure proxy client, meaning the server runs safely on Webeyez infrastructure to protect your data and proprietary logic, while the local NPM package serves as a lightweight, secure gateway.


When to Use the Webeyez MCP Server

Use this MCP server when you want your AI developer agent or assistant to:

  • Debug Client-Side Bugs: Retrieve JS console logs, stack traces, and uncaught exceptions for a user session or globally.
  • Diagnose Network Failures: Analyze failed HTTP/AJAX requests (4xx/5xx errors) on your web applications.
  • Identify Friction & Rage Clicks: Search user sessions containing Dead Clicks, Rage Clicks, or other frustration signals.
  • Analyze Funnel Drops: Diagnose why conversion rates dropped during checkout or specific funnels.
  • Quantify Revenue Loss: Retrieve estimates of business impact caused by bugs and performance drop-offs.
  • Inspect Session Replays: Retrieve links to actual user session replays matching specific error criteria to witness user frustration firsthand.

Installation

You do not need to install the server globally. The package can be run directly using npx:

npx -y @webeyez/mcp-server

Connection Setup

The Webeyez MCP server supports both standard local stdio connection (using our NPM package as a secure proxy) and direct web-based SSE connections.

Option 1: Claude Desktop Configuration (Local stdio Proxy)

Add the server to your claude_desktop_config.json configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "webeyez": {
      "command": "npx",
      "args": [
        "-y",
        "@webeyez/mcp-server"
      ],
      "env": {
        "WEBEYEZ_API_KEY": "your_webeyez_api_token_here"
      }
    }
  }
}

Option 2: IDE / Editor Configuration (Cursor, Windsurf, Cline)

Configure your editor to run the MCP proxy as a shell command:

  1. Open your editor's Settings > Features > MCP (or equivalent).
  2. Add a new MCP server with type command.
  3. Set the command to:
    npx -y @webeyez/mcp-server
  4. Define the environment variable:
    • Key: WEBEYEZ_API_KEY
    • Value: [Your personal access token/API key]

Option 3: Remote Server-Sent Events (SSE)

Web-based clients and custom applications can connect directly to the Webeyez SSE endpoint without any local installation:

  • SSE Endpoint: https://api.app.webeyez.com/mcp
  • Authentication: Pass your token in the x-api-key header or as a token URL query parameter.

Available Tools

The following tools are exposed by the server for AI agents to query:

1. Core AI Query Tools

  • start_webeyez_query: Starts a long-running natural language query against the Webeyez diagnostics engine. Use this to ask questions about your session data, checkout friction, JS errors, or conversion drop-offs.
  • check_webeyez_status: Polls the status and retrieves the final text answer/response of a query started with start_webeyez_query.
  • get_organizations_list: Lists all Webeyez organizations you have access to (along with their organizationIds).
  • get_organization_domains: Lists all registered domains for a specific organization.
  • logout_webeyez: Safely clears connection state and credentials.

2. Direct Resource Diagnostics

  • get_js_errors: Returns client-side JavaScript console errors, occurrences, and stack traces.
  • get_failed_api_calls: Lists failed HTTP/network requests (AJAX/Fetch returning 4xx or 5xx).
  • get_session_examples: Retrieves recorded user session replay links matching specific filters.
  • get_funnel_summary: Retrieves conversion rates and drop-off summaries for configured funnels.
  • get_checkout_dropoffs: Returns checkout funnel friction details.
  • get_revenue_loss_estimate: Returns estimated revenue impact caused by conversion drop-offs or errors.
  • list_accounts / list_sites: Helper tools to retrieve accessible accounts and sites.

Environment Variables

  • WEBEYEZ_API_KEY (Required): Your personal API Key or Personal Access Token (PAT).
  • WEBEYEZ_MCP_URL (Optional): Overrides the default hosted Webeyez MCP gateway endpoint (default: https://api.app.webeyez.com/mcp).

Security & Architecture

The Webeyez MCP server uses a secure hybrid model:

  1. Lightweight Gateway: The NPM package published is a transparent proxy. It doesn't contain any local business logic or database drivers, preventing intellectual property exposure.
  2. Standard stdin/stdout: The proxy listens to standard streams, ensuring 100% compatibility with all standard MCP hosts (e.g. Claude Desktop, Cursor).
  3. Encrypted HTTPS/SSE Tunnel: Messages are securely routed from the proxy over TLS to the hosted Webeyez endpoints where authentication and query processing take place.

License

ISC License.