Cover image
Try Now
2025-03-18

使用问题API的管理控制面板服务器用于GitHub项目

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

GitHub MCP Server

A Management Control Panel (MCP) server for managing GitHub projects through the GitHub Issues API. This server provides a simple way to manage your GitHub projects, tasks, and team collaboration without needing to use GitHub's Projects feature directly.

Features

  • View all your repositories
  • Create, update, and track issues (tasks) across repositories
  • Assign issues to team members
  • Add comments to issues
  • Create and manage labels to categorize tasks
  • View repository milestones
  • See repository collaborators

Prerequisites

  • Node.js (v14 or higher)
  • npm or yarn
  • GitHub Personal Access Token with repo scope

Setup

  1. Clone this repository:

    git clone https://github.com/brukhabtu/github-mcp-server.git
    cd github-mcp-server
    
  2. Install dependencies:

    npm install
    # or
    yarn install
    
  3. Create a .env file based on the example:

    cp .env.example .env
    
  4. Edit the .env file and add your GitHub Personal Access Token:

    GITHUB_TOKEN=your_github_personal_access_token_here
    

    You can generate a token at GitHub Settings > Developer settings > Personal access tokens. Make sure to give it the repo scope to access private repositories.

  5. Start the server:

    npm start
    # or
    yarn start
    

    For development with automatic restart:

    npm run dev
    # or
    yarn dev
    
  6. Open your browser and navigate to http://localhost:3000 to access the MCP interface.

API Endpoints

The server provides the following API endpoints:

Repositories

  • GET /api/repos - Get all repositories for the authenticated user

Issues (Tasks)

  • GET /api/repos/:owner/:repo/issues - Get all issues for a repository
  • POST /api/repos/:owner/:repo/issues - Create a new issue
  • PATCH /api/repos/:owner/:repo/issues/:issue_number - Update an issue
  • POST /api/repos/:owner/:repo/issues/:issue_number/comments - Add a comment to an issue

Labels

  • GET /api/repos/:owner/:repo/labels - Get all labels for a repository
  • POST /api/repos/:owner/:repo/labels - Create a new label

Milestones

  • GET /api/repos/:owner/:repo/milestones - Get all milestones for a repository

Collaborators

  • GET /api/repos/:owner/:repo/collaborators - Get all collaborators for a repository

Frontend Development

To enhance the MCP with a custom frontend, add your HTML, CSS, and JavaScript files to the public directory. The server serves static files from this directory.

Customization

You can customize the server by:

  1. Adding more API endpoints in server.js
  2. Creating a more advanced frontend in the public directory
  3. Implementing authentication for multi-user access
  4. Adding database support for storing project metadata

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

相关推荐

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

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

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

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

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

  • OffchainLabs
  • 进行以太坊的实施

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

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

    Reviews

    1 (1)
    Avatar
    user_pdkrzi5j
    2025-04-15

    I've been using the Super Shell MCP Server by cfdude and it's simply fantastic! The user-friendly interface and efficient server performance have greatly improved my workflow. The seamless integration and quick response times are impressive. Highly recommend for anyone in need of a reliable server solution. For more information, visit https://mcp.so/server/super-shell-mcp/cfdude.