gomcp

gomcp

Go-based Model Context Protocol server for integrating Lightpanda Browser with AI tools via CDP.

26
Stars
6
Forks
26
Watchers
3
Issues
gomcp is a server implementation of the Model Context Protocol (MCP) written in Go. It enables interaction between Lightpanda Browser and AI tools using the Chrome DevTools Protocol (CDP) over various transports such as standard input/output and Server-Sent Events. gomcp can operate as a backend for desktop AI assistants like Claude Desktop, providing tools to manage browser-based context. It facilitates easy browser orchestration and context sharing in standardized ways for downstream applications.

Key Features

Implements the Model Context Protocol server in Go
Integrates with Lightpanda Browser via CDP
Supports multiple transport mechanisms (stdio, SSE)
Local and remote browser session orchestration
Works as a backend for Claude Desktop
Automated browser binary management (download, cleanup)
Cross-platform configuration directory management
Easy configuration and integration with AI desktops
Command line control and flexible startup options
Open source with dependencies on widely used browser tooling

Use Cases

Providing browser context to desktop AI assistants
Automating Chromium-based browser sessions for data extraction or processing
Integrating AI workflows with real-time browser state and content
Managing browser orchestration for automated testing environments
Serving as a backend for custom CDP clients
Enabling standardized AI-agent interaction with browsers
Building cross-platform tools that require browser context sharing
Prototyping AI integrations with browser control
Facilitating browser-based demonstrations in AI-driven applications
Easy lifecycle management of browser binaries in automated setups

README

Lightpanda Go MCP server

gomcp is an MCP server written in Go.

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

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

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.

json
{
  "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:

Star History

Star History Chart

Repository Owner

lightpanda-io
lightpanda-io

Organization

Repository Details

Language Go
Default Branch main
Size 91 KB
Contributors 3
License Apache License 2.0
MCP Verified Sep 5, 2025

Programming Languages

Go
94.75%
Makefile
4.2%
Dockerfile
1.05%

Tags

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • cloudflare/mcp-server-cloudflare

    cloudflare/mcp-server-cloudflare

    Connect Cloudflare services to Model Context Protocol (MCP) clients for AI-powered management.

    Cloudflare MCP Server enables integration between Cloudflare's suite of services and clients using the Model Context Protocol (MCP). It provides multiple specialized servers that allow AI models to access, analyze, and manage configurations, logs, analytics, and other features across Cloudflare's platform. Users can leverage natural language interfaces in compatible MCP clients to read data, gain insights, and perform automated actions on their Cloudflare accounts. This project aims to streamline the orchestration of security, development, monitoring, and infrastructure tasks through standardized MCP connections.

    • 2,919
    • MCP
    • cloudflare/mcp-server-cloudflare
  • awslabs/mcp

    awslabs/mcp

    Specialized MCP servers for seamless AWS integration in AI and development environments.

    AWS MCP Servers is a suite of specialized servers implementing the open Model Context Protocol (MCP) to bridge large language model (LLM) applications with AWS services, tools, and data sources. It provides a standardized way for AI assistants, IDEs, and developer tools to access up-to-date AWS documentation, perform cloud operations, and automate workflows with context-aware intelligence. Featuring a broad catalog of domain-specific servers, quick installation for popular platforms, and both local and remote deployment options, it enhances cloud-native development, infrastructure management, and workflow automation for AI-driven tools. The project includes Docker, Lambda, and direct integration instructions for environments such as Amazon Q CLI, Cursor, Windsurf, Kiro, and VS Code.

    • 6,220
    • MCP
    • awslabs/mcp
  • mcpmcp-server

    mcpmcp-server

    Seamlessly discover, set up, and integrate MCP servers with AI clients.

    mcpmcp-server enables users to discover, configure, and connect MCP servers with preferred clients, optimizing AI integration into daily workflows. It supports streamlined setup via JSON configuration, ensuring compatibility with various platforms such as Claude Desktop on macOS. The project simplifies the connection process between AI clients and remote Model Context Protocol servers. Users are directed to an associated homepage for further platform-specific guidance.

    • 17
    • MCP
    • glenngillen/mcpmcp-server
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results