Skip to main content
Glama

Browser Monitoring MCP Server

by Operative-Sh

控制台和网络日志 Playwright MCP 服务器

此 MCP(模型上下文协议)服务器使用 Playwright 打开浏览器、监控控制台日志并跟踪网络请求。它将这些功能公开为可供 MCP 客户端使用的工具。

特征

  • 在指定的 URL 处打开浏览器
  • 监视和检索控制台日志
  • 跟踪和检索网络请求
  • 完成后关闭浏览器

要求

  • Python 3.8+
  • 剧作家
  • 模型上下文协议 (MCP) Python SDK

克劳德的安装

编辑文件: ~/Library/Application\ Support/Claude/claude_desktop_config.json

添加此内容:

"playwright": { "command": "/Users/christophersettles/.local/bin/uv", "args": [ "--directory", "/ABSOLUTE/PATH/TO/playwrightdebugger/", "run", "mcp_playwright.py" ] }

(将/ABSOLUTE/PATH/TO/playwrightdebugger/替换为您克隆存储库的目录的绝对路径)

命令

打开 localhost:3000/dashboard 并查看控制台日志和网络请求

关闭浏览器

工作原理

服务器使用 Playwright 的事件监听器来捕获控制台消息和网络活动。当客户端请求这些信息时,服务器会以 LLM 可以使用的结构化格式返回这些信息。

-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

打开浏览器来监控和检索控制台日志和网络请求,向 LLM 提供有关网页行为的结构化数据。

  1. 特征
    1. 要求
      1. 克劳德的安装
        1. 命令
          1. 工作原理

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.
              Last updated -
              1
              54,163
              JavaScript
              MIT License
              • Linux
              • Apple
            • A
              security
              F
              license
              A
              quality
              Enables browser automation for LLMs on Linux display servers, supporting web interaction, screenshots, and JavaScript execution in a real browser.
              Last updated -
              7
              5
              4
              JavaScript
              • Linux
            • A
              security
              F
              license
              A
              quality
              A server that helps discover and analyze websites implementing the llms.txt standard, allowing users to check if websites have llms.txt files and list known compliant websites.
              Last updated -
              2
              2
              44
              JavaScript
              • Apple
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that allows LLMs to interact with web content through standardized tools, currently supporting web scraping functionality.
              Last updated -
              Python
              MIT License
              • Linux
              • Apple

            View all related MCP servers

            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/Operative-Sh/playwright-consolelogs-mcp'

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