You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Local MCP servers flash terminal window on Windows #29532
Describe the bug
When launching local MCP servers on Windows, a console window briefly flashes on screen every time the MCP server process is spawned or reconnected. This is very distracting during normal usage.
To Reproduce
Configure any local MCP server in opencode.json
Start opencode on Windows
Observe terminal windows flashing when MCP server connects
Expected behavior
No visible terminal window should appear for background MCP server processes.
Root cause
When spawning child processes on Windows, opencode does not set the CREATE_NO_WINDOW (0x08000000) creation flag or HideWindow: true in syscall.SysProcAttr.
Suggested fix
In the Go code that spawns local MCP server processes, add HideWindow: true to syscall.SysProcAttr on Windows:
cmd:= exec.Command(...)
cmd.SysProcAttr=&syscall.SysProcAttr{
HideWindow: true, // Windows only
}
Activity
github-actions commentedon May 27, 2026
This issue might be a duplicate of existing issues. Please check:
CREATE_NO_WINDOWflag on Windows) and same symptom (console/terminal window flashing). That issue covers subprocesses broadly; this one is scoped to MCP server processes specifically, but the fix would likely be the same.Please review the linked issue and consider whether your report adds new information. If it does, feel free to clarify the distinction.
github-actions commentedon Jul 27, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.