Skip to content

Conversation

@ycjcl868
Copy link
Contributor

@ycjcl868 ycjcl868 commented Nov 5, 2025

This pull request introduces Docker support for the browser-mcp package, providing Dockerfiles for both standard and HTTP server variants, along with a .dockerignore file to optimize build context. The Dockerfiles are designed to run the MCP browser server in a secure, production-ready environment with all necessary dependencies, including Chrome and Puppeteer.

Docker support and configuration:

  • Added .dockerignore file to exclude node_modules, build artifacts, and system files from Docker build context, reducing image size and build time.

New Dockerfiles for deployment:

  • Introduced Dockerfile to build a production-ready image for browser-mcp using Node.js 22, installing Chrome, necessary fonts, Puppeteer, and the MCP server, and running as a non-root user for security.
  • Added Dockerfile.http for an HTTP server variant, exposing port 8088 and configuring the entrypoint to run the MCP browser server on that port.

@skychx skychx force-pushed the feat/add-mcp-browser branch from 110c5d5 to 4bfcfff Compare November 12, 2025 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants