GitHub MCP Server
Provides tools for managing GitHub repositories, including creating branches, pushing files, and managing pull requests.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
GitHub MCP Server
A simple MCP server that exposes GitHub actions as tools: create branch, push file, open PR, and merge PR.
Setup
pip install -r requirements.txt
cp .env.example .env # then add your GitHub tokenRelated MCP server: GitHub MCP Server
Run
python server.pyTools
Tool | Description |
| Create a new branch from an existing one |
| Create or update a file (commit & push) |
| Open a pull request |
| Merge an open pull request by PR number |
Example Usage
# Create a branch
create_branch("owner/repo", "feature/my-branch", from_branch="main")
# Push a file
push_file("owner/repo", "feature/my-branch", "hello.txt", "Hello World!", "add hello.txt")
# Open a PR
create_pull_request("owner/repo", "My PR", head="feature/my-branch", base="main")
# Merge PR #1
merge_pull_request("owner/repo", 1)Requirements
Python 3.10+
GitHub Personal Access Token with
reposcope
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Access the GitHub API, enabling file operations, repository management, search functionality, and…
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Manage repositories, users, releases, and automate GitHub workflows
Operate GitHub from your AI assistant: repos, PRs, issues, Actions. Previews and read-only mode.
Related MCP Servers
- 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.-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to manage GitHub repositories, branches, issues, pull requests, releases, and actions through natural language.6MIT
- FlicenseNot gradedqualityDmaintenanceEnables interaction with GitHub API for repository management, commits, pushes, and pulls through natural language.1-
- FlicenseNot gradedqualityDmaintenanceEnables to interact with GitHub repositories directly from Claude, supporting actions like viewing repos, checking status, committing and pushing changes, and managing pull requests.-