[FEAT] Official MCP HTTP endpoint (Playwright MCP / Chrome DevTools MCP) on linuxserver/chrome
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
- Ambito
- api, devops, infrastructure
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
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:
- Keep Google Chrome in the desktop container (this image is already the right shape).
- Expose an HTTP MCP endpoint agents can call, e.g. Playwright MCP or Chrome DevTools MCP, something like
http://host:8931/mcp. - Either:
- an official docker-mod that starts MCP against this Chrome via CDP, or
- README + compose example:
CHROME_CLICDP + sidecar (socatbecause Chrome still binds DevTools to127.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_CLIremote debugging; Chrome 136+ needs non-default--user-data-dir;--remote-debugging-addressignored, binds127.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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
microsoft/magentic-ui#588 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
alexgorbatchev/simple-ptt#3 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
CorrelAid/formtransform#44 ·