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.
- π€ 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
- Python 3.8+
- FastMCP (Model Context Protocol server)
- GitHub REST API
requests
,python-dotenv
for API integration and environment handling
- Clone the repository:
git clone https://github.com/Pranesh-2005/UsingMcp.git
cd UsingMcp
-
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
mcp dev github_server.py