Skip to content

Conversation

Copy link

Copilot AI commented Aug 18, 2025

This PR adds MCP (Model Context Protocol) server configuration to the dev container setup, enabling enhanced AI assistant capabilities for GitHub and Microsoft documentation access.

Changes Made

Dev Container Configuration

  • Added Node.js feature to support running MCP servers via npx
  • Configured two MCP servers in .devcontainer/devcontainer.json:
    • GitHub MCP Server: Provides access to GitHub repositories, issues, pull requests, and other GitHub resources
    • Microsoft Docs MCP Server: Enables access to Microsoft documentation and learning resources

Documentation Updates

  • Updated README.md to highlight MCP configuration as a project feature
  • Added detailed documentation section explaining the MCP server setup and requirements
  • Documented the need for a GITHUB_TOKEN environment variable for GitHub server authentication

Configuration Details

The MCP servers are configured to run automatically when the dev container starts:

"mcp": {
  "servers": {
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "${containerEnv:GITHUB_TOKEN}"
      }
    },
    "microsoft-docs": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-microsoft-docs"]
    }
  }
}

This enables AI assistants working within the dev container to access external GitHub and Microsoft documentation resources, improving the development experience.

Fixes #21.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copy link
Author

Copilot AI commented Aug 18, 2025

@SIkebe 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs.

I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review.

Copilot AI changed the title [WIP] Dev Container support for MCP configuration Add Dev Container support for MCP configuration Aug 18, 2025
Copilot finished work on behalf of SIkebe August 18, 2025 04:51
Copilot AI requested a review from SIkebe August 18, 2025 04:51
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.

Dev Container support for MCP configuration

2 participants