[bot] Add /mcp list command and @-style imports for instruction files#186
Merged
DanWahlin merged 1 commit intoJul 9, 2026
Merged
Conversation
- Chapter 06: Add /mcp list to the slash 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, complementing the existing /mcp show command. - 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, letting teams keep instructions modular and well-organized. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the beginner-friendly course documentation to cover two newly released GitHub Copilot CLI capabilities: the new /mcp list slash command and @filepath imports in instruction files.
Changes:
- Documented the new
/mcp listslash command in the MCP chapter’s slash-commands table. - Added a new section explaining
@filepathimports forAGENTS.mdand other instruction files, with a concrete example.
Show a summary per file
| File | Description |
|---|---|
| 06-mcp-servers/README.md | Adds /mcp list to the “Additional MCP Commands” slash-commands table. |
| 04-agents-custom-instructions/README.md | Adds an “Importing Other Files with @” section with an example and tip for splitting instruction files. |
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 2
- Review effort level: Low
| | 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 | |
|
|
||
| This is handy when your instructions grow large. Split them into focused files and `@`-import them from a single `AGENTS.md`. The same syntax works inside `.github/copilot-instructions.md` and other instruction files too. | ||
|
|
||
| > 💡 **Tip**: Use `@`-imports to share a common base file across multiple instruction files. For example, you could have a `@.github/instructions/shared-rules.md` that every other instruction file pulls in. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's New in the Copilot CLI
The following beginner-relevant features were released in the past 7 days and are now documented in the course:
1.
/mcp listslash command — v1.0.69-1 (2026-07-04)A new
/mcp listslash command was added that shows currently attached MCP servers and their status. Unlike/mcp show(which lists all configured servers),/mcp listfocuses on the servers actively attached to your session. It can also be run while Copilot is in the middle of a task.2.
@-style imports in instruction files — v1.0.66 (2026-06-30)AGENTS.md,
.github/copilot-instructions.md, and other instruction files now support@filepathsyntax to include content from other files. This lets teams keep a short top-levelAGENTS.mdthat references focused instruction files rather than cramming everything into one long file.Course Sections Updated
/mcp listrow with description@" section with example and tipSource Announcements
v1.0.69-1release notes —/mcp listcommandv1.0.66release notes —@-style imports in AGENTS.md, CLAUDE.md, and Copilot instruction files