Skip to content

1.0.42 falsely reports registry-listed custom MCP servers as blocked by policy #3162

@goldsziggy

Description

@goldsziggy

Describe the bug

Describe the bug

In Copilot CLI 1.0.42, a custom MCP server is being labeled as blocked by policy even though that
same server is already present in the MCP registry and should be allowed.

This looks like a false-negative in the CLI's registry validation / matching logic. The problem is not
that the server is unregistered; it is registered, but copilot still reports it as blocked.

This appears related to, but distinct from, earlier registry-policy issues such as #2604. In this case,
the server exists in the registry and is still rejected.

This happened immediately after updating.

Affected version

1.0.42

Steps to reproduce the behavior

  1. Configure MCP policy so custom servers must be allowed from the registry.
  2. Add a custom MCP server to the MCP registry.
  3. Configure the same server locally for Copilot CLI.
  4. Start copilot.
  5. Observe that the CLI reports the server as blocked by policy instead of allowing it.

Expected behavior

If a custom MCP server is present in the MCP registry and matches the configured server, Copilot CLI
should allow it to load.

Additional context

Actual behavior

Copilot CLI 1.0.42 reports the custom MCP server as blocked by policy even though it is present in the
registry.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:mcpMCP server configuration, discovery, connectivity, OAuth, policy, and registry

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions