MCP Hub
Back to servers

GitHub Repository Integration

MCP (Model Context Protocol) Server. Integrates GitHub repositories with Cursor IDE, enabling direct access and interaction with GitHub content within the editor using only a Personal Access Token for authentication.

Stars
1
Validated
Jan 11, 2026

MCP Cursor Project

This project demonstrates the integration of Model Context Protocol (MCP) with Cursor IDE.

Features

  • GitHub MCP Server integration
  • Custom MCP commands and tools
  • Cursor IDE extensions

Setup

  1. Install dependencies:
npm install
  1. Set up your GitHub Personal Access Token:
export GITHUB_PERSONAL_ACCESS_TOKEN=your_token_here
  1. Start the MCP server:
npm start

Configuration

The project uses the following configuration in .cursor/mcp.json:

{
    "mcpServers": {
        "github": {
            "command": "npx",
            "args": [
                "-y",
                "cross-env",
                "GITHUB_PERSONAL_ACCESS_TOKEN=${your_token}",
                "npx",
                "-y",
                "@modelcontextprotocol/server-github"
            ]
        }
    }
}

License

ISC

Reviews

No reviews yet

Sign in to write a review