Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AIFire in da houseCheck it out free

gomcp

MCP.Pizza Chef: lightpanda-io

gomcp is a lightweight MCP server implemented in Go that enables interaction with the Lightpanda Browser through the Chrome DevTools Protocol (CDP). It facilitates real-time communication between MCP clients and the Lightpanda browser, allowing programmatic control and data exchange. gomcp supports local browser instance management and integrates seamlessly with MCP workflows for browser automation and context exposure.

Use This MCP server To

Control Lightpanda browser sessions via MCP clients Automate web browsing tasks using CDP through MCP Expose browser state and events to LLMs in real time Integrate Lightpanda browser into AI-enhanced workflows Manage local Lightpanda browser instances programmatically Stream browser context and interactions to MCP clients

README

Lightpanda Go MCP server

gomcp is an MCP server written in Go.

It exposes tools to interact with Lightpanda Browser via CDP protocol.

flowchart LR;
  A[CDP Client]-->|SSE or stdio|gomcp;
  gomcp-->|CDP|B[Lightpanda browser];
Loading

Installation

Requirements

gomcp requires you to have already installed Lightpanda Browser.

Build from source

You need to install Go to build from source.

Once you have cloned the repository, build the binary with go build.

Usage

By default, gocmp starts a local instance of Lightpanda browser.

On the first run, you need to download the binary with the command:

$ gomcp download

The browser is stored in the user config directory. $XDG_CONFIG_HOME/lightpanda-gomcp or HOME/.config/lightpanda-gomcp on Linux, $HOME/Library/Application Support/lightpanda-gomcp on Macosx.

You can remove the downloaded binary with gomcp cleanup command.

You can connect on a remote browser with the option --cdp.

$ gomcp -cdp ws://127.0.0.1:9222 stdio

Configure Claude Desktop

You can configure gomcp as a source for your Claude Desktop.

Claude Desktop uses the stdio transport to connect to an MCP server.

Edit the claude_desktop_config.json configuration file and add gomcp as the mcp server and restart Claude Desktop.

{
  "mcpServers": {
    "lightpanda": {
      "command": "/path/to/gomcp",
      "args": ["stdio"]
    }
  }
}

The model context protocol website gives a way to find claude_desktop_config.json file.

Standard input/output (stdio)

You can start gomcp as a stdio.

$ ./gomcp stdio

Server-Sent Events (SSE)

You can start gomcp as a SSE.

By default, the server listens to the HTTP connection at 127.0.0.1:8081.

$ ./gomcp sse
2025/05/06 14:37:13 INFO server listening addr=127.0.0.1:8081

Thanks

gomcp is built thanks of open source projects, in particular:

gomcp FAQ

How do I install gomcp?
Install Go, clone the repository, then build with 'go build'. Also install Lightpanda Browser separately.
How does gomcp communicate with Lightpanda Browser?
It uses the Chrome DevTools Protocol (CDP) to interact with Lightpanda Browser.
Does gomcp start the Lightpanda browser automatically?
Yes, by default gomcp starts a local instance of Lightpanda browser on launch.
How do I download the Lightpanda browser binary for gomcp?
Run 'gomcp download' on first use to download and store the browser binary.
Can gomcp be used with multiple MCP clients?
Yes, gomcp can serve multiple MCP clients by exposing browser tools via CDP.
Is gomcp limited to Lightpanda browser only?
Yes, gomcp is specifically designed to interface with Lightpanda Browser using CDP.
What platforms does gomcp support?
gomcp supports any platform where Go and Lightpanda Browser can be installed.
Can I customize the Lightpanda browser instance started by gomcp?
Yes, gomcp allows configuration of the browser instance parameters during startup.