Provides tools for accessing GitHub repositories, issues, pull requests, and searching code across the GitHub platform
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
🔑 GitHub Token Setup
This server requires a GitHub personal access token for API access:
Generate a new token with
repo
andpublic_repo
scopesSet the environment variable:
export GITHUB_TOKEN=your_token_here
🛠️ Local Development
🚢 Deployment
Option 1: One-Click Deploy to Render
Option 2: Manual Deployment
Fork this repository
Connect your GitHub account to Render
Create a new Web Service on Render
Connect your forked repository
Set environment variable
GITHUB_TOKEN
Deploy!
Your server will be available at https://github-mcp.onrender.com/mcp
🎯 Poke Integration
Add the MCP URL:
https://github-mcp.onrender.com/mcp
Give it a name like "GitHub"
Test with: "Tell the subagent to use the GitHub integration's get_repos tool"
🔧 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
⚠️ 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 installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Enables access to GitHub repositories and data through the GitHub API. Supports retrieving repositories, issues, pull requests, and searching code across GitHub with authentication via personal access tokens.