NB

notoriouslab/browser-mcp-lite

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

42 stars 12 forks 品質 75 トレンド 0MIT

notoriouslab/browser-mcp-lite は [https://github.com/notoriouslab/browser-mcp-lite.] からインポートされた MCP サーバーの候補です

概要

notoriouslab/browser-mcp-lite は [https://github.com/notoriouslab/browser-mcp-lite.] からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

中国語(簡体)

AIアシスタントの目を実際のブラウザに–500行のコードに導きます。

AI アシスタントがページを読んだり、スクリーンショットを撮ったり、実際の Chrome ブラウザーでスクリプトを実行したりすることを可能にする、最小限の auth-secured MCP サーバーで、既存のログインセッションがそのまま実行できます。

なぜ自分で構築するのか?

既存のブラウザ MCP ソリューションは以下のいずれかです。

  • Too重 — mcp-chrome は debugger, [[history]]], [[ ]]]) の許可を要求します, 監査できないコードを出荷
  • Headlessだけ — Playwright MCP は新しいブラウザを起動し、ログインセッションが表示されない
  • クラウドに依存しない — ブラウザベースなど、サードパーティのサーバーを介してページをルートする

browser-mcp-liteは異なるアプローチを取ります:

| | mcp-chrome | プレイライトMCP | ブラザーmcp-lite | お問い合わせ | お使いのブラウザをお読みください | はい | いいえ (ヘッドレス) |** | MCP エンドポイントの Auth | ノー | ノー | ノー・ノー・ノー・ノー・ノー | | 延長許可 | 8+ | N/A | 5 (最小限) | | 監査できるコード | 最少 | 有 | 有 | 可 | | ログインセッション | ◯ | ◯ | ◯ |

それが何をするか

標準的なMCPの議定書によって露出される4つの用具:

| 工具 | 説明 | 返品 | お問い合わせ

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

browser-mcp-lite

繁體中文 | English

Give your AI assistant eyes into your real browser — in ~500 lines of code.

A minimal, auth-secured MCP server that lets AI assistants read pages, take screenshots, and run scripts in your actual Chrome browser — with your existing login sessions intact.

AI Assistant ──HTTP POST──▶ MCP Server (:12307) ──WebSocket──▶ Chrome Extension ──▶ DOM
                            (token auth)           (ws://)       (minimal permissions)

Why build your own?

Existing browser MCP solutions are either:

  • Too heavy — mcp-chrome requires debugger, history, `` permissions, ships minified code you can’t audit
  • Headless only — Playwright MCP launches a new browser, can’t see your logged-in sessions
  • Cloud-dependent — Browserbase, etc. route your pages through third-party servers

browser-mcp-lite takes a different approach:

mcp-chrome Playwright MCP browser-mcp-lite
Reads your real browser Yes No (headless) Yes
Auth on MCP endpoint No No Token auth
Extension permissions 8+ N/A 5 (minimal)
Code you can audit Minified Yes ~500 lines
Login sessions Yes No Yes

What it does

Four tools, exposed via standard MCP protocol:

Tool Description Returns
list_tabs List all open tabs [{id, url, title, active}]
read_page Read page as accessibility tree Structured text (token-efficient)
screenshot Capture visible area Base64 PNG image
inject_script Run custom JS in a tab Script return value

Quick start

1. Install and start the server

Option A — npx (no clone needed):

npx browser-mcp-lite

Option B — clone:

GitHub で README 全文を見る

インストール

npx browser-mcp-lite
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "browser": { "type": "http", "url": "http://127.0.0.1:12307/mcp", "headers": { "Authorization": "Bearer YOUR_TOKEN_HERE" } } } }