Cover image
Try Now
2025-03-20

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.

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.

  • 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

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

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

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • deemkeen
  • control your mbot2 with a power combo: mqtt+mcp+llm

  • jae-jae
  • MCP server for fetch web page content using Playwright headless browser.

    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!