# GitHub MCP Server
> Package: `@modelcontextprotocol/server-github`
> Tools Exposed: get_file_contents, create_or_update_file, push_files, create_issue, create_pull_request, fork_repository
> URL: https://agentnow.in/mcp/github-mcp-server

## Description
Connect GitHub repos, issues, pull requests, file content, and commits directly to Claude and Cursor.

## Installation CLI
```bash
npx -y @modelcontextprotocol/server-github
```

## Claude Desktop Configuration (claude_desktop_config.json)
```json
{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_your_token_here"
      }
    }
  }
}
```

## Cursor Configuration (.cursor/mcp.json)
```json
{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_your_token_here"
      }
    }
  }
}
```
