MCP.so
登录
服务器

Chrome Extension MCP Server (Go Version)

@fujiron

Chrome Extension MCP Server implemented in Go - For Model Context Protocol to interact with Chrome extensions

概览

What is Chrome Extension MCP Server (Go Version)?

A Go implementation of the Model Context Protocol (MCP) server for the Chrome Extension API, enabling Claude to interact with Chrome browser extensions via a WebSocket bridge. It provides a set of tools for performing browser operations such as tab management, DOM manipulation, CSS injection, and screenshot capture.

How to use Chrome Extension MCP Server (Go Version)?

Install the Chrome extension by either building the Docker container and extracting the extension package, or manually loading the extension directory from extension/. Run the Go server with go run main.go or the compiled binary. Then configure Claude’s MCP server settings in claude_desktop_config.json by specifying the server binary and the CHROME_EXTENSION_ID environment variable.

Key features of Chrome Extension MCP Server (Go Version)

  • WebSocket server bridging Claude with Chrome extensions
  • Tab management (active, all tabs, create tab)
  • DOM manipulation via script execution
  • CSS injection into web pages
  • Cookie access and screenshot capture

Use cases of Chrome Extension MCP Server (Go Version)

  • Automate browser tab operations (get, create, list tabs) through Claude
  • Inject custom CSS or execute JavaScript on web pages programmatically
  • Capture screenshots of the current browser tab
  • Manage browser extensions and send messages to background scripts

FAQ from Chrome Extension MCP Server (Go Version)

What dependencies are required?

You need a Go runtime to run the server from source or a prebuilt binary, plus the Chrome browser with the companion Chrome extension installed.

How do I configure the server for Claude?

Add a MCP server entry to your claude_desktop_config.json with the command pointing to the binary and set the CHROME_EXTENSION_ID environment variable to the installed extension’s ID.

What transport does the server use?

The server uses a WebSocket to communicate with the Chrome extension, and implements the Model Context Protocol (MCP) to expose tools to Claude.

How do I install the Chrome extension?

You can either build the Docker image and extract the extension directory, or manually navigate to the extension/ folder and load it as an unpacked extension in Chrome’s developer mode at chrome://extensions/.

标签

来自「开发工具」的更多内容