Model Context Protocol (MCP) Server for GitHub using Claude Desktop

by kylemabry95

106 downloads Not rated yet

About

# Model Context Protocol (MCP) Server for GitHub using Claude Desktop Add the following code to the `./Library/Application\ Support/Claude/claude_desktop_config.json` ``` { "mcpServers": { "git-hub-server": { "command": "python3.11", "args": [ "./{enter_your_full_file_path}/Claude_MCP_Server/main.py" ] } } } ``` There…

Explore

- List all pull requests for a repository
- Retrieve detailed information on a specific or latest PR
- Fetch repository issues with state and pagination filters
- Access README content in multiple formats (.md, .rst, .txt)
- Retrieve any file content from a repository
- Get files from a specific branch

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Model Context Protocol (MCP) Server for GitHub using Claude Desktop
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

- Python 3.11.9
- Required packages: fastmcp, httpx, requests, urllib3, mcp, typing

list_pull_requests

List all pull requests for a repository

get_specified_pr

Get detailed information about a specific PR

get_repository_issues

Fetch repository issues with filtering

get_repository_readme

Get README file content

get_repository_file

Access any file from the repository

| Tool | Description | Parameters |
|------|-------------|------------|
| list_pull_requests | List all pull requests for a repository | owner, repo |
| get_specified_pr | Get detailed information about a specific PR | owner, repo, pr_number (optional) |
| get_repository_issues | Fetch repository issues with filtering | owner, repo, state, per_page |
| get_repository_readme | Get README file content | owner, repo, branch |
| get_repository_file | Access any file from the repository | owner, repo, file_path, branch |

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "model context protocol (mcp) server for github using claude desktop": {
            "git-hub-server": {
                "command": "python3.11",
                "args": [
                    "./{enter_your_full_file_path}/Claude_MCP_Server/main.py"
                ]
            }
        }
    }
}

McpServers

{
    "git-hub-server": {
        "command": "python3.11",
        "args": [
            "./{enter_your_full_file_path}/Claude_MCP_Server/main.py"
        ]
    }
}

Add the following code to the ./Library/Application\ Support/Claude/claude_desktop_config.json

{
"mcpServers": {
"git-hub-server": {
"command": "python3.11",
"args": [
"./{enter_your_full_file_path}/Claude_MCP_Server/main.py"
]
}
}
}

There is no need to locally run main.py - Claude will run this code in the background once it starts.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.