Skip to main content
Glama

browser-mcp

by djyde

浏览器-mcp

浏览器扩展和 MCP 服务器允许您与正在使用的浏览器进行交互。

甲基氯丙烯

jkXeswNy@2x

用法

{ "mcpServers": { "playwright": { "command": "npx", "args": [ "@djyde/mcp-browser@latest" ] } } }

工具

所有可用的工具都列在server/src/tools.ts中。

get_current_page_markdown

从当前浏览器浏览页面获取markdown。

例子:

Summarize the current page.

append_style

为当前浏览器浏览页面附加一个css样式。

例子:

Change the current page to dark mode.

搜索浏览器历史记录。

例子:

Search the browser history for "github".

路线图

  • [ ] 将扩展发布到扩展商店。
  • [ ] 编写文档。
  • [ ] 添加更多工具。

建造

pnpm i

扩大

cd extension # chrome npm run build # edge npm run build:edge # firefox npm run build:firefox

构建后,扩展将位于extension/.output目录中。

服务器

cd server # dev npm run dev # build npm run build

server/dist/cli.js是 MCP 服务器入口。

贡献

添加新工具

  1. 将工具模式添加到server/src/tools.ts中的tools数组中。
  2. extension/calls.ts中添加扩展可调用处理程序。
  3. server/src/tools.ts中添加一个工具处理程序。使用call函数调用扩展处理程序。

执照

AGPL-3.0-或更高版本

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

local-only server

The server can only run on the client's local machine because it depends on local resources.

一个 MCP 服务器,允许 AI 助手与浏览器交互,包括获取页面内容为 markdown、修改页面样式和搜索浏览器历史记录。

  1. 用法
    1. 工具
      1. get_current_page_markdown
      2. append_style
      3. history_search
    2. 路线图
      1. 建造
        1. 扩大
      2. 服务器
        1. 贡献
          1. 添加新工具
        2. 执照

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            A headless browser MCP server that allows AI agents to fetch web content and perform Google searches without API keys, supporting various output formats like Markdown, JSON, HTML, and text.
            Last updated -
            2
            4
            TypeScript
            MIT License
          • A
            security
            F
            license
            A
            quality
            An MCP protocol server that enables web search functionality using the Tavily API, allowing AI assistants to perform internet searches in real-time.
            Last updated -
            4
            2
            Python
          • -
            security
            A
            license
            -
            quality
            An MCP server that helps AI assistants access text content from websites that implement bot detection, bridging the gap between what you can see in your browser and what the AI can access.
            Last updated -
            1
            Python
            Apache 2.0
          • -
            security
            A
            license
            -
            quality
            An MCP server that enables AI assistants to control a web browser through natural language commands, allowing them to navigate websites and extract information via SSE transport.
            Last updated -
            505
            Python
            MIT License
            • 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/djyde/browser-mcp'

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