Skip to content

Commit 32417b3

Browse files
docs-botgithub-actions[bot]am-steadCopilot
authored
docs: update copilot-cli content from source docs (#61477)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Anne-Marie <102995847+am-stead@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent fa1e18d commit 32417b3

2 files changed

Lines changed: 17 additions & 2 deletions

File tree

content/copilot/reference/copilot-cli-reference/cli-command-reference.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,8 @@ For a complete list of commands and options, run `copilot help`.
301301
> [!NOTE]
302302
> The `--remote`, `--no-remote`, and `--connect` options require the remote sessions feature to be available on your account.
303303
304+
You can use `--remote` with `--resume <TASK-ID>` to resume a remote task locally. This works even when the task was originally created outside a Git repository.
305+
304306
## Tool availability values
305307

306308
The `--available-tools` and `--excluded-tools` options support these values:
@@ -541,13 +543,26 @@ The CLI includes built-in MCP servers that are available without additional setu
541543

542544
| Server | Description |
543545
|--------|-------------|
544-
| `github-mcp-server` | {% data variables.product.github %} API integration: issues, pull requests, commits, code search, and {% data variables.product.prodname_actions %}. |
546+
| `github-mcp-server` | {% data variables.product.github %} API integration: issues, pull requests, labels, commits, code search, and {% data variables.product.prodname_actions %}. |
545547
| `playwright` | Browser automation: navigate, click, type, screenshot, and form handling. |
546548
| `fetch` | HTTP requests via the `fetch` tool. |
547549
| `time` | Time utilities: `get_current_time` and `convert_time`. |
548550

549551
Use `--disable-builtin-mcps` to disable all built-in servers, or `--disable-mcp-server SERVER-NAME` to disable a specific one.
550552

553+
#### {% data variables.product.github %} MCP server tools
554+
555+
The `github-mcp-server` provides the following tools.
556+
557+
| Tools | Description |
558+
|-------|-------------|
559+
| `get_file_contents`, `search_code` | Browse repository files. |
560+
| `list_issues`, `issue_read`, `search_issues` | Issue tracking. |
561+
| `get_pull_request`, `list_pull_requests`, `get_pull_request_files` | Pull requests. |
562+
| `list_commits`, `get_commit` | Commit history. |
563+
| `list_workflow_runs`, `get_workflow_run_logs` | {% data variables.product.prodname_actions %}. |
564+
| `get_label`, `list_label`, `label_write` | Label management. |
565+
551566
### MCP server naming
552567

553568
Server names can contain any printable characters, including spaces, Unicode characters, and punctuation. Control characters (U+0000–U+001F, U+007F) and the closing brace (`}`) are not allowed. Server names are used as prefixes for tool names—for example, a server named `my-server` produces tool names like `my-server-fetch`, and a server named `My Server` produces `My Server-fetch`.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e7ee4ef1f3d09323d60d202f335cc24f94d71fa9
1+
6f4199ecdb5aec16a6caafade77d0aab7352d176

0 commit comments

Comments
 (0)