Skip to main content
Glama

Github-Oauth MCP Server

发展

设置您的环境

首先,让我们安装 uv 并设置我们的 Python 项目和环境:

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

之后请确保重新启动终端以确保 uv 命令被接收。

现在,让我们创建并设置我们的项目:

运行本地克劳德桌面应用程序

  1. 确保你需要更新 claude_desktop_config.json 来注册工具

你可以找到 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" ] } } }

调试

由于 MCP 服务器通过 stdio 运行,调试起来可能比较困难。为了获得最佳调试体验,我们强烈建议使用MCP Inspector

您可以使用以下命令通过npm启动 MCP Inspector:

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

启动后,检查器将显示一个 URL,您可以在浏览器中访问该 URL 以开始调试。

-
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.

使用 OAuth 协议促进与 GitHub 的身份验证,允许安全访问和与 GitHub 存储库和服务交互。

  1. 设置您的环境
    1. 运行本地克劳德桌面应用程序
  2. 你可以找到 claude\_desktop\_config.json :
    1. 调试

      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
        17
        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

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/Nikhil-Patil-RI/MCP-Github-Oauth'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server