[bot] docs(learning-hub): update for Copilot CLI v1.0.65–v1.0.67 (#2185)

* docs(learning-hub): update with Copilot CLI v1.0.65–v1.0.67 changes

- Add Claude Sonnet 5 to model table in building-custom-agents.md (v1.0.67)
- Document --allow-all-mcp-server-instructions flag in understanding-mcp-servers.md (v1.0.66)
- Add @-style imports for instruction files in defining-custom-instructions.md (v1.0.66)
- Add sessionLimits setting to configuration table in copilot-configuration-basics.md (v1.0.66)
- Document subagent concurrency and depth limits in agents-and-subagents.md (v1.0.66)

Sources:
- https://github.com/github/copilot-cli/releases/tag/v1.0.67 (2026-06-30)
- https://github.com/github/copilot-cli/releases/tag/v1.0.66 (2026-06-30)
- https://github.com/github/copilot-cli/releases/tag/v1.0.65 (2026-06-24)

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

* Update website/src/content/docs/learning-hub/building-custom-agents.md

---------

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: Aaron Powell <me@aaron-powell.com>
This commit is contained in:
github-actions[bot]
2026-07-02 11:55:52 +10:00
committed by GitHub
parent 3169734bc2
commit f6fc97747f
5 changed files with 53 additions and 6 deletions
@@ -3,7 +3,7 @@ title: 'Understanding MCP Servers'
description: 'Learn how Model Context Protocol servers extend GitHub Copilot with access to external tools, databases, and APIs.'
authors:
- GitHub Copilot Learning Hub Team
lastUpdated: 2026-06-26
lastUpdated: 2026-07-01
estimatedReadingTime: '8 minutes'
tags:
- mcp
@@ -122,6 +122,16 @@ This guided flow is the recommended way to add new MCP servers, especially for s
**deferTools** *(optional, v1.0.63+)*: When set to `false`, the server's tools are always available even when tool search is enabled. By default, tool search can hide rarely-used MCP tools to reduce context noise; setting `deferTools: false` on a server prevents its tools from being deferred, keeping them permanently in the tool list.
### Allowing MCP Server Instructions
By default, Copilot CLI limits which MCP server instructions are injected into the system prompt, to avoid noisy or unexpected instructions from servers you may not have fully reviewed. You can opt in to include instructions from **all** connected MCP servers with the `--allow-all-mcp-server-instructions` flag *(v1.0.66+)*:
```bash
copilot --allow-all-mcp-server-instructions
```
Use this only with servers you fully trust, since their instructions can influence how Copilot responds throughout the entire session. For most projects, the default behavior is sufficient — only enable this if a specific server requires it (for example, an internal tool whose instructions you control).
### Managing Persistent MCP Configuration via Server RPCs
In addition to file-based configuration, GitHub Copilot CLI exposes **server RPCs** that let MCP servers and tooling scripts manage the persistent MCP server registry at runtime. This enables programmatic setup — for example, an installer script that registers a server without requiring you to hand-edit a JSON file.