github-mcp
Provides tools to manage GitHub repositories, issues, pull requests, and file contents.
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-mcpList my repositories"
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 Server

A Model Context Protocol (MCP) server that provides GitHub integration tools for AI assistants. This server implements a set of tools that allow AI models to interact with GitHub repositories, issues, pull requests, and content.
Features
Repository Management
List repositories
Get repository details
Issue Management
List issues
Create issues
Pull Request Management
List pull requests
Create pull requests
Content Management
Get file content
List directory contents
Related MCP server: github-mcp
Installation
Clone the repository:
git clone https://github.com/yourusername/github-mcp.git
cd github-mcpInstall the package:
pip install -e .Authentication
This server uses githubauthlib for secure GitHub authentication. The library retrieves GitHub tokens from your system's keychain:
macOS: Uses Keychain Access
Windows: Uses Credential Manager
Linux: Uses libsecret
To set up authentication:
Install the required system dependencies:
macOS: No additional setup required
Windows: No additional setup required
Linux: Install libsecret
# Ubuntu/Debian sudo apt-get install libsecret-tools # Fedora sudo dnf install libsecret
Configure your GitHub credentials:
The server will automatically use your Git credentials from the system keychain
If no credentials are found, you'll need to configure Git with your GitHub credentials:
git config --global credential.helper store # Then perform a Git operation that requires authentication
Usage
Start the server:
python -m github_mcp.serverThe server will start on http://localhost:8000 by default.
Configure Cursor IDE:
Open Cursor IDE settings
Add the following MCP server configuration:
{ "mcp": { "servers": [ { "name": "github-mcp", "url": "http://localhost:8000/sse" } ] } }
API Endpoints
GET /: Server information and available toolsPOST /tool: Synchronous tool callsGET /sse: Server-Sent Events endpoint for streaming responses
Available Tools
Repository Tools
list_repositories: List GitHub repositoriesParameters:
visibility(optional): "all", "public", or "private"sort(optional): "created", "updated", "pushed", or "full_name"
get_repository: Get repository detailsParameters:
owner: Repository ownerrepo: Repository name
Issue Tools
list_issues: List repository issuesParameters:
owner: Repository ownerrepo: Repository namestate(optional): "open", "closed", or "all"labels(optional): List of label names
create_issue: Create a new issueParameters:
owner: Repository ownerrepo: Repository nametitle: Issue titlebody(optional): Issue descriptionlabels(optional): List of label namesassignees(optional): List of assignee usernames
Pull Request Tools
list_pull_requests: List repository pull requestsParameters:
owner: Repository ownerrepo: Repository namestate(optional): "open", "closed", or "all"sort(optional): "created", "updated", "popularity", or "long-running"
create_pull_request: Create a new pull requestParameters:
owner: Repository ownerrepo: Repository nametitle: Pull request titlebody(optional): Pull request descriptionhead: Source branchbase(optional): Target branch (default: "main")draft(optional): Create as draft (default: false)
Content Tools
get_file_content: Get file contentParameters:
owner: Repository ownerrepo: Repository namepath: File pathref(optional): Branch/tag/commit reference
list_directory: List directory contentsParameters:
owner: Repository ownerrepo: Repository namepath(optional): Directory path (default: "")ref(optional): Branch/tag/commit reference
Development
Install development dependencies:
pip install -e ".[dev]"Run tests:
pytestRun linting:
ruff check .License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Fork the repository
Create your feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
Acknowledgments
This server cannot be deployed
Maintenance
Related 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…
Read and write KukGit repositories, files, issues and pull requests from an AI assistant.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables LLMs to interact with GitHub repositories, issues, pull requests, and workflows through the Model Context Protocol. It provides a comprehensive set of tools for repository management, issue tracking, code search, and CI/CD automation.-
- AlicenseCqualityDmaintenanceEnables AI assistants to directly operate GitHub repositories, such as listing issues, through the Model Context Protocol.285 npm2Apache 2.0

Tiger GitHub MCP Serverofficial
AlicenseNot gradedqualityCmaintenanceEnables LLMs to interact with GitHub via the Model Context Protocol, providing tools for repository management and other GitHub operations.31Apache 2.0- FlicenseNot gradedqualityDmaintenanceEnables GitHub repository and issue management through the Model Context Protocol, supporting retrieval of repo details, issue listing, creation, and commenting.-