BrowserLemon
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 buildChromeでchrome://extensions → デベロッパーモード → パッケージ化されていない拡張機能を読み込む → このリポジトリのextensionフォルダーを選択します。
MCPクライアント設定例:
{
"mcpServers": {
"browserlemon": {
"command": "node",
"args": ["/absolute/path/to/browserlemon/dist/index.js"]
}
}
}MCPクライアントを再起動した後、ChromeツールバーのBrowserLemonアイコンをクリックします。バッジにONと表示されれば接続されています。
推奨ワークフロー
browser_statusで接続確認list_tabsとread_pageで対象およびcomposer refを確認draft_social_postで文章を入力ユーザーがブラウザで内容をレビュー
ユーザーが明示的に承認した場合のみ
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 toolsbrowser_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
Scored across 8 tools
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.
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.
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.
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
Related MCP Connectors
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
Let AI agents use your real, signed-in Chrome: tabs, clicks, forms, screenshots and video.
Let AI agents use any website you're logged in to. Sessions stay encrypted on your machine.
Let AI agents work in your own signed-in Chrome, with approvals and verified results.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to control and interact with the user's real Chrome browser session, leveraging existing logins, cookies, and extensions for AI-driven automation.5MIT
- AlicenseNot gradedqualityCmaintenanceConnects AI agents to your Chrome browser via MCP, enabling real-time control of existing tabs, sessions, and application state for development workflows.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to control your existing Chrome browser via MCP, using your logged-in sessions for automation on authenticated sites. Provides high-level browser tools plus raw CDP and Chrome API access.MIT
- AlicenseNot gradedqualityAmaintenanceEnables 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 npm610MIT