Add repo-local MCP asset for Microsoft Learn workspace server#2
Merged
Conversation
Adds a repo-scoped skill that lets the global workspace-mcp dispatcher drive the Microsoft Learn HTTP MCP server (defined in .mcp.json) inside GitHub Copilot desktop-app sessions, where repo .mcp.json and .github/skills are not auto-loaded due to a cwd discovery bug (copilot-cli #3126 / #3688). - .github/skills/mcp-microsoft-learn/SKILL.md: curated server knowledge (URL, transport, the 3 tools with args + examples, maintenance notes) - .github/skills/mcp-microsoft-learn/mcp_proxy.py: self-contained, stdlib-only JSON-RPC-over-HTTP engine (load / tools / call) Auto-activates natively once the upstream cwd bug is fixed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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
Adds a repo-scoped skill so the global
workspace-mcpdispatcher can drive the Microsoft Learn HTTP MCP server (defined in.mcp.json) from inside GitHub Copilot desktop-app sessions.Why
Desktop-app sessions run with cwd
~/.copilot, so a repo's.mcp.jsonand.github/skills/are not auto-discovered (cwd bug — copilot-cli #3126 / #3688). The always-loaded globalworkspace-mcpskill bridges this by reading repo assets on demand and calling the bundled proxy over HTTP.Design
.mcp.json, already onmain).Verified
python3 .github/skills/mcp-microsoft-learn/mcp_proxy.py loadlists the 3 tools; acallreturned live Microsoft Learn docs.