GitHub MCP Tools
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.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GitHub MCP Toolscreate a new repository called 'ai-project' with a Python .gitignore"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π 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
Related MCP server: GitHubMcpServer
βοΈ Tech Stack
Python 3.8+
FastMCP (Model Context Protocol server)
GitHub REST API
requests,python-dotenvfor API integration and environment handling
π¦ Installation
Clone the repository:
git clone https://github.com/Pranesh-2005/UsingMcp.git
cd UsingMcpCreate 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
mcp dev github_server.pyRelated MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Access the GitHub API, enabling file operations, repository management, search functionality, andβ¦
Manage repositories, users, releases, and automate GitHub workflows
Read and write KukGit repositories, files, issues and pull requests from an AI assistant.
Related MCP Servers
- AlicenseAqualityNot gradedmaintenanceEnables AI agents to interact with GitHub repositories through the GitHub REST API for managing files, issues, and repository metadata. It supports both read operations like searching code and write operations such as creating repositories and updating issue comments.9-
- FlicenseNot gradedqualityDmaintenanceExposes GitHub REST API operations as AI-ready tools for managing repositories, tracking push history, and updating settings. It enables LLM agents to perform tasks like creating repositories, retrieving metadata, and monitoring branch activity through a standardized interface.-
- FlicenseNot gradedqualityBmaintenanceEnables AI assistants to perform GitHub operations such as creating repositories, issues, pull requests, and more through natural language.-
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with GitHub repositories, issues, pull requests, code, and more through a comprehensive set of tools.-