Github-Oauth MCP Server

Integrations

  • Enables OAuth authentication with GitHub, allowing users to authorize the application to access GitHub resources on their behalf

Development

Set up your environment

First, let’s install uv and set up our Python project and environment:

MacOS/Linux : curl -LsSf https://astral.sh/uv/install.sh | sh Windows : powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Make sure to restart your terminal afterwards to ensure that the uv command gets picked up.

Now, let’s create and set up our project:

Running to local claude desktop app

  1. Make sure you need to update claude_desktop_config.json to register tool

you can find claude_desktop_config.json :

For Windows : code $env:AppData\Claude\claude_desktop_config.json For Mac/Linux :code ~/Library/Application\ Support/Claude/claude_desktop_config.json
{ "mcpServers": { "Github-Oauth": { "command": "C:\\Users\\Hp\\.local\\bin\\uv", "args": [ "--directory", "C:\\Users\\Hp\\Github-Oauth\\src\\github_oauth", "run", "server.py" ] } } }

Debugging

Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.

You can launch the MCP Inspector via npm with this command:

npx @modelcontextprotocol/inspector uv --directory C:\Users\Hp\Github-Oauth run github-oauth

Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.

-
security - not tested
F
license - not found
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

Facilitates authentication with GitHub using OAuth protocol, allowing secure access and interaction with GitHub repositories and services.

  1. Set up your environment
    1. Running to local claude desktop app
  2. you can find claude_desktop_config.json :
    1. Debugging

      Related MCP Servers

      • A
        security
        F
        license
        A
        quality
        Provides tools for mapping and analyzing GitHub repositories. It allows users to set a GitHub Personal Access Token and retrieve detailed information about a specified repository, including its structure and summary statistics.
        Last updated -
        2
        16
        TypeScript
      • -
        security
        F
        license
        -
        quality
        Enables interaction with GitHub through the GitHub API, supporting file operations, repository management, advanced search, and issue tracking with comprehensive error handling and automatic branch creation.
        Last updated -
        9
        1
        TypeScript
      • -
        security
        F
        license
        -
        quality
        Enables interaction with GitHub issues via the Model Context Protocol, allowing users to list and create issues with secure authentication.
        Last updated -
        Python
      • -
        security
        F
        license
        -
        quality
        Provides tools for interacting with GitHub's API through the MCP protocol, allowing users to create repositories, push content, and retrieve user information.
        Last updated -
        JavaScript

      View all related MCP servers

      ID: 4f78zjhwvl