GitHub MCP Server
Provides tools for accessing GitHub repositories, issues, pull requests, and searching code across the GitHub platform
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GitHub MCP Serverlist my recent pull requests"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GitHub MCP Server
A FastMCP server that provides access to GitHub repositories and data for Poke integration.
🚀 Features
get_repos: Get repositories for a GitHub user
get_issues: Get issues for a repository
get_pull_requests: Get pull requests for a repository
search_code: Search for code on GitHub
Related MCP server: mcp-server-github
🔑 GitHub Token Setup
This server requires a GitHub personal access token for API access:
Generate a new token with
repoandpublic_reposcopesSet the environment variable:
export GITHUB_TOKEN=your_token_here
🛠️ Local Development
# Install dependencies
pip install -r requirements.txt
# Set GitHub token
export GITHUB_TOKEN=your_token_here
# Run the server
python src/server.py🚢 Deployment
Deploy to Render
Steps:
Click the "Deploy to Render" button above or go to render.com
Connect your GitHub account to Render (if you haven't already)
Create a new Web Service:
Connect this repository
Name:
github-mcpEnvironment:
Python 3Plan:
FreeBuild Command:
pip install -r requirements.txtStart Command:
python src/server.py
Set environment variable:
Go to your Render service dashboard
Click on "Environment" tab
Add environment variable:
GITHUB_TOKEN=your_github_token_hereClick "Save Changes"
Deploy!
Note: On Render's free tier, services go idle after ~15 minutes of inactivity and may require a manual "Deploy" to wake or to pick up the latest commit. Unlike Vercel, pushes do not auto-deploy by default.
Your server will be available at https://github-mcp.onrender.com/mcp
🎯 Poke Integration
Add the MCP URL:
https://github-mcp.onrender.com/mcpGive it a name like "GitHub"
Try: "Can you use the GitHub MCP to list my repos?"
References
Based on the Interaction MCP server template: MCP Server Template
Discovered via Interaction’s HackMIT challenge: Interaction HackMIT Challenge
🔧 Available Tools
get_repos(username, limit=10): Get repositories for a userget_issues(owner, repo, state="open", limit=10): Get issues for a repositoryget_pull_requests(owner, repo, state="open", limit=10): Get PRs for a repositorysearch_code(query, language="", limit=10): Search for code
📝 Example Usage
# Get user's repositories
get_repos(username="octocat", limit=5)
# Get open issues
get_issues(owner="microsoft", repo="vscode", state="open", limit=10)
# Get pull requests
get_pull_requests(owner="facebook", repo="react", state="open", limit=5)
# Search for Python code
search_code(query="machine learning", language="python", limit=10)⚠️ Rate Limits
GitHub API has rate limits:
With token: 5,000 requests per hour
Without token: 60 requests per hour
The server will return an error if rate limits are exceeded.
This server cannot be deployed
Maintenance
Related MCP Connectors
Access the GitHub API, enabling file operations, repository management, search functionality, and…
Manage repositories, users, releases, and automate GitHub workflows
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Code intelligence for LLMs. Analyze, search, and retrieve code from any public git repository.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables interaction with GitHub repositories through the GitHub API, allowing file operations, repository management, issue tracking, and code search through natural language commands.336 npm4MIT
- FlicenseAqualityCmaintenanceEnables interaction with GitHub repositories, issues, pull requests, code search, branches, and GitHub Actions workflows.87 npm-
- AlicenseNot gradedqualityDmaintenanceEnables interaction with GitHub API for repository management, commits, pushes, and pulls through natural language.245 npm1ISC
- FlicenseBqualityCmaintenanceEnables AI clients to interact with GitHub repositories, issues, pull requests, and code search through the GitHub REST API.12-