GitHub MCP (Model Control Protocol)
This is a GitHub integration service that provides a Model Control Protocol (MCP) interface for interacting with GitHub's API.
Setup and Configuration
Prerequisites
- Node.js installed on your system
- A GitHub Personal Access Token (PAT)
Environment Setup
The MCP server uses environment variables configured directly in your Cursor/Claude Desktop MCP settings. No separate .env file is needed.
Running the MCP Server
Configure Cursor/Claude Desktop to use the MCP server by adding the following to your MCP configuration:
{
"mcpServers": {
"GitHub MCP": {
"command": "node",
"args": ["/path/to/your/github-mcp/src/index.js"],
"env": {
"GITHUB_TOKEN": "your_github_token_here"
}
}
}
}
Replace /path/to/your/github-mcp with the actual path to your GitHub MCP project directory.
Features
The GitHub MCP provides the following capabilities:
- User information retrieval
- Repository management
- Repository name updates
- And more GitHub API integrations
Development
Project Structure
github-mcp/
├── src/
│ └── index.js
├── .env
├── package.json
└── Readme.md
Recommend MCP Servers 💡
mcp-cyclops
Model Context Protocol server for Cyclops
Humboldtian/remote-mcp-server
A remote Model Context Protocol (MCP) server designed to run on Cloudflare Workers, featuring OAuth login and demonstrating integration with MCP Inspector and Claude Desktop.
GitGuardianDeveloper
An MCP server for scanning and remediating hardcoded secrets using GitGuardian’s API, detecting over 500 secret types to prevent credential leaks.
@container-inc/mcp
An MCP Server designed for automated deployments to the Container Inc. platform.
mcp-salesforce-connector
MCP server for Salesforce integration, enabling LLMs to interact with Salesforce data via SOQL and SOSL
aws-cognito-mcp-server
A Model Context Protocol (MCP) server implementation that connects to AWS Cognito for authentication and user management.