Skip to content

PowerShell.Mcp Hijacks Consoles #58

Description

@sharpninja

Describe the bug
Sometimes the PS.MCP hijacks an existing console that it did not itself open.

To Reproduce
Steps to reproduce the behavior:

  1. Open WindowsTerminal to a pwsh.exe session.
  2. Wait for an AI Agent to request a console, it will take over the console opened in 1.

Expected behavior
Opening a pwsh.exe console myself should never get taken over.

Desktop (please complete the following information):

  • OS: Windows 11

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions