MCP ExplorerExplorer

Github Mcp Test

@ataberkuygaron 16 days ago
1 MIT
FreeCommunity
AI Systems
Repository for testing GitHub MCP server

Overview

What is Github Mcp Test

github-mcp-test is a repository designed for testing the GitHub MCP server, providing a structured setup guide for users to configure the server using Visual Studio Code.

Use cases

Use cases for github-mcp-test include testing GitHub workflows, automating repository management tasks, and developing applications that require interaction with GitHub APIs.

How to use

To use github-mcp-test, follow these steps: create a GitHub Personal Access Token (PAT), install the MCP server via Visual Studio Code, start Docker Desktop, and paste your token for authentication.

Key features

Key features of github-mcp-test include easy setup with Visual Studio Code, integration with Docker for container management, and the ability to authenticate using a GitHub Personal Access Token.

Where to use

github-mcp-test can be used in software development environments where GitHub integration and server testing are required, particularly for developers working with GitHub Actions and repositories.

Content

Setting Up GitHub MCP Server with VS Code

This guide walks you through setting up the GitHub MCP Server using Visual Studio Code and a GitHub Personal Access Token (PAT). It also includes Docker and GitHub Copilot configuration.


🔑 Step 1: Create a GitHub Personal Access Token (PAT)

  1. Go to GitHub PAT settings
  2. Click “Generate new token (classic)”
  3. Give your token a name (e.g., VSCode MCP Access) and choose an expiration date (e.g., 90 days)
  4. Under Permissions, enable:
    • Full access to all repositories
    • ✅ Read & Write access to the following scopes:
      • Actions
      • Administration
      • Attestations
      • Codespaces
      • Commit statuses
      • Deployments
      • Issues
      • Merge queues
      • Metadata
      • Pages
      • Pull requests
      • Secrets
      • Variables
      • Webhooks
      • Workflows
      • Update GitHub Action workflow files
  5. Click Generate token
  6. Copy the token and save it securely (you will not be able to view it again)

💻 Step 2: Install MCP Server via VS Code

  1. Visit the GitHub MCP Server repository:
    👉 https://github.com/github/github-mcp-server?tab=readme-ov-file

  2. Click “VS Code: Install Server”

  3. VS Code will open automatically. Click “Install Server” when prompted.


🐳 Step 3: Start Docker Desktop

  1. Open Docker Desktop on your machine.
  2. Wait for Docker to start (you should see “Docker is running” at the bottom of the window).
  3. Docker is required to run the MCP server container in the background.

🔐 Step 4: Paste Your Token

  1. After installing the server in VS Code, you will be prompted to paste your GitHub token.
  2. Paste the token you generated in Step 1.
  3. Authentication will complete, and your MCP server will connect to GitHub.

🤖 Step 5: Enable GitHub Copilot Agent Mode

  1. In Visual Studio Code, open the GitHub Copilot sidebar (usually located on the Activity Bar).
  2. Click the option to “Turn on Agent Mode” directly from the Copilot interface.
  3. Copilot will now act as an intelligent agent integrated with the MCP environment.

✅ Step 6: Test the Setup

  1. Create or open a test project in VS Code.
  2. Try making a pull request or running a GitHub Action.
  3. Verify Copilot suggestions, workflows, or deployments are responding.
  4. Check that the MCP server container is running via Docker Desktop.

Tools

No tools

Comments