Used for environment handling and securely storing GitHub Personal Access Tokens required for authentication with the GitHub API.
Enables direct interaction with GitHub, allowing AI assistants to fetch user profiles, create and delete repositories, create and merge pull requests, and list repositories by username or authentication.
🚀 GitHub MCP Tools
A powerful set of tools built using the Model Context Protocol (MCP) framework to allow AI assistants and agents to interact directly with GitHub. Perfect for automating developer workflows via AI integration.
✨ Features
- 👤 Fetch detailed GitHub user profiles
- 📁 Create new repositories
- ❌ Delete repositories (with appropriate permissions)
- 🔄 Create and merge pull requests
- 📋 List repositories (authenticated or by username)
- 👋 Simple Hello World test tool
⚙️ Tech Stack
- Python 3.8+
- FastMCP (Model Context Protocol server)
- GitHub REST API
requests
,python-dotenv
for API integration and environment handling
📦 Installation
- Clone the repository:
- Create Github PAT Go to your Github Profile -> Settings -> Developer Setting -> Personal Access Token(PAT) -> Token (Classic) -> Generate New Token (Classic)
- Create a .env file
- Create a .env file
- Add GITHUB_PAT=ghp_********************* in the .env file
- Run the python file
This server cannot be installed
A set of tools allowing AI assistants to interact directly with GitHub, enabling automation of tasks like fetching user profiles, creating repositories, and managing pull requests.
Related MCP Servers
- AsecurityAlicenseAqualityEnables AI assistants to interact with GitHub through the PyGithub library, providing tools for managing issues, repositories, pull requests, and other GitHub operations with intelligent parameter handling and error management.Last updated -19PythonMIT License
- -securityAlicense-qualityA server that allows AI assistants to browse and read files from specified GitHub repositories, providing access to repository contents via the Model Context Protocol.Last updated -3JavaScriptMIT License
- AsecurityFlicenseAqualityAn MCP server that enables AI assistants to manage GitHub Actions workflows by providing tools for listing, viewing, triggering, canceling, and rerunning workflows through the GitHub API.Last updated -932TypeScript
- -securityFlicense-qualityA Model Context Protocol server that enables AI assistants to perform GitHub operations including repository management, file operations, issue tracking, and pull request creation.Last updated -1TypeScript