Cover image
Try Now
2025-03-20

这是一款GitHub MCP服务器,旨在启用MCP兼容的LLM,例如Claude,与我的MCP服务器进行通信并与GitHub API进行交互。

3 years

Works with Finder

1

Github Watches

1

Github Forks

0

Github Stars

GitHub MCP (Model Context Protocol) server

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

Requirements

  • TypeScript (programming language)
  • Octokit (for making API requests to GitHub)
  • Model Context Protocol SDK

Setup the project locally

  1. Clone the repository
  2. Run npm install
  3. Add .env file looking at the sample provided in .env.example file
  4. To build the TypeScript files to Javascript, run npx tsc
  5. To finally run the project, run node build/index.js

Ways to test

You can test your MCP server in 2 ways:

  • MCP inspector
  • Claude Desktop

Test using MCP inspector

  1. Simply run npx @modelcontextprotocol/inspector node build/index.js in the terminal
  2. Go to http://localhost:5173
  3. You can now see the MCP inspector and test.

Test using Claude Desktop

  1. Download and install Claude Desktop from here
  2. Go to File > Settings... > Developer > Edit Config
  3. It should open up the location of claude_desktop_config.json file.
  4. Open that file in your code editor and add the following:
    {
     "mcpServers": {
       "gh": {
         "command": "node",
         "args": ["absolute\\path\\to\\your\\index.js\\file"],
         "env": {
           "GITHUB_TOKEN": "your-github-personal-access-token"
         }
       }
     }
    }
    
  5. Exit and reopen Claude desktop

Functionalities

The MCP supports mainly two features:

  • Tools (4)
    • create-issue: create a new issue in a GitHub repository
    • get-repo-info: get information about a specific GitHub repository
    • list-issues: list issues in a GitHub repository
    • search-repos: Search for GitHub repositories
  • Prompts (5)
    • create-issue-description: generate a description for a GitHub issue
    • create-pull-request-description: generate a description for a GitHub pull request
    • search-repos-prompt: generate a query for searching GitHub repositories
    • create-issue-prompt: generate parameters for creating a GitHub issue
    • enhance-github-response: format and enhance raw GitHub API response data

You can write your own prompts or select a suitable prompt from the dropdown in the "Choose an integration" option for MCP in Claude desktop

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

    Reviews

    5 (1)
    Avatar
    user_bOSNOlHO
    2025-04-15

    I have been using the PubChem MCP Server by sssjiang for a while now, and it has been a game-changer for my research. The interface is user-friendly, and the data is highly reliable. The tool significantly simplifies accessing and utilizing chemical information from the PubChem database. Highly recommend it to anyone in the chemistry or bioinformatics field!