Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with @modelcontextprotocol/server-puppeteer: Non-latest npm Version Causes Lack of Docker Support and headless: true Configuration #749

Open
SunPeter opened this issue Mar 6, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@SunPeter
Copy link

SunPeter commented Mar 6, 2025

Describe the bug
The @modelcontextprotocol/server - puppeteer package version ^0.6.2 (the latest version) lacks support for Docker and the headless: true configuration as there is no master branch. It is required to synchronize with npm to potentially resolve these issues.

To Reproduce
Steps to reproduce the behavior:

  1. Set up the following Puppeteer configuration in your project (e.g., in a relevant configuration file):
"puppeteer": {
      "command": "DOCKER_CONTAINER=True && npx",
      "args": ["-y", "@modelcontextprotocol/server-puppeteer"],
      "env": {
        "DOCKER_CONTAINER": "True"
      }
    }
  1. Try to run the Puppeteer - related operations using the configured setup.
  2. Notice that the Docker support is not available and the headless: true configuration may not work as expected.

Expected behavior
After synchronizing with npm, the @modelcontextprotocol/server - puppeteer package should have proper support for Docker, allowing it to run smoothly within a Docker container. Also, the headless: true configuration should be recognized and work as intended, enabling the Puppeteer browser to run in headless mode.

@SunPeter SunPeter added the bug Something isn't working label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant