MCP server for browser interaction

MCP server for browser interaction

mcpmonkey•bykstrikis

MCPMonkey provides an MCP server plus browser extension that lets AI language models interact with the browser through tools for tab management and page style extraction.

License: Not specified•Runtime: Awaiting documentation review•Category: browser automation

WHAT IT DOES

  • •Provides a browserAction tool to get information about open tabs, create, close, activate, and duplicate tabs.
  • •Provides a getPageStyles tool that extracts structured styling information from web pages, including global styles, computed styles, color schemes, and typography.
  • •The server implements both stdio and WebSocket interfaces, with WebSocket used for internal communication with the browser extension.
  • •Includes full compatibility with existing userscripts inherited from Violentmonkey.

BEST FOR

  • •Developers who want to access browser resources directly from Cursor or other AI tools.
  • •Automating browser interactions through natural language commands.
  • •AI analysis of web page styling such as color schemes and typography.

ABOUT MCPMONKEY

MCP server for browser interaction is cataloged as an MCP server attributed to kstrikis. MCPMonkey provides an MCP server plus browser extension that lets AI language models interact with the browser through tools for tab management and page style extraction. It is categorized under browser automation. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server for browser interaction are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How do the extension and server communicate?

They communicate internally via WebSocket on port 3025, while external MCP clients like Cursor connect via stdio transport.

What MCP features are planned for the future?

Planned features include installing and managing multiple MCP servers from the browser, broader browser access, permissions control, and a community hub.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 335d15f6d3d5 · 采集于 2026-11-13 11:13:33 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

MCPMonkey

MCPMonkey is a fork of Violentmonkey, extending its powerful userscript capabilities to support Model Context Protocol (MCP) servers. This project aims to bridge the gap between AI language models and browser interactions.

About MCPMonkey

MCPMonkey enhances the browser extension capabilities of Violentmonkey to provide a user-friendly interface for managing and using Model Context Protocol (MCP) servers. This allows AI language models like those used in Cursor to interact with your browser in meaningful ways.

Current Features

MCPMonkey currently implements these key features:

  • Tab Management (browserAction Tool):

    • Get information about all open tabs
    • Create new tabs
    • Close tabs
    • Activate (focus) tabs
    • Duplicate tabs
  • Page Style Extraction (getPageStyles Tool):

    • Extract styling information from web pages for AI analysis
    • Returns structured JSON data about styles
    • Includes global styles, computed styles, color schemes, typography
  • User Script Support: Full compatibility with existing userscripts (inherited from Violentmonkey)

Planned Features

The following features are planned for future development:

  • MCP Server Management: Install and manage multiple MCP servers directly from your browser
  • Enhanced Browser Access: Allow AI tools to interact with:
    • Browsing history
    • Bookmarks
    • Dev console logs
    • Other installed extensions
  • Permissions Control: Fine-grained control over what resources each MCP server can access
  • Community Hub: Share and discover MCP servers and scripts

Cursor MCP Integration

MCPMonkey consists of two main components that need to be installed in the following order:

  1. MCP Server
  2. Browser Extension

1. Adding the MCP Server to Cursor

Using the published NPM package:

  • In Cursor, go to Settings > Features > MCP Servers
  • Click the + Add New MCP Server button
  • Configure the connection with:
    • Name: mcpmonkey-server
    • Type: command
    • Command: npx mcpmonkey-server

Or if building yourself:

# Navigate to the server directory
cd mcpmonkey-server

# Install dependencies
yarn

# Build the server
yarn build

# Run the server
node build/index.js
  • Configuring in Cursor:
    • Name: mcpmonkey-server
    • Type: command
    • Command: node /absolute/path/to/mcpmonkey-server/build/index.js

Cursor connects to the MCPMonkey server using the stdio transport for MCP communication. Once configured, Cursor's Agent in Composer will automatically use available MCP tools when relevant.

Note: in Cursor 0.46+ MCP settings are in their own tab and there is support for .cursor/mcp.json files. More here.

2. Browser Extension Installation

Firefox Installation

  1. Build the project following the Development instructions below
  2. Open Firefox and navigate to about:debugging
  3. Click "This Firefox" in the left sidebar
  4. Click "Load Temporary Add-on..."
  5. Navigate to the dist folder in your MCPMonkey build directory
  6. Select any file from the dist folder to load the extension

Note: As this is a temporary installation, you'll need to reload the extension each time you restart Firefox.

We plan on offering .xpi files soon.

MCPMonkey's Browser Tools

Our implementation of MCP tools provides AI language models like those in Cursor with powerful browser interaction capabilities:

  • browserAction Tool:

    • Get information about all open tabs
    • Create new tabs
    • Close tabs
    • Activate (focus) tabs
    • Duplicate tabs
  • getPageStyles Tool:

    • Extract page styling information (global styles, computed styles, color schemes, typography)
    • Returns structured JSON data for AI analysis
    • Uses content script bridge for communication with web pages

These tools allow AI models to have meaningful, context-aware interactions with your browsing session through a WebSocket connection on port 3025.

For development and testing, you can run the server with the MCP inspector:

# Run with MCP inspector for debugging
npx @modelcontextprotocol/inspector node build/index.js

The server implements both stdio and WebSocket interfaces, with the WebSocket server running on port 3025 for internal communication with the browser extension.

Use Cases

  • For Developers:

    • Access browser resources directly from Cursor or other AI tools
    • View console logs and debug information in your AI development environment
    • Create custom MCP servers for specific development needs
  • For Users:

    • Let your desktop chatbot help you find that website you visited last week
    • Allow AI tools to draft social media messages or emails
    • Automate browser interactions through natural language commands

Development

Extension Development

Install Node.js and Yarn v1.x.
The version of Node.js should match "node" key in package.json.

# Install dependencies
$ yarn

# Watch and compile
$ yarn build

Then load the extension from 'dist/'.

Technical Details

Currently implemented technical components:

  • WebSocket Communication: The extension and server communicate internally via WebSocket on port 3025
  • Content Script Bridge: Allows for interaction with web page content through secure messaging
  • Zod Schema Validation: Ensures data integrity between components with runtime type checking
  • Stdio Transport: External MCP clients like Cursor connect via stdio transport

Credits

This project is based on Violentmonkey, an excellent userscript manager that provides the foundation for MCPMonkey's enhanced capabilities. We extend our gratitude to the Violentmonkey team and contributors for their outstanding work.

Community

https://mcpmonkey.com - For more documentation and MCP tool scripts

License

This project is licensed under the same terms as Violentmonkey. See the LICENSE file for details.

We may add paid features in the future.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server for browser interaction from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcpmonkey)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related browser automation MCP Servers

Alternative and complementary servers in the same category

View all in browser automation →

A Model Context Protocol (MCP) server for controlling Chrome with debugging capabilities, userscript injection, and extension support.

Repository stats unavailable
Browser & Scraping
Web Browser MCP Server
web-browser-mcp-server•blazickjp

An MCP server that lets AI assistants browse websites and extract content using optional CSS selectors.

Repository stats unavailable
Browser & Scraping
Steel MCP Server
steel-mcp-server•steel-dev

An MCP server that reads pages, fills forms, takes screenshots, and hands the browser to a person for logins or CAPTCHAs.

Repository stats unavailable
Browser & Scraping