MCP.so
登录

GitHub API MCP Server

@HuangZeLinCute

关于 GitHub API MCP Server

This is github search MCP Server

基本信息

分类

版本控制

许可证

MIT license

运行时

python

传输方式

stdio

发布者

HuangZeLinCute

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "github_server": {
      "command": "uv",
      "args": [
        "--directory",
        "D:/blog/github-mcp-server",
        "run",
        "github_server.py"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is GitHub API MCP Server?

GitHub API MCP Server is a Model Context Protocol server that provides access to GitHub search APIs. It is designed for developers who want to integrate GitHub search functionality into MCP-compatible clients.

How to use GitHub API MCP Server?

Install dependencies with uv PyGithub python-dotenv, then configure the server in your client by adding a JSON entry under mcpServers pointing to the server script with the uv run command. The server script is github_server.py.

Key features of GitHub API MCP Server

  • Wraps GitHub’s search API for MCP clients
  • Uses uv for dependency management
  • Requires only PyGithub and python‑dotenv
  • Lightweight configuration via client JSON

Use cases of GitHub API MCP Server

  • Searching GitHub repositories, code, or issues from an LLM
  • Enabling AI assistants to query GitHub data via MCP
  • Integrating GitHub search capabilities into custom MCP tools

FAQ from GitHub API MCP Server

What are the dependencies?

You need uv, PyGithub, and python‑dotenv. Run uv PyGithub python-dotenv to install them.

How do I configure the server in my client?

Add a JSON block under mcpServers in your client configuration, specifying the command as uv and the args with the directory and the script github_server.py.

What runtime is required?

The server uses Python and requires the uv package manager. No other runtime is mentioned.

Does the server require authentication?

Which GitHub APIs are exposed?

The server provides access to GitHub’s search API only. No other endpoints are mentioned.

评论

版本控制 分类下的更多 MCP 服务器