Skip to content

Add repo-level MCP configuration and Copilot instructions - #46846

Closed
a01318809-ops wants to merge 2 commits into
github:mainfrom
a01318809-ops:main
Closed

a01318809-ops wants to merge 2 commits into
github:mainfrom
a01318809-ops:main

Conversation

@a01318809-ops

@a01318809-ops a01318809-ops commented Nov 5, 2026 •

Copy link
Copy Markdown

Why:

Closes:

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

  • A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require an SME review from GitHub staff.
  • The changes in this PR meet the docs fundamentals that are required for all content.
  • All CI checks are passing and the changes look good in the review environment.

Copilot AI lite review requested due to automatic review settings November 5, 2026 21:01
@github-actions github-actions Bot added the triage Do not begin working on this issue until triaged by the team label Nov 5, 2026
@docs-bot docs-bot added the invalid This issue/PR is invalid label Nov 5, 2026
@docs-bot

docs-bot commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

👋 Hi there! It looks like you've modified some files that we can't accept as contributions:

  • .github/copilot-instructions.md
  • .vscode/mcp.json

You'll need to raise a new PR that doesn't include those files, before we can review.

The complete list of files we can't accept are:

  • Anything in the root directory
  • .devcontainer/**
  • .github/**
  • data/reusables/rai/**
  • .vscode/**
  • config/**
  • contributing/**
  • src/**
  • content/actions/how-tos/secure-your-work/security-harden-deployments/**
  • content/README.md

We also can't accept contributions to files in the content directory with frontmatter contentType: rai. You can always check out our full contribution guidelines.

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

How to review these changes 👓

Thank you for your contribution. To review these changes, choose one of the following options:

A Hubber will need to deploy your changes internally to review.

Table of review links

Note: Please update the URL for your staging server or codespace.

This pull request contains code changes, so we will not generate a table of review links.

🤖 This comment is automatically generated.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The committed MCP configuration has multiple unresolved moderate issues involving unpinned executable packages, possible token exposure, placement on the wrong configuration surface, and missing credential setup guidance.

4 open issues
What changed in this PR

This pull request adds shared Copilot guidance and VS Code MCP server configuration for filesystem and GitHub integrations.

Changes:

  • Adds .vscode/mcp.json with filesystem and GitHub MCP server definitions.
  • Adds .github/copilot-instructions.md with repository development guidance.
File Description
.vscode/​mcp.json Configures local filesystem and GitHub MCP servers for VS Code; review findings require changes to the configuration surface, package provenance, authentication, token scope, and setup documentation.
.github/​copilot-instructions.md Defines general instructions for Copilot-assisted development, including testing, security, accessibility, and maintainability guidance.

This pull request requires changes.

Review effort: Lite

Comment thread .vscode/mcp.json
@@ -0,0 +1,24 @@
{
"servers": {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

i am so proud of you and your support

Comment thread .vscode/mcp.json
Comment on lines +7 to +8
"-y",
"@modelcontextprotocol/server-filesystem",
Comment thread .vscode/mcp.json
Comment on lines +16 to +20
"-y",
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "${env:GITHUB_TOKEN}"
Comment thread .vscode/mcp.json
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "${env:GITHUB_TOKEN}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

invalid This issue/PR is invalid triage Do not begin working on this issue until triaged by the team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants