[bot] sync: CLI for Beginners — ch04 @-style imports + ch06 /mcp list (2026-07-10) (#2264)

* sync: update cli-for-beginners ch04 and ch06 from upstream

- Chapter 04: Add @-style imports section under Custom Instruction Files
  (released in v1.0.66, 2026-06-30). Users can now reference other files
  inside AGENTS.md or instruction files with @filepath syntax.

- Chapter 06: Add /mcp list to the Additional MCP Commands reference table.
  Released in v1.0.69-1 (2026-07-04), /mcp list shows currently attached MCP
  servers and can be run while Copilot is working. Also add /mcp auth command
  and update enable/disable descriptions to note session persistence.

- Bump lastUpdated to 2026-07-10 in both files.

Upstream commits: c559ab4953a0 (2026-07-09)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: revert ch04 content changes, keep only date update

Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>

* Apply suggestion from @aaronpowell

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
Co-authored-by: Aaron Powell <me@aaron-powell.com>
This commit is contained in:
github-actions[bot]
2026-07-14 01:16:56 +00:00
committed by GitHub
parent fe4442e4cb
commit e353a8cfb8
2 changed files with 6 additions and 4 deletions
@@ -3,7 +3,7 @@ title: '04 · Create Specialized AI Assistants'
description: 'Mirror the source chapter on custom agents and custom instructions for GitHub Copilot CLI.'
authors:
- GitHub Copilot Learning Hub Team
lastUpdated: 2026-06-19
lastUpdated: 2026-07-10
---
![Chapter 04: Agents and Custom Instructions](/images/learning-hub/copilot-cli-for-beginners/04/chapter-header.png)
@@ -3,7 +3,7 @@ title: '06 · Connect to GitHub, Databases & APIs'
description: 'Mirror the source chapter on MCP servers and external integrations for GitHub Copilot CLI.'
authors:
- GitHub Copilot Learning Hub Team
lastUpdated: 2026-06-19
lastUpdated: 2026-07-10
---
![Chapter 06: MCP Servers](/images/learning-hub/copilot-cli-for-beginners/06/chapter-header.png)
@@ -901,11 +901,13 @@ Beyond `/mcp show`, there are several other commands for managing your MCP serve
| Command | What It Does |
|---------|--------------|
| `/mcp show` | Show all configured MCP servers and their status |
| `/mcp list` | Show currently attached MCP servers and their status; can be run while Copilot is working |
| `/mcp add` | Interactive setup for adding a new server |
| `/mcp edit <server-name>` | Edit an existing server configuration |
| `/mcp enable <server-name>` | Enable a disabled server |
| `/mcp disable <server-name>` | Temporarily disable a server |
| `/mcp enable <server-name>` | Enable a disabled server (persists across sessions) |
| `/mcp disable <server-name>` | Disable a server (persists across sessions) |
| `/mcp delete <server-name>` | Remove a server permanently |
| `/mcp auth <server-name>` | Re-authenticate with an MCP server that uses OAuth (e.g., after switching accounts) |
For most of this course, `/mcp show` is all you need. The other commands become useful as you manage more servers over time.