[Bug]: macOS stdio MCP repeatedly surfaces OpenScreen and accumulates long-lived processes in Codex
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 38/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- electron, macos, typescript
- Domínio
- audio-video-rtc, desktop
Direção de pesquisa
Start by locating the stdio MCP entry point and macOS app startup code, then trace how MCP startup affects Electron windows and how client sessions are cleaned up. The report gives no source files or tests, and a single-client reproduction is still needed; first reproduce with the documented Codex configuration and inspect process and window behavior. Done means unrelated Codex use no longer repeatedly surfaces OpenScreen UI or leaves unnecessary MCP processes running.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Search existing issues
- I searched existing issues. #1137 is related to concurrent CLI processes but describes Chromium profile contention, not this repeated popup/process accumulation symptom.
Describe the bug
After following the documented demo skill setup and registering the installed macOS app as a global Codex stdio MCP server, OpenScreen repeatedly popped up during normal Codex usage, without an explicit recording request at those moments. Multiple long-lived Openscreen mcp processes accumulated in the background.
On November 6, 2026, process inspection found 38 OpenScreen MCP main processes. Their parents were Codex app-server processes (desktop bundled Codex and Homebrew Codex). Some instances had been alive for over a day; others were newly started. During cleanup, 111 OpenScreen app processes including helpers were sent SIGTERM, and a subsequent check found zero remaining.
The user-facing popup symptom and process accumulation are observed. I have not isolated whether the popup is a normal window, Dock activation, or another Electron startup UI, nor whether the instance accumulation is caused by MCP client lifecycle, OpenScreen lifecycle, or their interaction. No claim that all 38 processes displayed windows simultaneously.
Expected behavior
Registering the documented stdio MCP integration should not repeatedly surface OpenScreen UI during unrelated chats. Multiple client sessions should have a supported lifecycle that avoids leaving unnecessary Electron processes running. Recording or editing UI should appear only when requested, or otherwise be clearly documented.
To reproduce (observed workflow)
-
Install OpenScreen 2.1.2 on macOS.
-
Follow the install-page instructions:
npx skills add getopenscreen/openscreen --skill openscreen-demo -y. -
Confirm the installed executable's
helpoutput listsmcp. -
Register it using:
codex mcp add openscreen -- /Applications/OpenScreen.app/Contents/MacOS/Openscreen mcpResulting config:
[mcp_servers.openscreen] command = "/Applications/OpenScreen.app/Contents/MacOS/Openscreen" args = ["mcp"] -
Use Codex across chats/sessions over time. Desktop and Homebrew Codex app-server processes were both present in this environment.
-
Observe repeated OpenScreen popups and accumulated processes with this exact main-process command:
/Applications/OpenScreen.app/Contents/MacOS/Openscreen mcp
This has not been reproduced on a clean profile or with only one MCP client. A single-client minimal reproduction is still needed.
Environment
- OpenScreen version/build: 2.1.2 / 2.1.2 (read from the installed app's Info.plist)
- Bundle identifier:
com.etiennelescot.openscreen - macOS: 26.5.2
- Architecture: arm64 / Apple Silicon
- MCP transport: stdio, global Codex configuration
- Device: Mac laptop
- Browser: not applicable
Workaround and limitations
Removed the global integration with codex mcp remove openscreen, stopped the remaining OpenScreen processes, and uninstalled the app at the user's request. Recordings and projects were preserved. There were zero OpenScreen processes immediately after cleanup; long-term popup recurrence has not been assessed.
Please investigate whether macOS MCP startup can remain genuinely headless and how concurrent MCP client instances should be managed. I cannot infer the internal cause from the process listing alone.
- Linguagem predominante
- TypeScript
- Estrelas
- 3.7k
- Forks
- 231
- Merge médio
- 19h 7min
- PRs com merge (30d)
- 266
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de getopenscreen/openscreen
-
Native review wanted: machine-translated recording bar tooltips (14 locales)Talvez livre de novo @auberginewly assumiu há 28 dias e não há nenhum pull request aberto. Abertagood first issue help wanted
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
getopenscreen/openscreen#913 · 5 comentários ·
Mantenedores costumam responder em até 1 dia
-
[Bug]: macOS — takes end with SCStreamErrorDomain -3821 "Stream was stopped by the system" when the disk is low on free spaceTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 54/100
getopenscreen/openscreen#1496 ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
getopenscreen/openscreen#1494 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
getopenscreen/openscreen#1493 ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 55/100
getopenscreen/openscreen#1490 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de getopenscreen/openscreen
Issues semelhantes
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia
-
area:ui bug effort:S priority:P2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
Typo in WSL project description on Projects pageTalvez já em andamento @akhil9tiet assumiu hoje. Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 75/100
microsoft/opensource.microsoft.com#1066 · 1 comentário ·
-
ArcGIS Maps SDK for JavaScript c-carousel calcite-design-tokens enhancement impact - p3 - not time sensitive needs triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Esri/calcite-design-system#15565 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
linkwarden/linkwarden#1891 ·
Mantenedores costumam responder em até 1 dia