Add comprehensive examples to mcp-server command help text #7565
+4
−3
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.
The
mcp-servercommand had minimal examples compared to other CLI commands (logs,audit,trial), lacking context about when to use different transport modes and debugging options.Changes
Before/After
The examples now provide actionable context for users choosing between transport modes and debugging server issues.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/user/usr/bin/gh gh api user --jq .login rite '../../**/*GOINSECURE git 64/bin/go /home/REDACTED/worgo rev-parse /usr/bin/git /opt/hostedtoolcGO111MODULE ache�� 64/pkg/tool/linuGOINSECURE git 64/bin/go ons-test14867011/home/REDACTED/.cache/go-build/10/1001a8fc44d1698343ad04fae260805c14ef35c9051932dd34a412a317e0b47a-d/gh-aw config modules/@npmcli/GOPATH ache/go/1.25.0/xGOPROXY(http block)/usr/bin/gh gh api user --jq .login ithub/workflows GOPROXY /bin/sh GOSUMDB GOWORK 34a412a317e0b47a/tmp/gh-aw-test-runs/20251224-230440-22594/test-244500065 /bin/sh -c b/workflows 34a412a317e0b47a-d/gh-aw /usr/bin/git l Add comprehensivapi ache/node/24.12.user git(http block)/usr/bin/gh gh api user --jq .login 9/parse_claude_log.js -trimpath /usr/bin/git -p main -lang=go1.25 git -C ithub/workflows config /usr/bin/git l -c=4 -nolocalimports git(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.