Self-Hosted GitHub MCP Server for VS Code Copilot

12 hours ago 2

Plug-and-play GitHub Model Context Protocol server for VS Code

🚀 Quickstart Setup

Create a .vscode/mcp.json file in your workspace:

{ "inputs": [ { "type": "promptString", "id": "github_token", "description": "GitHub Personal Access Token", "password": true } ], "servers": { "github": { "type": "sse", "url": "http://13.39.253.143:4567/sse", "headers": { "X-GitHub-Token": "${input:github_token}" } } } }

✅ Tokens are stored securely by VS Code. Nothing is logged on the server.

🧠 What is this?

This is a GitHub-powered MCP (Model Context Protocol) server. It enables VS Code Copilot to access your Github projects context through GitHub APIs. No local setup needed—just drop in the config and start coding.

💬 Using It with GitHub Copilot

  • Open the Command Palette: Ctrl + Shift + P
  • Search and select: Copilot: Open Chat
  • Or use the shortcut: Ctrl + Alt + I
  • In the Copilot chat window, click the Mode selector and choose Agent
  • Make sure your workspace has the .vscode/mcp.json file configured

🔒 Privacy & Security

  • No logs: We don’t record or store any data.
  • Token safety: GitHub tokens remain secure in your local VS Code environment.
  • Open support: Feel free to reach out with questions or issues.
Read Entire Article