mcp-server-github

eerhshr/mcp-server-github

3.2

If you are the rightful owner of mcp-server-github and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

This document provides a structured overview of a GitHub MCP Server designed for Amazon Q, detailing its setup, features, and usage.

Tools
1
Resources
0
Prompts
0

GitHub MCP Server for Amazon Q

Personal experiment demonstrating how Amazon Q can act as an MCP client to fetch GitHub info from a local MCP server

Setup
  • Clone the repo: cd mcp-github-server
  • Install dependencies:npm install
  • Create a .env file with your GitHub token: GITHUB_TOKEN=your_personal_token_here
    Note: Make sure the token has at least repo scope for private repos or read:public_repo for public repos.
To Run MCP server locally (stdio)
npm install
npm start

Console should show: GitHub MCP server running via stdio and waiting for requests...

Adding MCP server to Amazon Q (VS Code)
  1. Open Amazon Q Chat panel → Configure MCP Servers → Add new
  2. Fill in:
FieldValue
Namegithub-connector
Transportstdio
Command/usr/local/bin/npm
Argumentsstart
Timeout60
Environment VariablesGITHUB_TOKEN={your_personal_token}

Confirm that Q is started in the project root where package.json lives.

To Verify MCP connection in Q
  1. In Q chat or Q CLI, type:
/mcp list-tools
  • You should see your list_repos tool listed.
  1. To fetch GitHub repos:
/mcp call-tool github-connector:list_repos
  • Q will call the MCP server via stdio and return the formatted GitHub repo list.