Skip to main content
Glama
kosta-jevtic

GitHub MCP Agent

by kosta-jevtic

GitHub MCP Agent

A custom MCP server that connects Claude AI to GitHub, enabling agents to manage repositories and automate workflows through natural language.

Tools

  • get_repositories — List all GitHub repositories for the authenticated user

  • create_user_repository — Create a new GitHub repository

  • commit_and_push_changes — Stage all changes, commit, and push to remote

Related MCP server: GitHub MCP Server

Prerequisites

  • Python 3.11+

  • uv (package manager)

  • GitHub Personal Access Token (classic) with repo scope

  • ngrok account (for exposing local server)

Setup

1. Clone the repository

git clone git@github-personal:kosta-jevtic/github-mcp-agent.git
cd github-mcp-agent

2. Install dependencies

uv sync

3. Configure environment

cp .env.example .env
# Add your GitHub token to .env
GITHUB_TOKEN=your_token_here

4. Run the server

uv run python main.py

5. Expose via ngrok

ngrok http 8000 --request-header-add "ngrok-skip-browser-warning:true"

6. Connect to Claude.ai

Related MCP Connectors

Related MCP Servers