-
Notifications
You must be signed in to change notification settings - Fork 1.9k
MCP server 'blocked by policy' #3934
Copy link
Copy link
Closed
Labels
area:enterpriseGitHub Enterprise (GHE/GHES) support, org policies, and enterprise settingsGitHub Enterprise (GHE/GHES) support, org policies, and enterprise settingsarea:mcpMCP server configuration, discovery, connectivity, OAuth, policy, and registryMCP server configuration, discovery, connectivity, OAuth, policy, and registry
Description
Activity
Metadata
Metadata
Assignees
Labels
area:enterpriseGitHub Enterprise (GHE/GHES) support, org policies, and enterprise settingsGitHub Enterprise (GHE/GHES) support, org policies, and enterprise settingsarea:mcpMCP server configuration, discovery, connectivity, OAuth, policy, and registryMCP server configuration, discovery, connectivity, OAuth, policy, and registry
Describe the bug
We have a custom MCP registry which is checked when local MCP servers are configured. Although the local MCP configuration is correct and works just fine within VSCode and IntelliJ plugin, an error message 'MCP server is blocked by policy' is shown.
It is unclear what causes this. The process log mentions the following:
Affected version
GitHub Copilot CLI 1.0.65
Steps to reproduce the behavior
/mcp addExpected behavior
No response
Additional context
No response