About GlubGlub
GlubGlub is a repository showing how to configure GitHub's MCP server in VS Code and use Copilot to create and manage repositories. It is for developers seeking a natural-language workflow for GitHub operations from the editor.
Key features
- 01Configure GitHub MCP in VS Code
- 02Docker and Copilot setup paths
- 03Create repositories with Copilot
- 04Set visibility and initialization options
- 05Example prompts for repository tasks
Use cases
- 01Create a GitHub repository from Copilot chat
- 02Choose repository visibility and README setup
- 03Fork a repository through a natural-language request
MCP support
The repository documents connecting GitHub's MCP server to VS Code, using Docker or Copilot advanced settings. This lets Copilot use MCP to perform GitHub repository operations.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-serverGITHUB_PERSONAL_ACCESS_TOKENSecretLocal servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
ghcr.io/github/github-mcp-serverstdioTools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEGlubGlub
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:
Option 1: Using Docker (Recommended)
-
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
-
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
-
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
-
Install GitHub Copilot
- Open VS Code
- Go to the Extensions view
- Search for "GitHub Copilot"
- Install and configure GitHub Copilot
-
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:
- Open the GitHub Copilot chat panel in VS Code
- Type a command like "Create a new GitHub repository named MyProject"
- Copilot will use MCP to interface with GitHub's API and create the repository
- 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
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.