Grok Chrome Bridge

Grok Chrome Bridge

Enables Grok Build to attach to the user's active Chrome profile via MCP, leveraging the profile's tabs, cookies, and logins instead of launching an isolated browser.

Category
访问服务器

README

Grok Chrome Bridge

<p align="center"> <img src="docs/hero.png" alt="Grok Chrome Bridge — point Grok Build at the Chrome profile you mark Active" width="100%"> </p>

<p align="center"> <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-3dd68c?style=flat-square" alt="MIT License"></a> <a href=".github/workflows/ci.yml"><img src="https://img.shields.io/badge/tests-native%20host%20%2B%20wrapper-3dd68c?style=flat-square" alt="Tests"></a> <img src="https://img.shields.io/badge/Chrome-144%2B-4285F4?style=flat-square&logo=googlechrome&logoColor=white" alt="Chrome 144+"> <img src="https://img.shields.io/badge/Grok%20Build-MCP-111114?style=flat-square" alt="Grok Build MCP"> </p>

Chrome extension that lets Grok Build attach to this Chrome profile — the one where you mark the extension Active — instead of launching an empty isolated browser.

Grok then sees that profile’s tabs, cookies, and logins.

<p align="center"> <img src="docs/popup.png" alt="Extension popup with the Active toggle on, remote debugging connected, and this profile’s tabs listed" width="420"> </p>

Why this exists

chrome-devtools-mcp (what Grok Build uses) starts a throwaway Chrome profile by default. --autoConnect can attach to a running Chrome 144+ instance, but it always picks Chrome’s default profile.

This extension flips that: you choose the profile. Mark it Active, Grok connects there.

How it works

This Chrome profile          Native host                 Grok Build
┌──────────────────┐     ┌─────────────────────┐     ┌──────────────────┐
│ Grok Chrome      │ NM  │ Writes              │     │ MCP wrapper      │
│ Bridge · Active  │────▶│ ~/.grok/            │────▶│ chrome-devtools  │
│                  │     │ chrome-bridge.json  │     │ --ws-endpoint    │
└──────────────────┘     └─────────────────────┘     └──────────────────┘

The extension cannot turn remote debugging on by itself. Chrome 144+ does that from chrome://inspect/#remote-debugging.

Piece Path Role
Extension extension/ MV3 popup + Active toggle
Native host native-host/ Finds this Chrome’s DevTools port
MCP wrapper mcp/ Starts chrome-devtools-mcp against that endpoint

Install

Needs: macOS, Python 3, Node.js 20+, Chrome 144+.

git clone https://github.com/davidsolheim/grok-chrome-bridge.git
cd grok-chrome-bridge
./scripts/install.sh

That registers the native host com.grokchromebridge.host for Chrome, Chromium, Brave, and Edge.

To also point Grok Build at this wrapper (rewrites only [mcp_servers.chrome-devtools] in ~/.grok/config.toml):

./scripts/install.sh --configure-grok

Then:

  1. Open chrome://extensions → Developer mode → Load unpacked → the repo’s extension/ folder.
  2. Confirm the ID is kaelkjfngeajflpnjpgoijcjjcalnphi.
  3. Open chrome://inspect/#remote-debugging and enable remote debugging.
  4. Click the extension icon → Active.
  5. Restart Grok Build so MCP reconnects.
node mcp/grok-chrome-mcp.mjs --status

Daily use

  1. Open the Chrome profile you want Grok to use.
  2. Click Active.
  3. Keep that Chrome window open.
  4. Work in Grok as usual.

Only one profile should be Active. Activating another profile takes over.

Security

This is a local browser-control tool. An Active profile plus Chrome remote debugging lets any local process attach to that browser.

  • Discovery file is mode 0600 and holds loopback DevTools URLs only — not tab URLs, cookies, or account names.
  • Native messaging allowed_origins is locked to this extension’s ID.
  • The host only probes 127.0.0.1.
  • manifest.json key is a public key (stable unpacked ID), not a private key.

Read SECURITY.md before using this on a profile that has sensitive sessions.

Troubleshooting

Symptom Fix
Popup: native host not found ./scripts/install.sh, then reload the extension
Remote debugging Off chrome://inspect/#remote-debugging → enable → Refresh
--status says no Active profile Toggle Active in the profile you want
Grok still opens a blank Chrome Confirm ~/.grok/config.toml chrome-devtools command is node + this wrapper; restart Grok
Wrong profile Activate the extension in the desired profile (storage is per-profile)
Extension ID changed Don’t remove the key in manifest.json; re-run install.sh

Develop

python3 tests/test_native_host.py
node tests/test_mcp_wrapper.mjs

See CONTRIBUTING.md and shared/protocol.md.

License

MIT © David Solheim

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选