Skip to content

/new fails to load STDIO MCP and requires /mcp reload #4811

Description

@GhimBoon

Describe the bug

I'm seeing an issue after upgrading to 1.0.8x. My custom STDIO MCP server is failing to load after a /new. It works fine when loading from Copilot CLI in a fresh session.

Affected version

GitHub Copilot CLI 1.0.83.

Steps to reproduce the behavior

  1. In an existing Copilot CLI session, type /new
  2. An error will surface:
Failed to connect to MCP server "<insert MCP name here>": MCP server "<insert MCP name here>" connection was cancelled. Execute '/mcp show <insert MCP name here>' to inspect or check the logs
  1. Trigger /mcp reload and it works

Expected behavior

/new should not fail to load servers due to a race.

Additional context

No response

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

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions