th3conductor3/github-mcp-server
3.1
If you are the rightful owner of github-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The GitHub MCP Server is a standalone server designed for managing GitHub repositories through a REST API, specifically tailored for integration with Amazon Q Enhanced Workflow.
GitHub MCP Server
Standalone GitHub MCP (Model Context Protocol) server for Amazon Q Enhanced Workflow. Provides REST API endpoints for GitHub repository management.
🚀 Deploy to Vercel
Quick Deploy Steps:
- Click "Deploy with Vercel" button above
- Connect your GitHub account
- Set environment variable:
GITHUB_TOKEN=your_github_token
- Deploy!
🔧 Environment Variables
Set this in Vercel dashboard:
GITHUB_TOKEN=ghp_your_github_token_here
📡 API Endpoints
Test Connection
GET /mcp/github/test
List Repositories
GET /mcp/github/repos
Create Repository
POST /mcp/github/create-repo
Content-Type: application/json
{
"repoName": "my-new-repo",
"description": "Repository description",
"isPrivate": true
}
Push Repository
POST /mcp/github/push-repo
Content-Type: application/json
{
"repoName": "existing-repo",
"localPath": "/path/to/local/repo"
}
🤖 Usage with Amazon Q
Once deployed, Amazon Q Developer can use your MCP server:
# Test connection
curl https://your-mcp-server.vercel.app/mcp/github/test
# Create repository
curl -X POST https://your-mcp-server.vercel.app/mcp/github/create-repo \
-H "Content-Type: application/json" \
-d '{"repoName":"ai-project","description":"Created by Amazon Q"}'
# List all repositories
curl https://your-mcp-server.vercel.app/mcp/github/repos
🔐 Security
- GitHub token stored as Vercel environment variable
- All repositories created as private by default
- API endpoints secured with token authentication
🛠️ Local Development
npm install
npm start
# Server runs on http://localhost:3001
📚 Integration
This MCP server integrates with:
- Amazon Q Enhanced Workflow
- Any AI assistant that can make HTTP requests
- GitHub API for full repository management
Part of the Amazon Q Enhanced Workflow ecosystem 🧠✨