You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7cd6f8d
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: content/code-security/concepts/code-scanning/ai-scan-for-repositories.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ You do not need a {% data variables.product.prodname_copilot %} license.
28
28
29
29
You run AI Scan for repositories on demand, and each scan consumes **{% data variables.product.prodname_code_security %} {% data variables.product.prodname_ai_credits_short %}**. This usage is separate from active-committer licensing.
30
30
31
-
Usage is billed to the account responsible for the organization's billing.
31
+
Usage is billed to the account responsible for the organization's billing.
32
32
33
33
{% data reusables.code-scanning.ai-scan-personal-account-billing %}
34
34
@@ -57,6 +57,7 @@ The alert will only close automatically if the applied fix changes the exact lin
57
57
## Limitations
58
58
59
59
* Scans analyze the default branch only.
60
+
* Self-hosted runners are not supported.
60
61
* Scans are manually triggered. Scheduled scans and automatic scans on push are not supported.
61
62
* The agent selects which code to examine within a time budget. A scan does not exhaustively analyze every file or guarantee that it finds every vulnerability.
62
63
* Matching against existing {% data variables.product.prodname_codeql %} alerts is best effort, so duplicate alerts can occur.
Copy file name to clipboardExpand all lines: content/copilot/concepts/customizations/mcp.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -187,7 +187,7 @@ The {% data variables.product.github %} MCP Registry is a curated list of MCP se
187
187
188
188
Agent finder is a discovery service that helps {% data variables.product.prodname_copilot %} find the right capabilities—such as MCP servers, tools, agents, and skills—for a task at runtime, instead of requiring every capability to be configured in advance. Like an MCP registry, it searches a catalog of capabilities and returns ranked matches that {% data variables.product.prodname_copilot %} can use on demand. Agent finder implements the open Agentic Resource Discovery (ARD) specification.
189
189
190
-
For {% data variables.copilot.copilot_cli_short %} setup, see [Using agent finder](/copilot/how-tos/copilot-cli/customize-copilot/add-mcp-servers#using-agent-finder). The {% data variables.copilot.github_copilot_app %} provides an `af` built-in skill. See [AUTOTITLE](/copilot/reference/github-copilot-app-reference/built-in-skills). To browse the catalog, see [GitHub Agent Finder](https://github.com/agentfinder).
190
+
The {% data variables.copilot.github_copilot_app %} provides an `af` built-in skill. See [AUTOTITLE](/copilot/reference/github-copilot-app-reference/built-in-skills). You can search for more AI resources at [github.com/search?type=ai_resources](https://github.com/search?type=ai_resources).
Copy file name to clipboardExpand all lines: content/copilot/copilot-on-ghes/about-copilot-on-ghes.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,11 +42,16 @@ An administrator configures a model provider for the instance, and users connect
42
42
43
43
For more information, see [AUTOTITLE](/copilot/copilot-on-ghes/set-up-copilot-cli).
44
44
45
+
{% ifversion copilot-cli-ghes-ga %}
45
46
> [!NOTE]
46
-
> This feature is in {% data variables.release-phases.technical_preview %} and subject to change.
47
+
> This feature is generally available.
48
+
{% else %}
49
+
> [!NOTE]
50
+
> This feature is generally available starting with {% data variables.product.prodname_ghe_server %} 3.22.3. In earlier 3.22 patch releases, it is in {% data variables.release-phases.technical_preview %}.
51
+
{% endif %}
47
52
48
53
{% else %}
49
54
50
-
To use this feature, upgrade your instance to **version 3.22 or later**, where this feature is available in {% data variables.release-phases.technical_preview %}.
55
+
To use this feature as generally available, upgrade your instance to **version 3.22.3 or later**.
Copy file name to clipboardExpand all lines: content/copilot/copilot-on-ghes/set-up-copilot-cli.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,13 @@ category:
14
14
- Manage Copilot for a team
15
15
---
16
16
17
+
{% ifversion copilot-cli-ghes-ga %}
17
18
> [!NOTE]
18
-
> This feature is in {% data variables.release-phases.technical_preview %} and subject to change.
19
+
> This feature is generally available.
20
+
{% else %}
21
+
> [!NOTE]
22
+
> This feature is generally available starting with {% data variables.product.prodname_ghe_server %} 3.22.3. In earlier 3.22 patch releases, it is in {% data variables.release-phases.technical_preview %}.
23
+
{% endif %}
19
24
20
25
You can configure {% data variables.copilot.copilot_cli_short %} to work with {% data variables.product.prodname_ghe_server %} in disconnected or air-gapped environments without connectivity to {% data variables.product.github %} Cloud. An administrator configures a model provider for the instance, and users connect {% data variables.copilot.copilot_cli_short %} with their {% data variables.product.prodname_ghe_server %} credentials.
*[Searching and installing from the registry (experimental)](#searching-and-installing-from-the-registry)
44
+
*[Searching and installing from the registry](#searching-and-installing-from-the-registry)
45
45
46
46
For installation instructions, available tools, and URLs for specific MCP servers, see the [{% data variables.product.github %} MCP Registry](https://github.com/mcp).
47
47
@@ -52,12 +52,12 @@ For installation instructions, available tools, and URLs for specific MCP server
52
52
1. Next to **Server Name**, enter a unique name for the MCP server. This is the name you will use to refer to the server.
53
53
1. Next to **Server Type**, select a type by pressing the corresponding number. The following types are available:
54
54
55
-
***Local** or **STDIO**: starts a local process and communicates over standard input/output (`stdin`/`stdout`). Both options work the same way. **STDIO**is the standard MCP protocol type name, so choose this if you want your configuration to be compatible with {% data variables.product.prodname_vscode_shortname %}, the {% data variables.copilot.copilot_cloud_agent %}, and other MCP clients.
55
+
***STDIO**: starts a local process and communicates over standard input/output (`stdin`/`stdout`). This is the standard MCP protocol type name, so it's compatible with {% data variables.product.prodname_vscode_shortname %}, the {% data variables.copilot.copilot_cloud_agent %}, and other MCP clients.
56
56
***HTTP** or **SSE**: connects to a remote MCP server. **HTTP** uses the Streamable HTTP transport. **SSE** uses the legacy HTTP with Server-Sent Events transport, which is deprecated in the MCP specification but still supported for backwards compatibility. <!-- markdownlint-disable-line GHD046 -->
57
57
58
58
1. The remaining fields depend on the server type you selected:
59
59
60
-
* If you chose **Local** or **STDIO**:
60
+
* If you chose **STDIO**:
61
61
62
62
* Next to **Command**, enter the command to start the server, including any arguments. For example, `npx @playwright/mcp@latest`. This corresponds to both the `command` and `args` properties in the JSON configuration file.
63
63
* Next to **Environment Variables**, optionally specify environment variables the server needs, such as API keys or tokens, as JSON key-value pairs. For example, `{"API_KEY": "YOUR-API-KEY"}`. The `PATH` variable is automatically inherited from your environment. All other environment variables must be configured here.
@@ -201,9 +201,6 @@ The `.vscode/mcp.json` file for {% data variables.product.prodname_vscode_shortn
201
201
202
202
### Searching and installing from the registry
203
203
204
-
> [!NOTE]
205
-
> The `/mcp search` command is currently an experimental feature. To use it, start {% data variables.copilot.copilot_cli_short %} with the `‑‑experimental` command line option, or enter `/experimental on` during a session.
206
-
207
204
You can discover and install MCP servers directly from the [{% data variables.product.github %} MCP Registry](https://github.com/mcp) using the `/mcp search` command in interactive mode. This lets you browse available servers, view their details, and install them without manually filling out the configuration form.
208
205
209
206
If your organization has configured a custom MCP registry URL, `/mcp search` connects to that registry instead of the default {% data variables.product.github %} registry.
@@ -219,13 +216,6 @@ If your organization has configured a custom MCP registry URL, `/mcp search` con
219
216
1. Press <kbd>Ctrl</kbd>+<kbd>S</kbd> to save. The server is added to your `mcp-config.json` and started immediately.
220
217
221
218
222
-
## Using agent finder
223
-
224
-
Agent finder searches a catalog of capabilities, including MCP servers, tools, agents, and skills. To make it available in the CLI:
225
-
226
-
1. Download the [agent finder skill](https://github.com/ards-project/connectors/blob/main/skills/github-copilot/SKILL.md).
227
-
1. Add the skill to your `~/.copilot/skills` directory. For skill directory structure and installation guidance, see [AUTOTITLE](/copilot/how-tos/copilot-cli/customize-copilot/add-skills).
228
-
229
219
## Managing MCP servers
230
220
231
221
You can manage your configured MCP servers using the `/mcp` commands in interactive mode or the `copilot mcp` subcommands from the terminal.
Copy file name to clipboardExpand all lines: content/copilot/how-tos/copilot-cli/customize-copilot/use-hooks.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,6 +102,22 @@ The following examples for macOS and Windows show how to configure hooks that wi
102
102
103
103
{% data reusables.copilot.cloud-agent.troubleshoot-hooks %}
104
104
105
+
## Troubleshooting sandboxed hooks
106
+
107
+
If a hook fails or times out only when sandboxing is enabled, a tool it calls may need access to a configuration file or cache. See [AUTOTITLE](/copilot/reference/hooks-reference#sandboxed-sessions).
108
+
109
+
Before granting access, remember that user settings apply across CLI sessions and are not limited to this hook. Configuration files such as `.npmrc` can contain credentials. Grant only access you are willing to give to other sandboxed commands. Organization-managed restrictions still apply.
110
+
111
+
1. Check the hook's or tool's error output and logs for a denied file or directory. If the script suppresses errors, enable diagnostic output without logging credentials.
112
+
1. Run `/sandbox policy` followed by the hook command to preview command-specific developer-tool access in your current directory.
113
+
114
+
> [!NOTE]
115
+
> If the hook sets `cwd` you must run `/sandbox policy` from the configured `cwd` directory.
116
+
117
+
This does not inspect script files or include the hook's additional source and data directory permissions. See [AUTOTITLE](/copilot/concepts/security-governance-and-network-settings/understanding-local-sandboxing#checking-what-the-current-policy-allows).
118
+
1. In your user settings, add only the required paths to `sandbox.userPolicy.filesystem.readonlyPaths` or `sandbox.userPolicy.filesystem.readwritePaths`. Use read-only access for configuration files and read/write access only for caches the tool needs to update. See [AUTOTITLE](/copilot/reference/copilot-cli-reference/cli-config-dir-reference#user-settings-copilotsettingsjson).
119
+
1. Start a new CLI session and check whether the hook succeeds when its event next occurs.
0 commit comments