Sponsored by Deepsite.site

GlubGlub

Created By
maxyharr9 months ago
A repository demonstrating GitHub MCP server configuration in VS Code
Content

GlubGlub

A repository demonstrating GitHub MCP server configuration in VS Code.

Creating GitHub Repositories via GitHub MCP Server in VS Code

This repository demonstrates how to create and manage GitHub repositories using the Model Context Protocol (MCP) server configured within Visual Studio Code.

What is MCP?

Model Context Protocol (MCP) is a standardized communication protocol that allows large language models (LLMs) to interact with external services and tools. In the context of VS Code, it enables GitHub Copilot and other AI tools to perform actions on your behalf, such as creating repositories.

Setting Up GitHub MCP Server in VS Code

There are two main approaches to configuring GitHub MCP server in VS Code:

  1. Install the GitHub extension for VS Code

    • Open VS Code
    • Go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X on Mac)
    • Search for "GitHub"
    • Install the official GitHub extension
  2. Sign in to GitHub in VS Code

    • Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P on Mac)
    • Type "GitHub: Sign In" and select it
    • Follow the authentication flow to connect your GitHub account
  3. Configure Docker-based MCP Integration

    • Ensure Docker is installed on your system
    • Generate a GitHub Personal Access Token with necessary permissions
    • In settings.json, add or modify:
    "mcp": {
      "servers": {
        "github": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "GITHUB_PERSONAL_ACCESS_TOKEN",
            "ghcr.io/github/github-mcp-server"
          ],
          "env": {
            "GITHUB_PERSONAL_ACCESS_TOKEN": "your_personal_access_token"
          }
        }
      }
    }
    

Option 2: Using Copilot Advanced Settings

  1. Install GitHub Copilot

    • Open VS Code
    • Go to the Extensions view
    • Search for "GitHub Copilot"
    • Install and configure GitHub Copilot
  2. Enable MCP Support

    • In settings.json, add or modify:
    "github.copilot.advanced": {
      "enableMCPSupport": true
    }
    

Creating a New Repository using MCP

With the MCP server correctly configured, you can use natural language to ask GitHub Copilot to create repositories:

  1. Open the GitHub Copilot chat panel in VS Code
  2. Type a command like "Create a new GitHub repository named MyProject"
  3. Copilot will use MCP to interface with GitHub's API and create the repository
  4. You can specify additional details like description, visibility, and whether to initialize with README

Benefits of Using MCP for GitHub Operations

  • Streamlined Workflow: Create repositories without leaving your development environment
  • Natural Language Interface: No need to remember specific commands or navigate GitHub web UI
  • Integration with Other Tools: MCP can be extended to perform other GitHub operations like creating issues, PRs, etc.

Example Commands

  • "Create a new private GitHub repo named secret-project with a Python .gitignore"
  • "Create a public JavaScript repository with README and MIT license"
  • "Fork repository xyz/awesome-project to my account"

How This Repository Was Created

This very repository (GlubGlub) was created using GitHub Copilot with MCP configured in VS Code on April 28, 2025.

Getting Started

To clone and work with this repository:

git clone https://github.com/maxyharr/GlubGlub.git
cd GlubGlub

Learn More

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Tavily Mcp
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
DeepChatYour AI Partner on Desktop
Playwright McpPlaywright MCP server
ChatWiseThe second fastest AI chatbot™
CursorThe AI Code Editor
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Serper MCP ServerA Serper MCP Server
Amap Maps高德地图官方 MCP Server
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
WindsurfThe new purpose-built IDE to harness magic
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。