GitHub MCP Server logo

GitHub MCP Server

by alfie-tek

A powerful GitHub integration server that allows you to manage your GitHub repositories directly from Cursor IDE. This server provides a RESTful API to interact with GitHub's API, making it easier to create and manage repositories.

View on GitHub

Last updated: N/A

What is GitHub MCP Server?

The GitHub MCP Server is a RESTful API that allows you to manage GitHub repositories directly from Cursor IDE. It provides endpoints to create, list, and manage repositories using a GitHub Personal Access Token.

How to use GitHub MCP Server?

To use the server, clone the repository, install dependencies, configure environment variables (including your GitHub token), and start the server. Then, you can use the provided API endpoints with tools like curl to interact with your GitHub repositories from Cursor IDE.

Key features of GitHub MCP Server

  • Create new GitHub repositories

  • List existing repositories

  • Secure token-based authentication

  • Rate limiting protection

  • Comprehensive error handling

  • Detailed logging

Use cases of GitHub MCP Server

  • Automating repository creation

  • Managing repositories from Cursor IDE

  • Integrating GitHub with other tools

  • Creating custom GitHub workflows

  • Simplifying GitHub API interactions

FAQ from GitHub MCP Server

What is a GitHub Personal Access Token?

A GitHub Personal Access Token is a credential that allows you to access GitHub's API without using your username and password.

How do I generate a GitHub Personal Access Token?

Go to GitHub.com → Settings → Developer Settings → Personal Access Tokens → Tokens (classic), click 'Generate new token' and select the necessary permissions.

What permissions do I need for the GitHub Personal Access Token?

You need the 'repo', 'read:org', and 'admin:repo_hook' permissions.

What is rate limiting?

Rate limiting is a mechanism to prevent abuse of the API by limiting the number of requests a user can make within a certain time period.

Where are the logs stored?

Logs are stored in error.log (error-level logs) and combined.log (all logs).