@github/copilot-language-server 1.379.0 → 1.381.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,44 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>PayloadContent</key>
6
+ <array>
7
+ <dict>
8
+ <key>PayloadDisplayName</key>
9
+ <string>GitHub Copilot Policy</string>
10
+ <key>PayloadIdentifier</key>
11
+ <string>IDEGitHubCopilot</string>
12
+ <key>PayloadType</key>
13
+ <string>IDEGitHubCopilot</string>
14
+ <key>PayloadUUID</key>
15
+ <string>12345678-1234-1234-1234-123456789012</string>
16
+ <key>PayloadVersion</key>
17
+ <integer>1</integer>
18
+ <key>PayloadEnabled</key>
19
+ <true/>
20
+ <key>mcp.contributionPoint.enabled</key>
21
+ <false/>
22
+ </dict>
23
+ </array>
24
+
25
+ <key>PayloadDescription</key>
26
+ <string>Configures GitHub Copilot policies for IDEs</string>
27
+ <key>PayloadDisplayName</key>
28
+ <string>GitHub Copilot Policy</string>
29
+ <key>PayloadIdentifier</key>
30
+ <string>IDEGitHubCopilot</string>
31
+ <key>PayloadOrganization</key>
32
+ <string>Microsoft Corporation</string>
33
+ <key>PayloadRemovalDisallowed</key>
34
+ <false/>
35
+ <key>PayloadScope</key>
36
+ <string>System</string>
37
+ <key>PayloadType</key>
38
+ <string>Configuration</string>
39
+ <key>PayloadUUID</key>
40
+ <string>87654321-4321-4321-4321-210987654321</string>
41
+ <key>PayloadVersion</key>
42
+ <integer>1</integer>
43
+ </dict>
44
+ </plist>
@@ -0,0 +1,117 @@
1
+ # GitHub Copilot macOS Policy Configuration
2
+
3
+ This directory contains policy templates for configuring GitHub Copilot behavior on macOS systems using Apple Configuration Profiles.
4
+
5
+ ## Overview
6
+
7
+ The `IDEGitHubCopilot.mobileconfig` file is a macOS Configuration Profile that allows administrators to manage GitHub Copilot policies across their organization. This profile defines settings that control extension behavior, particularly for MCP (Model Context Protocol) servers.
8
+
9
+ ## Available Policies
10
+
11
+ | Policy Name | Description | Type | Default |
12
+ |-------------|-------------|------|---------|
13
+ | mcp.contributionPoint.enabled | Controls whether extension-contributed MCP servers are enabled | Boolean | true |
14
+
15
+ ## Installation Methods
16
+
17
+ ### Method 1: Configuration Profile Installation (Recommended for Administrators)
18
+
19
+ The `IDEGitHubCopilot.mobileconfig` file provides the easiest way to deploy GitHub Copilot policies across multiple macOS systems.
20
+
21
+ #### Step 1: Locate the Configuration Profile
22
+ Find the `IDEGitHubCopilot.mobileconfig` file in this directory.
23
+
24
+ #### Step 2: Install the Configuration Profile
25
+ 1. **Double-click** the `IDEGitHubCopilot.mobileconfig` file
26
+ 2. macOS will open **System Settings** (or **System Preferences** on older versions)
27
+ 3. You'll see a dialog asking if you want to install the profile
28
+ 4. Click **Install** to proceed
29
+ 5. Enter your administrator password when prompted
30
+ 6. The profile will be installed **system-wide**
31
+
32
+ #### Step 3: Verify Installation
33
+ 1. Open **System Settings** → **Privacy & Security** → **Profiles**
34
+ 2. You should see "GitHub Copilot Policy" in the list of installed profiles
35
+ 3. Click on it to view the configured settings
36
+
37
+ #### Step 4: Modify Policy Settings
38
+ To change the `mcp.contributionPoint.enabled` setting:
39
+
40
+ 1. Open **System Settings** → **Privacy & Security** → **Profiles**
41
+ 2. Select the "GitHub Copilot Policy" profile
42
+ 3. Click **Edit** or **Configure**
43
+ 4. Find the `mcp.contributionPoint.enabled` setting
44
+ 5. Toggle it to:
45
+ - **true** (checked) - Enable extension-contributed MCP servers
46
+ - **false** (unchecked) - Disable extension-contributed MCP servers
47
+ 6. Click **Save** or **Apply**
48
+
49
+ ### Method 2: Command Line Installation (Alternative)
50
+
51
+ You can also install the configuration profile using the command line:
52
+
53
+ ```bash
54
+ # Install the profile
55
+ sudo profiles -I -F IDEGitHubCopilot.mobileconfig
56
+
57
+ # Verify installation
58
+ profiles -P
59
+
60
+ # Remove the profile (if needed)
61
+ sudo profiles -R -p IDEGitHubCopilot
62
+ ```
63
+
64
+ ### Method 3: MDM Deployment (Enterprise)
65
+
66
+ For enterprise environments, the `IDEGitHubCopilot.mobileconfig` file can be deployed through Mobile Device Management (MDM) solutions like:
67
+
68
+ - Apple Business Manager
69
+ - Jamf Pro
70
+ - Microsoft Intune
71
+ - VMware Workspace ONE
72
+
73
+ Simply upload the `IDEGitHubCopilot.mobileconfig` file to your MDM solution and deploy it to your target devices.
74
+
75
+ ## Verification
76
+
77
+ You can verify the current settings with:
78
+
79
+ ```bash
80
+ # Check managed preferences
81
+ defaults read /Library/Managed\ Preferences/IDEGitHubCopilot 2>/dev/null || echo "No managed settings found"
82
+ ```
83
+
84
+ ## How It Works
85
+
86
+ The GitHub Copilot extension uses the `GroupPolicyWatcher` class to monitor policy changes. When policies are updated:
87
+
88
+ 1. The policy watcher detects the change
89
+ 2. Updates the internal policy state
90
+ 3. Sends an LSP notification to the client
91
+ 4. The client adjusts its behavior based on the new policy settings
92
+
93
+ The extension checks for policies in `/Library/Managed Preferences/IDEGitHubCopilot.plist` (MDM managed)
94
+
95
+ ## Troubleshooting
96
+
97
+ ### Policy changes aren't being detected
98
+ 1. Verify the configuration profile is properly installed in System Settings
99
+ 2. Make sure the policy file has the correct name and structure
100
+ 3. Restart IDE to ensure the policy watcher is reinitialized
101
+ 4. Check the extension logs for policy-related messages
102
+
103
+ ### Configuration Profile won't install
104
+ 1. Ensure you have administrator privileges
105
+ 2. Check that the `.mobileconfig` file isn't corrupted
106
+ 3. Try installing via command line: `sudo profiles -I -F IDEGitHubCopilot.mobileconfig`
107
+
108
+ ### Settings don't take effect
109
+ 1. Verify the policy is correctly configured in System Settings
110
+ 2. Restart IDE completely
111
+ 3. Check that no user-level settings are overriding system policies
112
+
113
+ ## References
114
+
115
+ - [VS Code Enterprise Setup - Configuration Profiles on macOS](https://code.visualstudio.com/docs/setup/enterprise#_configuration-profiles-on-macos)
116
+ - [Apple Configuration Profile Reference](https://developer.apple.com/documentation/devicemanagement/configuring_multiple_devices_using_profiles)
117
+ - [macOS defaults command reference](https://ss64.com/osx/defaults.html)
@@ -0,0 +1,36 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!--
3
+ Administrative Template for GitHub Copilot IDE Integration
4
+ This template defines Group Policy settings for GitHub Copilot in IDE environments.
5
+ -->
6
+ <policyDefinitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="1.0" schemaVersion="1.0" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions">
7
+ <policyNamespaces>
8
+ <target prefix="ideGitHubCopilot" namespace="Microsoft.Policies.IDEGitHubCopilot" />
9
+ <using prefix="windows" namespace="Microsoft.Policies.Windows" />
10
+ </policyNamespaces>
11
+
12
+ <supersededAdm fileName="" />
13
+
14
+ <resources minRequiredRevision="1.0" />
15
+
16
+ <categories>
17
+ <category name="Cat_IDEGitHubCopilot" displayName="$(string.Cat_IDEGitHubCopilot)" explainText="$(string.Cat_IDEGitHubCopilot_Explain)" />
18
+ <category name="Cat_IDEGitHubCopilot_MCP" displayName="$(string.Cat_IDEGitHubCopilot_MCP)" explainText="$(string.Cat_IDEGitHubCopilot_MCP_Explain)">
19
+ <parentCategory ref="Cat_IDEGitHubCopilot" />
20
+ </category>
21
+ </categories>
22
+
23
+ <policies>
24
+ <!-- Enable Extension-Contributed MCP Servers Policy -->
25
+ <policy name="McpContributionPointEnabled" class="Both" displayName="$(string.McpContributionPointEnabled)" explainText="$(string.McpContributionPointEnabled_Explain)" key="SOFTWARE\Policies\Microsoft\IDEGitHubCopilot" valueName="mcp.contributionPoint.enabled">
26
+ <parentCategory ref="Cat_IDEGitHubCopilot_MCP" />
27
+ <supportedOn ref="windows:SUPPORTED_Windows_10_0" />
28
+ <enabledValue>
29
+ <decimal value="1" />
30
+ </enabledValue>
31
+ <disabledValue>
32
+ <decimal value="0" />
33
+ </disabledValue>
34
+ </policy>
35
+ </policies>
36
+ </policyDefinitions>
@@ -0,0 +1,124 @@
1
+ #Requires -RunAsAdministrator
2
+
3
+ <#
4
+ .SYNOPSIS
5
+ Installs GitHub Copilot Group Policy Administrative Templates
6
+
7
+ .DESCRIPTION
8
+ This script copies the GitHub Copilot ADMX and ADML files to the Windows PolicyDefinitions
9
+ directory to enable Group Policy management of GitHub Copilot settings.
10
+
11
+ The script must be run from the win32 directory containing the template files.
12
+
13
+ .PARAMETER Uninstall
14
+ Remove the GitHub Copilot policy templates instead of installing them
15
+
16
+ .EXAMPLE
17
+ .\Install-PolicyTemplates.ps1
18
+ Installs the GitHub Copilot policy templates
19
+
20
+ .EXAMPLE
21
+ .\Install-PolicyTemplates.ps1 -Uninstall
22
+ Removes the GitHub Copilot policy templates
23
+ #>
24
+
25
+ param(
26
+ [switch]$Uninstall
27
+ )
28
+
29
+ $ErrorActionPreference = "Stop"
30
+
31
+ # Paths
32
+ $PolicyDefinitionsPath = "$env:WINDIR\PolicyDefinitions"
33
+ $ScriptPath = Split-Path -Parent $MyInvocation.MyCommand.Path
34
+ $SourceADMX = Join-Path $ScriptPath "IDEGitHubCopilot.admx"
35
+ $SourceADML = Join-Path $ScriptPath "en-US\IDEGitHubCopilot.adml"
36
+ $TargetADMX = Join-Path $PolicyDefinitionsPath "IDEGitHubCopilot.admx"
37
+ $TargetADMLDir = Join-Path $PolicyDefinitionsPath "en-US"
38
+ $TargetADML = Join-Path $TargetADMLDir "IDEGitHubCopilot.adml"
39
+
40
+ function Test-AdminRights {
41
+ $currentUser = [Security.Principal.WindowsIdentity]::GetCurrent()
42
+ $principal = New-Object Security.Principal.WindowsPrincipal($currentUser)
43
+ return $principal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)
44
+ }
45
+
46
+ function Install-Templates {
47
+ Write-Host "Installing GitHub Copilot Group Policy Templates..." -ForegroundColor Green
48
+
49
+ # Verify source files exist
50
+ if (-not (Test-Path $SourceADMX)) {
51
+ throw "ADMX file not found: $SourceADMX"
52
+ }
53
+
54
+ if (-not (Test-Path $SourceADML)) {
55
+ throw "ADML file not found: $SourceADML"
56
+ }
57
+
58
+ # Verify PolicyDefinitions directory exists
59
+ if (-not (Test-Path $PolicyDefinitionsPath)) {
60
+ throw "PolicyDefinitions directory not found: $PolicyDefinitionsPath"
61
+ }
62
+
63
+ # Copy ADMX file
64
+ Write-Host "Copying ADMX file to $TargetADMX"
65
+ Copy-Item $SourceADMX $TargetADMX -Force
66
+
67
+ # Ensure en-US directory exists
68
+ if (-not (Test-Path $TargetADMLDir)) {
69
+ Write-Host "Creating directory: $TargetADMLDir"
70
+ New-Item -Path $TargetADMLDir -ItemType Directory -Force | Out-Null
71
+ }
72
+
73
+ # Copy ADML file
74
+ Write-Host "Copying ADML file to $TargetADML"
75
+ Copy-Item $SourceADML $TargetADML -Force
76
+
77
+ Write-Host "GitHub Copilot Group Policy Templates installed successfully!" -ForegroundColor Green
78
+ Write-Host ""
79
+ Write-Host "To use the templates:"
80
+ Write-Host "1. Run 'gpupdate /force' to refresh Group Policy"
81
+ Write-Host "2. Open Group Policy Editor (gpedit.msc)"
82
+ Write-Host "3. Navigate to Administrative Templates > GitHub Copilot"
83
+ }
84
+
85
+ function Uninstall-Templates {
86
+ Write-Host "Removing GitHub Copilot Group Policy Templates..." -ForegroundColor Yellow
87
+
88
+ # Remove ADMX file
89
+ if (Test-Path $TargetADMX) {
90
+ Write-Host "Removing ADMX file: $TargetADMX"
91
+ Remove-Item $TargetADMX -Force
92
+ } else {
93
+ Write-Host "ADMX file not found: $TargetADMX"
94
+ }
95
+
96
+ # Remove ADML file
97
+ if (Test-Path $TargetADML) {
98
+ Write-Host "Removing ADML file: $TargetADML"
99
+ Remove-Item $TargetADML -Force
100
+ } else {
101
+ Write-Host "ADML file not found: $TargetADML"
102
+ }
103
+
104
+ Write-Host "GitHub Copilot Group Policy Templates removed successfully!" -ForegroundColor Green
105
+ Write-Host "Run 'gpupdate /force' to refresh Group Policy"
106
+ }
107
+
108
+ # Main execution
109
+ try {
110
+ # Check for administrator rights
111
+ if (-not (Test-AdminRights)) {
112
+ throw "This script requires administrator privileges. Please run PowerShell as Administrator."
113
+ }
114
+
115
+ if ($Uninstall) {
116
+ Uninstall-Templates
117
+ } else {
118
+ Install-Templates
119
+ }
120
+
121
+ } catch {
122
+ Write-Error "Error: $($_.Exception.Message)"
123
+ exit 1
124
+ }
@@ -0,0 +1,140 @@
1
+ # GitHub Copilot Group Policy Templates for Windows
2
+
3
+ This directory contains Administrative Template (ADMX/ADML) files for managing GitHub Copilot settings through Windows Group Policy. These templates are bundled with the GitHub Copilot Language Server for enterprise deployment.
4
+
5
+ ## Template Location
6
+
7
+ These templates are installed with the GitHub Copilot Language Server at:
8
+ ```
9
+ [Language Server Installation Directory]/policy-templates/win32/
10
+ ```
11
+
12
+ Common installation locations:
13
+ - **NPM Global Install**: `%APPDATA%\npm\node_modules\@github\copilot-language-server\dist\policy-templates\win32`
14
+ - **Local NPM Install**: `.\node_modules\@github\copilot-language-server\dist\policy-templates\win32`
15
+
16
+ ## Files
17
+
18
+ - `IDEGitHubCopilot.admx` - Administrative template definition file
19
+ - `en-US/IDEGitHubCopilot.adml` - English language resource file
20
+ - `Install-PolicyTemplates.ps1` - PowerShell script for automated installation
21
+
22
+ ## Installation Methods
23
+
24
+ ### Option 1: PowerShell Script (Recommended)
25
+
26
+ 1. **Open PowerShell as Administrator**
27
+ 2. **Navigate to the policy templates directory:**
28
+ ```powershell
29
+ cd "[Language Server Installation Directory]\policy-templates\win32"
30
+ ```
31
+ 3. **Execute the installation script:**
32
+ ```powershell
33
+ .\Install-PolicyTemplates.ps1
34
+ ```
35
+
36
+ ### Option 2: Manual Installation
37
+
38
+ 1. **Copy ADMX file:**
39
+ ```
40
+ Copy IDEGitHubCopilot.admx to C:\Windows\PolicyDefinitions\
41
+ ```
42
+
43
+ 2. **Copy ADML file:**
44
+ ```
45
+ Copy en-US\IDEGitHubCopilot.adml to C:\Windows\PolicyDefinitions\en-US\
46
+ ```
47
+
48
+ ### Option 3: Microsoft Intune Configuration
49
+
50
+ For cloud-based management with Microsoft Intune, create a Custom Configuration Profile with OMA-URI settings (see details below).
51
+
52
+ ## Accessing Group Policy Settings
53
+
54
+ After installation:
55
+
56
+ 1. **Open Group Policy Editor:**
57
+ - Run `gpedit.msc` (Local Group Policy Editor)
58
+ - Or use `gpmc.msc` (Group Policy Management Console) for domain environments
59
+
60
+ 2. **Navigate to GitHub Copilot policies:**
61
+ - Computer Configuration → Administrative Templates → GitHub Copilot
62
+ - User Configuration → Administrative Templates → GitHub Copilot
63
+
64
+ ## Available Policies
65
+
66
+ ### Enable Extension-Contributed MCP Servers
67
+ **Category:** GitHub Copilot → Model Context Protocol (MCP)
68
+
69
+ Controls whether GitHub Copilot can use Model Context Protocol (MCP) servers contributed by IDE extensions.
70
+
71
+ **Registry Locations:**
72
+ - **Machine Policy:** `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\IDEGitHubCopilot\mcp.contributionPoint.enabled`
73
+ - **User Policy:** `HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\IDEGitHubCopilot\mcp.contributionPoint.enabled`
74
+
75
+ **Values:**
76
+ - `1` (REG_DWORD) = Enable extension-contributed MCP servers
77
+ - `0` (REG_DWORD) = Disable extension-contributed MCP servers
78
+
79
+ ## Registry Testing
80
+
81
+ You can test the policies by setting registry values directly:
82
+
83
+ ```cmd
84
+ REM Enable extension-contributed MCP servers (machine-wide)
85
+ reg add "HKLM\SOFTWARE\Policies\Microsoft\IDEGitHubCopilot" /v "mcp.contributionPoint.enabled" /t REG_DWORD /d 1 /f
86
+
87
+ REM Disable extension-contributed MCP servers (current user)
88
+ reg add "HKCU\SOFTWARE\Policies\Microsoft\IDEGitHubCopilot" /v "mcp.contributionPoint.enabled" /t REG_DWORD /d 0 /f
89
+ ```
90
+
91
+ ## Microsoft Intune Deployment
92
+
93
+ For cloud-based management with Microsoft Intune:
94
+
95
+ 1. **Create a Custom Configuration Profile:**
96
+ - Go to Microsoft Endpoint Manager admin center
97
+ - Navigate to Devices → Configuration profiles
98
+ - Create a new profile with platform "Windows 10 and later"
99
+ - Profile type: "Custom"
100
+
101
+ 2. **Add the registry setting:**
102
+ ```
103
+ Name: Enable Extension-Contributed MCP Servers
104
+ OMA-URI: ./Device/Vendor/MSFT/Policy/Config/ADMX_IDEGitHubCopilot/McpContributionPointEnabled
105
+ Data type: Integer
106
+ Value: 1 (enabled) or 0 (disabled)
107
+ ```
108
+
109
+ 3. **Assign to device groups** as needed
110
+
111
+ ## Policy Precedence
112
+
113
+ 1. **Machine Policy** (highest precedence)
114
+ - `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\IDEGitHubCopilot\`
115
+ 2. **User Policy**
116
+ - `HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\IDEGitHubCopilot\`
117
+ 3. **Default Behavior** (lowest precedence)
118
+ - Determined by application defaults when no policy is set
119
+
120
+ ## Troubleshooting
121
+
122
+ 1. **Templates not appearing in Group Policy Editor:**
123
+ - Verify ADMX/ADML files are copied to the correct directories
124
+ - Run `gpupdate /force` to refresh Group Policy
125
+ - Restart Group Policy Editor
126
+
127
+ 2. **Policies not taking effect:**
128
+ - Check registry values are being set correctly
129
+ - Restart the IDE or GitHub Copilot service
130
+ - Verify policy precedence (machine vs user)
131
+
132
+ 3. **Permission errors during template copy:**
133
+ - Ensure the application is running with administrator privileges
134
+ - Manually copy templates using an elevated command prompt
135
+
136
+ ## References
137
+
138
+ - [VS Code Group Policy Documentation](https://code.visualstudio.com/docs/setup/enterprise#_group-policy-on-windows)
139
+ - [@vscode/policy-watcher Documentation](https://github.com/microsoft/vscode-policy-watcher)
140
+ - [Microsoft Group Policy Documentation](https://docs.microsoft.com/en-us/previous-versions/windows/desktop/policy/group-policy-start-page)
@@ -0,0 +1,48 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!--
3
+ Administrative Template Language File for GitHub Copilot IDE Integration (English)
4
+ This file contains the localized display strings for the GitHub Copilot Group Policy settings.
5
+ -->
6
+ <policyDefinitionResources xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="1.0" schemaVersion="1.0" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions">
7
+ <displayName>GitHub Copilot IDE Integration Policy Definitions</displayName>
8
+ <description>This file contains the policy definitions for GitHub Copilot IDE integration settings.</description>
9
+
10
+ <resources>
11
+ <stringTable>
12
+ <!-- Category Names -->
13
+ <string id="Cat_IDEGitHubCopilot">GitHub Copilot</string>
14
+ <string id="Cat_IDEGitHubCopilot_Explain">Policy settings for GitHub Copilot IDE integration (JetBrains IDE, Eclipse and Xcode). These settings control various aspects of GitHub Copilot functionality within IDE environments.</string>
15
+
16
+ <string id="Cat_IDEGitHubCopilot_MCP">Model Context Protocol (MCP)</string>
17
+ <string id="Cat_IDEGitHubCopilot_MCP_Explain">Policy settings for Model Context Protocol (MCP) integration with GitHub Copilot. MCP allows extensions to provide additional context to Copilot for improved code suggestions.</string>
18
+
19
+ <!-- Policy Names and Descriptions -->
20
+ <string id="McpContributionPointEnabled">Enable Extension-Contributed MCP Servers</string>
21
+ <string id="McpContributionPointEnabled_Explain">This policy setting determines whether GitHub Copilot can use Model Context Protocol (MCP) servers that are contributed by IDE extensions.
22
+
23
+ When this policy is enabled:
24
+ - Extensions can register MCP servers that provide additional context to GitHub Copilot
25
+ - Copilot can access extension-provided data sources through the MCP protocol
26
+ - This may improve code suggestions by incorporating extension-specific context
27
+
28
+ When this policy is disabled:
29
+ - Extension-contributed MCP servers will not be loaded or used by GitHub Copilot
30
+ - Only built-in MCP functionality will be available
31
+ - Extensions cannot extend Copilot's context through MCP
32
+
33
+ If this policy is not configured:
34
+ - The default behavior depends on the IDE and extension configuration
35
+ - Users may be able to control this setting through IDE preferences
36
+
37
+ Note: This setting only affects extension-contributed MCP servers. Built-in MCP functionality may still be available when this policy is disabled.
38
+
39
+ Registry Location:
40
+ - Machine: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\IDEGitHubCopilot\mcp.contributionPoint.enabled
41
+ - User: HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\IDEGitHubCopilot\mcp.contributionPoint.enabled
42
+
43
+ Value Type: REG_DWORD
44
+ - 1 = Enable extension-contributed MCP servers
45
+ - 0 = Disable extension-contributed MCP servers</string>
46
+ </stringTable>
47
+ </resources>
48
+ </policyDefinitionResources>
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "url": "git+https://github.com/github/copilot-language-server-release.git"
12
12
  },
13
13
  "license": "MIT",
14
- "version": "1.379.0",
14
+ "version": "1.381.0",
15
15
  "bin": {
16
16
  "copilot-language-server": "../dist/language-server.js"
17
17
  },
@@ -24,7 +24,9 @@
24
24
  "dist/bin/**/*",
25
25
  "dist/resources",
26
26
  "dist/crypt32*.node",
27
- "dist/api/types.d.ts"
27
+ "dist/api/types.d.ts",
28
+ "dist/policy-templates/**/*",
29
+ "dist/*.tiktoken"
28
30
  ],
29
31
  "main": "./dist/main.js",
30
32
  "types": "./dist/api/types.d.ts",
@@ -32,12 +34,12 @@
32
34
  "vscode-languageserver-protocol": "^3.17.5"
33
35
  },
34
36
  "optionalDependencies": {
35
- "@github/copilot-language-server-win32-x64": "1.379.0",
36
- "@github/copilot-language-server-linux-x64": "1.379.0",
37
- "@github/copilot-language-server-linux-arm64": "1.379.0",
38
- "@github/copilot-language-server-darwin-x64": "1.379.0",
39
- "@github/copilot-language-server-darwin-arm64": "1.379.0"
37
+ "@github/copilot-language-server-win32-x64": "1.381.0",
38
+ "@github/copilot-language-server-linux-x64": "1.381.0",
39
+ "@github/copilot-language-server-linux-arm64": "1.381.0",
40
+ "@github/copilot-language-server-darwin-x64": "1.381.0",
41
+ "@github/copilot-language-server-darwin-arm64": "1.381.0"
40
42
  },
41
43
  "buildType": "prod",
42
- "build": "1799"
44
+ "build": "1804"
43
45
  }