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
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.
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
- -securityFlicense-qualityEnables interaction with GitHub through the GitHub API, supporting file operations, repository management, advanced search, and issue tracking with comprehensive error handling and automatic branch creation.Last updated -91TypeScript
- 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 -191PythonMIT License
- AsecurityFlicenseAqualityEnables comprehensive GitHub operations through natural language including file management, repository administration, issue tracking, and advanced code searching.Last updated -4711TypeScript
- -securityAlicense-qualityEnables interaction with GitHub repositories through the GitHub API, allowing file operations, repository management, issue tracking, and code search through natural language commands.Last updated -72TypeScriptMIT License