GitHub enterprise and organization policies control which Copilot features, models and agents are available and whether MCP servers are allowed. VS Code policies, delivered through Group Policy, configuration profiles or JSON, lock individual settings such as agent mode and tool auto approval. Use both layers, since the GitHub policy does not reach every editor setting.
Read in this order
- OfficialGitHub: Managing policies and features for Copilot in your enterpriseStart here: the GitHub-side switches for features, models and MCP.
- OfficialVS Code: Centrally manage settings with policiesHow to lock individual VS Code settings by Group Policy or profile.
- OfficialVS Code: Manage AI settings in enterprise environmentsThe specific AI settings worth locking, such as auto approval.