A Python-based Model Context Protocol (MCP) server built with FastMCP to expose GitHub API operations as tools for AI assistants.
Built step-by-step to learn and master MCP server concepts:
- Tool registration & schemas
- FastMCP stdio transport
- Clean REST API integration
- Robust handling for rate limits, retries, and pagination
-
Install dependencies
pip install -r requirements.txt
-
Configure Environment Create a
.envfile based on.env.example:GITHUB_TOKEN=your_personal_access_token GITHUB_REPO=owner/repository