Skip to main content
Glama

BrowserLemon 🍋

ローカルChromeの現在のログインセッションをAIがMCPで制御できるようにするオープンソースのブラウザブリッジです。SNS下書き作成とユーザー承認後の投稿フローに焦点を当てています。

Early MVP: 直接レビューなしで運用アカウントに投稿しないでください。サイトのUI変更に応じてelement refが無効になる可能性があります。

特徴

  • MCP標準入出力(stdio)サーバー

  • すでにログイン済みのChromeタブを使用: クッキーとパスワードをMCPサーバーにコピーしない

  • ページ要約、タブ一覧、移動、クリック、入力

  • draft_social_postと明示的なconfirmed=trueが必要なpublish_social_post

  • ローカルホスト専用WebSocketおよび投稿ドメインallowlist

  • MITライセンス

Related MCP server: Tabryn

インストール

npm install
npm run build

Chromeでchrome://extensions → デベロッパーモード → パッケージ化されていない拡張機能を読み込む → このリポジトリのextensionフォルダーを選択します。

MCPクライアント設定例:

{
  "mcpServers": {
    "browserlemon": {
      "command": "node",
      "args": ["/absolute/path/to/browserlemon/dist/index.js"]
    }
  }
}

MCPクライアントを再起動した後、ChromeツールバーのBrowserLemonアイコンをクリックします。バッジにONと表示されれば接続されています。

推奨ワークフロー

  1. browser_statusで接続確認

  2. list_tabsとread_pageで対象およびcomposer refを確認

  3. draft_social_postで文章を入力

  4. ユーザーがブラウザで内容をレビュー

  5. ユーザーが明示的に承認した場合のみpublish_social_post(confirmed=true)を呼び出し

セキュリティモデル

拡張機能はユーザーのブラウザ権限で実行されるため強力です。信頼するローカルMCPクライアントでのみサーバーを実行してください。ブリッジは127.0.0.1にのみバインドされ、パスワード入力値はページスナップショットから除外されます。ただし、ページ本文には個人情報が含まれる可能性があるため、接続したAIサービスのデータポリシーも確認する必要があります。

対応投稿ドメイン: X/Twitter、LinkedIn、Facebook、Instagram、Threads、Bluesky、Mastodon.social。読み取り・下書き入力は一般のhttp(s)ページでも可能です。

貢献

バグレポートとPRを歓迎します。次の優先順位はper-site adapter、画像アップロード、予約投稿、監査ログ、拡張機能の権限細分化です。

Available Tools

8 tools
browser_statusA

Check whether the local Chrome extension is connected.

Inputs: no named parameters.

clickA

Click a visible element identified by the ref returned from read_page.

Inputs: ref (required), tabId.

draft_social_postB

Fill a social-media composer without publishing. Call read_page first and pass its composer ref.

Inputs: text (required), composerRef (required), tabId.

list_tabsA

List normal Chrome tabs. URLs are returned only to the local MCP client.

Inputs: no named parameters.

open_urlA

Open an http(s) URL in the active tab or a new tab.

Inputs: url (required), newTab.

publish_social_postC

Click a publish button on an allowlisted social site. Requires confirmed=true after the user has reviewed the draft.

Inputs: confirmed (required), publishButtonRef (required), tabId.

read_pageA

Read a compact accessibility-oriented snapshot of the active tab. Sensitive input values are omitted.

Inputs: tabId, maxChars.

type_textA

Type into a visible editable element. Existing text is replaced by default.

Inputs: ref (required), text (required), tabId, append.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 8 tools

    Disambiguation4/5

    Each tool has a generally distinct purpose: status, tab listing, page reading, navigation, typing, clicking, and social composing/publishing. There is mild overlap between type_text and draft_social_post, and click could theoretically be used in place of publish_social_post, but the descriptions clarify the intended specialized use.

    Naming Consistency3/5

    Most tools follow a verb_noun snake_case pattern (list_tabs, read_page, open_url, type_text, draft_social_post, publish_social_post), but browser_status is a noun phrase and click is a bare verb. The naming is readable and consistently lowercase, but the pattern is not uniform.

    Tool Count5/5

    Eight tools is well-scoped for a browser automation assistant. Each tool has a clear role with no obvious filler or redundant duplicates, making the count appropriate for the server's purpose.

    Completeness3/5

    The set covers core browsing actions like open, read, type, click, plus a guarded social-posting workflow. However, it lacks standard browser controls such as switching or closing tabs, scrolling, refreshing, and waiting for page conditions, which are notable gaps for browser automation.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Connects AI agents to your Chrome browser via MCP, enabling real-time control of existing tabs, sessions, and application state for development workflows.
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables any MCP-compatible AI agent to drive your own Chrome browser with your existing login state, filling forms, clicking elements, fetching data, and handling captchas without API keys or re-authentication.
      335 npm
      610
      MIT