Describe the bug
Copilot CLI blocks all custom/non-default MCP servers with the message:
"X MCP servers were blocked by policy: 'fetch', 'cloudflare',... " (X being the number of affected mcp servers).
This happens even though I am using a personal paid Copilot Plus account, not an organization or enterprise-managed account.
After checking the local Copilot logs, the actual error appears to be:
"Failed to fetch MCP registry policy: 404. Non-default MCP servers will be blocked until the policy can be fetched."
So the user-configured MCP servers are being detected correctly, but they are blocked because the CLI/backend policy fetch fails.
Affected version
GitHub Copilot CLI 1.0.15 experimental: on
Steps to reproduce the behavior
- Configure custom MCP servers in ~/.copilot/mcp-config.json
- Start Copilot CLI
- Observe the startup message that custom MCP servers are blocked by policy
- Run /logout, /login, and /restart
- Start a new session again
- Observe the same message again
- Restarted the device
- Followed the steps from the start again
- Observer the same message again
Relevant log output:
[ERROR] Request to MCP registry policy at https://api.github.com/copilot/mcp_registry failed with status 404
[WARNING] Failed to fetch MCP registry policy: GitHubApiError: Failed to fetch MCP registry policy: 404 . Non-default MCP servers will be blocked until the policy can be fetched.
Expected behavior
Custom MCP servers configured in ~/.copilot/mcp-config.json should load normally for a personal Copilot Plus account, or at minimum the CLI should not permanently block all non-default MCP servers because the MCP registry policy endpoint returns 404.
If the registry/policy service is unavailable, the CLI should provide a clearer error and a recovery path.
Additional context
Describe the bug
Copilot CLI blocks all custom/non-default MCP servers with the message:
"X MCP servers were blocked by policy: 'fetch', 'cloudflare',... " (X being the number of affected mcp servers).
This happens even though I am using a personal paid Copilot Plus account, not an organization or enterprise-managed account.
After checking the local Copilot logs, the actual error appears to be:
"Failed to fetch MCP registry policy: 404. Non-default MCP servers will be blocked until the policy can be fetched."
So the user-configured MCP servers are being detected correctly, but they are blocked because the CLI/backend policy fetch fails.
Affected version
GitHub Copilot CLI 1.0.15 experimental: on
Steps to reproduce the behavior
Relevant log output:
[ERROR] Request to MCP registry policy at https://api.github.com/copilot/mcp_registry failed with status 404
[WARNING] Failed to fetch MCP registry policy: GitHubApiError: Failed to fetch MCP registry policy: 404 . Non-default MCP servers will be blocked until the policy can be fetched.
Expected behavior
Custom MCP servers configured in ~/.copilot/mcp-config.json should load normally for a personal Copilot Plus account, or at minimum the CLI should not permanently block all non-default MCP servers because the MCP registry policy endpoint returns 404.
If the registry/policy service is unavailable, the CLI should provide a clearer error and a recovery path.
Additional context
Environment
Local Copilot setup
Scope of the failure
Diagnostic evidence
https://api.github.com/copilot/mcp_registry
Why this seems important
If helpful, I can provide