MCP.so
登录

GitHub MCP (MCP) server

@ualUsham

基本信息

分类

版本控制

传输方式

stdio

作者

ualUsham

关于 GitHub MCP (MCP) server

This is a GitHub MCP server designed to enable MCP-compatible LLMs, such as Claude, to communicate with my MCP server and interact with the GitHub API.

GitHub MCP (MCP) server 配置

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

{
  "mcpServers": {
    "gh": {
      "command": "node",
      "args": [
        "absolute\\path\\to\\your\\index.js\\file"
      ],
      "env": {
        "GITHUB_TOKEN": "your-github-personal-access-token"
      }
    }
  }
}

GitHub MCP (MCP) server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

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

概览

What is GitHub MCP (Model Context Protocol) server?

A server that enables MCP-compatible LLMs like Claude to interact with the GitHub API. It provides predefined tools and prompts for common GitHub operations.

How to use GitHub MCP (Model Context Protocol) server?

Clone the repository, run npm install, add a .env file, build with npx tsc, then run node build/index.js. Configure Claude Desktop by editing claude_desktop_config.json to point to the built index.js and set a GITHUB_TOKEN environment variable. You can also test using the MCP inspector.

Key features of GitHub MCP (Model Context Protocol) server

  • Create, list, and describe GitHub issues
  • Retrieve repository information and search repositories
  • Generate descriptions for issues and pull requests
  • Format and enhance raw GitHub API responses
  • Integrates with MCP-compatible LLMs via Model Context Protocol

Use cases of GitHub MCP (Model Context Protocol) server

  • Allow an LLM assistant to create GitHub issues on your behalf
  • Fetch repository details and issue lists during conversations
  • Search for GitHub repositories based on user queries
  • Generate pull request or issue descriptions automatically

常见问题

1

What does this server do?

It acts as a bridge between an MCP-compatible LLM (e.g., Claude) and the GitHub API, providing tools and prompts to interact with GitHub repositories.

2

What are the requirements to run it?

You need TypeScript, Octokit, and the Model Context Protocol SDK. Node.js is required to execute the built JavaScript.

3

How do I configure it with Claude Desktop?

Add an entry to your `claude_desktop_config.json` file with the command `node`, the absolute path to your `index.js` file, and set the `GITHUB_TOKEN` environment variable to your GitHub personal access token.

4

What tools and prompts does it include?

Four tools: `create-issue`, `get-repo-info`, `list-issues`, `search-repos`. Five prompts: `create-issue-description`, `create-pull-request-description`, `search-repos-prompt`, `create-issue-prompt`, and `enhance-github-response`.

5

How can I test the server without Claude Desktop?

Use the MCP inspector: run `npx @modelcontextprotocol/inspector node build/index.js` and open `http://localhost:5173`.

评论

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