GitHub MCP Server
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.
README
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:
- Go to GitHub Settings > Personal Access Tokens
- Generate a new token with
repoandpublic_reposcopes - Set 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
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
- Go to poke.com/settings/connections
- 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
# 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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.