Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[FEAT] Official MCP HTTP endpoint (Playwright MCP / Chrome DevTools MCP) on linuxserver/chrome

Aperta
#19 2 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
docker, docker-compose, playwright

Direzione di ricerca

Inizia con l’issue #11 e il comportamento esistente di CHROME_CLI per il remote debugging, incluso il requisito di una directory dei dati utente non predefinita. Esamina quindi i servizi docker-compose proposti e decidi se il risultato supportato debba essere un docker-mod o un esempio nel README. Il lavoro è completo quando è disponibile un endpoint MCP HTTP ufficiale e documentato insieme all’interfaccia UI Selkies esistente, senza aggiungere il VNC classico.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

no-issue-activity
Is this a new feature request?
  • I have searched the existing issues
Wanted change

Document or ship an official way to expose MCP (Model Context Protocol) next to the existing Selkies GUI on linuxserver/chrome.

Specifically:

  1. Keep Google Chrome in the desktop container (this image is already the right shape).
  2. Expose an HTTP MCP endpoint agents can call, e.g. Playwright MCP or Chrome DevTools MCP, something like http://host:8931/mcp.
  3. Either:
    • an official docker-mod that starts MCP against this Chrome via CDP, or
    • README + compose example: CHROME_CLI CDP + sidecar (socat because Chrome still binds DevTools to 127.0.0.1) + npx @playwright/mcp --host 0.0.0.0 --port 8931 --cdp-endpoint http://127.0.0.1:9224.

This is not a request to add classic VNC 5900. The Selkies UI on :3001 is fine for humans. MCP is for agents.

Reason for change

I searched this repo (all 8 issues) and linuxserver/docker-chromium. Nobody used the word MCP.

Closest threads are CDP only:

  • This repo: #11 (CHROME_CLI remote debugging; Chrome 136+ needs non-default --user-data-dir; --remote-debugging-address ignored, binds 127.0.0.1)
  • Chromium: #71, #75 (CDP), #16 (Puppeteer wsEndpoint), #30 (remote-debugging-port)

Agents cannot use CDP as MCP. Outbound MCP clients need Streamable HTTP. Community one-shots exist (Playwright Chromium + noVNC + MCP) but they are not this Google Chrome image.

Benefit: same linuxserver Chrome desktop we already run, plus a supported agent attach path, without a third-party fork.

Proposed code change

Document this (or ship it as a docker-mod):

services:
  chrome:
    image: lscr.io/linuxserver/chrome:latest
    environment:
      - CUSTOM_USER=abc
      - PASSWORD=abc
      - CHROME_CLI=--user-data-dir=/config/chrome-cdp --remote-debugging-port=9223
    ports:
      - "3001:3001"
      - "8931:8931"
    shm_size: "1gb"
    volumes:
      - ./config:/config
  chrome-proxy:
    image: alpine/socat:latest
    network_mode: "service:chrome"
    command: tcp-listen:9224,fork,reuseaddr,bind=0.0.0.0 tcp:127.0.0.1:9223
  playwright-mcp:
    image: mcr.microsoft.com/playwright/mcp
    network_mode: "service:chrome"
    init: true
    stdin_open: true
    command: --host 0.0.0.0 --port 8931 --cdp-endpoint http://127.0.0.1:9224

Human view: https://host:3001. Agent: http://host:8931/mcp.

Is MCP on the roadmap, or is CDP-only the intended attach surface?

Lingua principale
Dockerfile
Stelle
69
Fork
19
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.