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

mcpxbridge

v1.0.0

Published

MCP server for browser automation using McpXbridge

Readme

McpXbridge - Model Context Protocol Server for Browser Automation

npm version License: MIT

McpXbridge is a Model Context Protocol (MCP) server that provides browser automation capabilities for AI assistants and applications. It offers a standardized interface for controlling web browsers, enabling seamless integration with MCP-compatible clients such as Cursor, Claude, and other development tools.

Features

  • Standards Compliant: Full MCP server implementation following official specifications
  • Comprehensive Browser Control: Navigate, interact with elements, and automate web workflows
  • Real-time Monitoring: Accessibility tree inspection, console log capture, and screenshot functionality
  • Simple Deployment: Quick setup via npx or local installation
  • TypeScript Support: Complete type definitions for enhanced development experience
  • Cross-Platform: Compatible with Windows, macOS, and Linux environments

System Requirements

  • Node.js version 18 or higher
  • Chrome or Chromium browser
  • McpXbridge browser extension (included)

Installation

Quick Start

npx mcpbridgex@latest

Local Installation

npm install -g mcpbridgex
mcpbridgex

Configuration

Cursor IDE Integration

Create or modify the MCP configuration file in your Cursor settings directory:

File Location:

  • Windows: %APPDATA%/Cursor/User/globalStorage/cursor.mcp/mcp.json
  • macOS: ~/Library/Application Support/Cursor/User/globalStorage/cursor.mcp/mcp.json
  • Linux: ~/.config/Cursor/User/globalStorage/cursor.mcp/mcp.json

Configuration (using npx):

{
  "mcpServers": {
    "mcpbridgex": {
      "command": "npx",
      "args": ["mcpbridgex"],
      "env": {}
    }
  }
}

Configuration (global installation):

{
  "mcpServers": {
    "mcpbridgex": {
      "command": "mcpbridgex",
      "args": [],
      "env": {}
    }
  }
}

Restart Cursor after saving the configuration file.

Available Tools

Navigation Tools

  • mcp_mcpbridgex_navigate - Navigate to a specified URL
  • mcp_mcpbridgex_go_back - Navigate to the previous page in browser history
  • goForward - Navigate to the next page in browser history

Interaction Tools

  • mcp_mcpbridgex_click - Click on page elements using CSS selectors or ARIA queries
  • mcp_mcpbridgex_hover - Hover over specified elements
  • type - Input text into form fields and text areas
  • selectOption - Select options from dropdown menus
  • pressKey - Send keyboard events to the active page
  • wait - Pause execution for specified time intervals

Inspection Tools

  • snapshot - Generate accessibility tree snapshots of page content
  • getConsoleLogs - Retrieve browser console messages and errors
  • screenshot - Capture PNG screenshots of the current page state

Browser Extension Setup

The McpXbridge browser extension facilitates communication between the MCP server and browser tabs:

  1. Open Chrome or Chromium browser
  2. Go to the Chrome Web Store
  3. Search for "McpXbridge" extension
  4. Click "Add to Chrome" to install the extension
  5. The extension will connect automatically to your running McpXbridge server

API Reference

McpXbridge implements the Model Context Protocol specification, providing a standardized interface for browser automation. All tools follow MCP conventions for parameter passing and result handling.

Example Usage

// Navigate to a website
await client.callTool('mcp_mcpbridgex_navigate', {
  url: 'https://example.com'
});

// Click an element
await client.callTool('mcp_mcpbridgex_click', {
  selector: 'button[type="submit"]'
});

// Capture page content
const snapshot = await client.callTool('snapshot');

Architecture

McpXbridge consists of:

  • MCP Server: Handles client connections and tool execution requests
  • Browser Extension: Executes automation commands within browser context
  • WebSocket Transport: Manages real-time communication between components
  • Tool Registry: Provides standardized browser automation capabilities

Troubleshooting

Common Issues

Server Connection Failed:

  • Ensure Node.js version 18+ is installed
  • Verify the MCP configuration syntax is correct
  • Check that the server process is running

Browser Extension Not Working:

  • Confirm the extension is loaded and enabled in Chrome
  • Verify the extension has necessary permissions
  • Check browser console for error messages

Tool Execution Timeouts:

  • Increase wait times for slow-loading pages
  • Ensure target elements exist before interaction
  • Use snapshots to verify page state before actions

Performance Considerations

  • Browser automation tools execute asynchronously
  • Large page snapshots may impact performance
  • Screenshot generation requires additional processing time
  • Multiple concurrent operations should be managed carefully

Security Notes

McpXbridge operates with browser-level permissions and should be used in trusted environments. The extension requires access to active tabs for automation functionality.

Support

For technical support and documentation updates, please refer to the npm package page and version release notes.

License

This software is licensed under the MIT License.


Version: Check npm for the latest release Compatibility: MCP Protocol v1.0+ Node.js: 18.0.0 or higher