Cursor Project

Integrates with
GitHub, Cursor IDE

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