
A Model Context Protocol (MCP) server for controlling Chrome with debugging capabilities, userscript injection, and extension support.

A Chrome extension plus local MCP server that bridges web pages to the MCP server over WebSocket, letting the server run tools and read resources in the browser.
Chrome Extension Bridge MCP is cataloged as an MCP server attributed to oanakiaja. A Chrome extension plus local MCP server that bridges web pages to the MCP server over WebSocket, letting the server run tools and read resources in the browser. It is categorized under browser automation. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Chrome Extension Bridge MCP are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Through a WebSocket connection, using a JSON-RPC-like protocol.
The extension automatically connects to ws://localhost:54319 by default.
mcp:resource.* for browser resources and properties, and mcp:tool.* for executing functions in the browser context.
README.md · 33b97607b6e4 · 采集于 2026-11-13 09:46:18 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A Chrome extension that establishes a WebSocket connection between web pages and a local MCP server. This allows you to interact with web page resources and execute functions from your mcp server.
Inspired by playcanvas/editor-mcp-server.

This project consists of two main components:
With this setup, you can:
window.editor which is exposed by the website to control the editor. Just like playcanvas/editor-mcp-server.git clone https://github.com/yourusername/chrome-extension-socket-mcp.git
cd chrome-extension-socket-mcp
npm install
Run the following command to build the extension in development mode:
npm run debug
chrome://extensions/extension folder from this projectimport { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import { z } from "zod";
import { Client } from "../src/client";
// Define the port for WebSocket connection
// This should match the port in your Chrome extension's WebSocket connection
const port = 54319;
const client = new Client(port);
// Establish connection to the Chrome extension
await client.connect();
// Create a new MCP server instance with name and version
const server = new McpServer({
name: "Extension-Socket-Server",
version: "1.0.0",
});
// Register a tool that executes the window.alert function in the browser
// This demonstrates how to interact with browser APIs from your server
server.tool(
"alert", // Tool name
"use window.alert", // Tool description
{ message: z.string() }, // Tool parameters schema using Zod
async ({ message }) => { // Tool implementation function
// Call the extension to execute alert in the browser context
const response = await client.callToolExtension("alert", { message });
return response;
}
);
// Register a resource to retrieve the browser's user agent
// This demonstrates how to access browser properties from your server
server.resource(
"userAgent", // Resource name
"useragent://chrome", // Resource URI template
async (uri) => { // Resource handler function
// Get the user agent from the browser
const { content } = await client.callResourceExtension("navigator.userAgent");
// Return the formatted resource
return {
contents: [
{
uri: uri.href,
text: content[0].text,
},
],
};
}
);
// Set up a transport layer for the MCP server
// StdioServerTransport uses standard input/output for communication
const transport = new StdioServerTransport();
await server.connect(transport);
// Handle application termination gracefully
process.on("SIGINT", async () => {
console.log("SIGINT signal received"); // Log when SIGINT is received
await client.dispose(); // Close the WebSocket connection
process.exit(0); // Exit the process
});
The extension automatically connects to ws://localhost:54319 by default. You can modify this in extension/content.js.
The extension exposes two main entry points for server commands:
mcp:resource.* - For accessing browser resources and propertiesmcp:tool.* - For executing functions in the browser contextnew Client(port) - Create a new client instance connecting to specified portconnect() - Connect to the MCP servercallToolExtension(toolName, params) - Call a tool in the browsercallResourceExtension(resourceName, params) - Get a resource from the browserdispose() - Close the connectionThe extension uses a simple JSON-RPC-like protocol:
Request:
{
"id": "unique-request-id",
"method": "mcp:resource.navigator.userAgent",
"params": {}
}
Response:
{
"id": "unique-request-id",
"result": "Mozilla/5.0 ..."
}
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Chrome Extension Bridge MCP from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/chrome-extension-bridge-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A Model Context Protocol (MCP) server for controlling Chrome with debugging capabilities, userscript injection, and extension support.

An MCP server that lets AI assistants browse websites and extract content using optional CSS selectors.

An MCP server that reads pages, fills forms, takes screenshots, and hands the browser to a person for logins or CAPTCHAs.