Skip to content

docs(mcp): add Microsoft Learn MCP server and fix config paths#11

Merged
DanWahlin merged 1 commit intomainfrom
docs/microsoft-learn-mcp-server
Mar 9, 2026
Merged

docs(mcp): add Microsoft Learn MCP server and fix config paths#11
DanWahlin merged 1 commit intomainfrom
docs/microsoft-learn-mcp-server

Conversation

@DanWahlin
Copy link
Collaborator

Summary

Updates Chapter 06 (MCP Servers) with new content and fixes.

Changes

  • Add Microsoft Learn MCP server section — covers the /plugin install microsoftdocs/mcp workflow, installed skills, and usage example
  • Fix project-level config path — corrected from .copilot/mcp-config.json to .vscode/mcp.json
  • Reorder sections — moved "Building a Custom MCP Server" after web_fetch for better flow
  • Fix formatting — converted inline checkmarks to a proper bullet list for Context7 features

- Add Microsoft Learn MCP server section with /plugin install workflow
- Fix project-level config path from .copilot/mcp-config.json to .vscode/mcp.json
- Reorder custom MCP server section after web_fetch
- Fix bullet list formatting for Context7 feature highlights

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 9, 2026 18:32
@DanWahlin DanWahlin merged commit 557acf5 into main Mar 9, 2026
3 checks passed
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the MCP Servers chapter (Chapter 06) to expand optional server guidance and correct where readers should place MCP configuration files.

Changes:

  • Corrects the project-level MCP config location to .vscode/mcp.json and clarifies user-level vs project-level scope.
  • Adds a new “Microsoft Learn MCP Server” section with /plugin install microsoftdocs/mcp installation guidance and usage example.
  • Improves formatting/flow by converting Context7 feature checkmarks into a bullet list and moving the custom server section after web_fetch.
Comments suppressed due to low confidence (1)

06-mcp-servers/README.md:336

  • This line suggests saving the same JSON either as ~/.copilot/mcp-config.json or .vscode/mcp.json, but the surrounding text calls the example “mcp-config.json”. Consider adjusting the wording around this section so readers understand the JSON is identical but the filename differs (mcp-config.json vs mcp.json) depending on location.
Save this as `~/.copilot/mcp-config.json` for global access or `.vscode/mcp.json` for project-specific configuration.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

## MCP Configuration File

MCP servers are configured in `~/.copilot/mcp-config.json` (global) or `.copilot/mcp-config.json` (project).
MCP servers are configured in `~/.copilot/mcp-config.json` (user-level, applies to all projects) or `.vscode/mcp.json` (project-level, applies to just the current workspace).
Copy link

Copilot AI Mar 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This introduces .vscode/mcp.json as the project-level config, but several later sections still instruct readers to only edit/create ~/.copilot/mcp-config.json. To avoid confusing users, update the nearby instructions (e.g., “Add this to your … and restart”) to mention the project-level file option as well and keep file naming consistent between “mcp-config.json” vs “mcp.json”.

This issue also appears on line 336 of the same file.

Suggested change
MCP servers are configured in `~/.copilot/mcp-config.json` (user-level, applies to all projects) or `.vscode/mcp.json` (project-level, applies to just the current workspace).
MCP servers are configured in an MCP configuration file, either `~/.copilot/mcp-config.json` (user-level, applies to all projects) or `.vscode/mcp.json` (project-level, applies to just the current workspace). Throughout this chapter, references to “your MCP config file” or “MCP configuration file” mean whichever of these two locations you choose to use.

Copilot uses AI. Check for mistakes.

> Look up information about "1984" using the book lookup server
> Search for books by George Orwell
> Look up information about "1984" using the book lookup server. Search for books by George Orwell
Copy link

Copilot AI Mar 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The custom MCP server example combines two separate prompts into a single > line, which is inconsistent with the rest of the page’s CLI examples and reads like one long instruction. Split this back into two prompt lines (each starting with >) or explicitly explain that this is a single multi-part prompt.

Suggested change
> Look up information about "1984" using the book lookup server. Search for books by George Orwell
> Look up information about "1984" using the book lookup server.
> Search for books by George Orwell.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants