-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[bot] Update Learning Hub for CLI v1.0.11–v1.0.13 changes #1229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -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-03-27 | ||||||
| lastUpdated: 2026-03-30 | ||||||
| estimatedReadingTime: '8 minutes' | ||||||
| tags: | ||||||
| - mcp | ||||||
|
|
@@ -139,6 +139,17 @@ Example `.mcp.json` or `.vscode/mcp.json`: | |||||
|
|
||||||
| > **Security tip**: Use `${input:variableName}` for sensitive values. VS Code will prompt for these at runtime rather than storing them in the file. | ||||||
|
|
||||||
| ### Authentication | ||||||
|
|
||||||
| Some MCP servers require authentication to connect to protected resources. GitHub Copilot CLI supports several authentication approaches: | ||||||
|
|
||||||
| - **OAuth**: MCP servers can use the OAuth flow to authenticate with external services. The CLI handles the browser redirect and token storage automatically. This also works when running in ACP (Agent Coordination Protocol) mode. | ||||||
| - **Microsoft Entra ID (Azure AD)**: MCP servers that authenticate via Microsoft Entra ID are fully supported. Once you complete the initial login, the CLI caches the authentication and **will not show the consent screen on subsequent connections** — you authenticate once per session rather than every time the server reconnects. | ||||||
|
||||||
| - **Microsoft Entra ID (Azure AD)**: MCP servers that authenticate via Microsoft Entra ID are fully supported. Once you complete the initial login, the CLI caches the authentication and **will not show the consent screen on subsequent connections** — you authenticate once per session rather than every time the server reconnects. | |
| - **Microsoft Entra ID (Azure AD)**: MCP servers that authenticate via Microsoft Entra ID are fully supported. Once you complete the initial login, the CLI caches the authentication and **will not show the consent screen on subsequent connections**. |
Copilot
AI
Mar 30, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This section says “GitHub Copilot CLI supports” ${input:...} prompts, but then explains behavior specific to VS Code (“VS Code will prompt…”). Please clarify whether ${input:...} prompting is supported by Copilot CLI itself, VS Code only, or both, and adjust the wording to avoid implying CLI behavior that may not apply.
| - **`${input:variableName}` prompts**: VS Code will prompt for these values at runtime, keeping secrets out of committed files. | |
| - **`${input:variableName}` prompts in VS Code**: When you use `${input:...}` in your MCP configuration inside VS Code, the editor will prompt for these values at runtime, keeping secrets out of committed files. When Copilot CLI is launched from VS Code, those values are resolved before the CLI runs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The OAuth bullet introduces “ACP (Agent Coordination Protocol) mode”, but ACP isn’t referenced or defined anywhere else in the Learning Hub docs. This makes the guidance hard to understand for readers; consider either linking to a page that defines ACP or removing the ACP mention here.