mirror of
https://github.com/github/awesome-copilot.git
synced 2026-09-16 20:01:09 +00:00
[bot] Update Learning Hub for Copilot CLI v1.0.69–v1.0.71 features (#2287)
* docs: update Learning Hub for Copilot CLI v1.0.69–v1.0.71 features - automating-with-hooks: document preToolUse exit code 2 for silent deny (v1.0.69) - creating-effective-skills: mention Forge automatic draft skill creation (v1.0.70) - installing-and-using-plugins: add /plugins dashboard documentation (v1.0.69) - copilot-configuration-basics: add /delegate --base flag (v1.0.69), --repo/--local flags for /settings and /model (v1.0.70), /settings Repo scope tabs (v1.0.71) - understanding-mcp-servers: add paginated session.mcp.resources RPCs (v1.0.70) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Update website/src/content/docs/learning-hub/installing-and-using-plugins.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:
@@ -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-07-06
|
||||
lastUpdated: 2026-07-13
|
||||
estimatedReadingTime: '8 minutes'
|
||||
tags:
|
||||
- mcp
|
||||
@@ -147,6 +147,18 @@ The available RPCs are:
|
||||
|
||||
These are especially useful for plugins and installer scripts that need to self-register or de-register their MCP server as part of install/uninstall flows, without requiring the user to manually edit config files.
|
||||
|
||||
### Reading MCP Server Resources via Session RPCs
|
||||
|
||||
*(v1.0.70+)* In addition to config management, GitHub Copilot CLI exposes **paginated session RPCs** for reading resources exposed by connected MCP servers. These let agents and tooling access server-provided resource lists and templates without needing direct MCP protocol access:
|
||||
|
||||
| RPC | Description |
|
||||
|-----|-------------|
|
||||
| `session.mcp.resources.read` | Read a specific resource from a connected MCP server |
|
||||
| `session.mcp.resources.list` | List resources available on a connected MCP server (paginated) |
|
||||
| `session.mcp.resources.listTemplates` | List resource templates exposed by a connected MCP server (paginated) |
|
||||
|
||||
Pagination support means these RPCs work reliably even when a server exposes a large number of resources. This is particularly useful for MCP servers that expose dynamic resource collections (such as database schemas or file trees) that need to be enumerated programmatically by agents or scripts.
|
||||
|
||||
### Common MCP Server Configurations
|
||||
|
||||
**PostgreSQL** — Query databases and inspect schemas:
|
||||
|
||||
Reference in New Issue
Block a user