MCP cover image
See in Github
2025-03-29

Un serveur de protocole de contexte de modèle pour l'intégration GitHub

1

Github Watches

0

Github Forks

1

Github Stars

GitHub MCP Server

A Model Context Protocol server for interacting with the GitHub API.

Features

Tools

  • list_user_repos: List repositories for the authenticated user

    • Parameters:
      • type (optional): "owner", "all", or "member" (default: "owner")
      • sort (optional): "created", "updated", "pushed", or "full_name" (default: "full_name")
      • direction (optional): "asc" or "desc" (default: "asc")
      • per_page (optional): Number of results per page (default: 30, max: 100)
      • page (optional): Page number (default: 1)
  • get_repo: Get details about a specific repository

    • Parameters:
      • repo (required): The name of the repository
      • owner (optional): The account owner. If not provided, uses authenticated user.
  • create_repo: Create a new repository

    • Parameters:
      • name (required): The name of the repository
      • description (optional): A short description
      • private (optional): Whether the repository is private (default: false)
      • auto_init (optional): Create initial commit with empty README (default: false)
  • create_commit: Create a new commit with file changes

    • Parameters:
      • repo (required): The name of the repository
      • owner (optional): The account owner. If not provided, uses authenticated user.
      • branch (optional): The branch name (default: "main")
      • message (required): The commit message
      • files (required): Array of files to include in commit
        • Each file requires:
          • path: File path relative to repository root
          • content: File content
  • push: Push changes to a remote repository

    • Parameters:
      • repo (required): The name of the repository
      • owner (optional): The account owner. If not provided, uses authenticated user.
      • branch (optional): The branch name (default: "main")
  • pull: Pull changes from a remote repository

    • Parameters:
      • repo (required): The name of the repository
      • owner (optional): The account owner. If not provided, uses authenticated user.
      • branch (required): The branch name

Requirements

  • Node.js 18+
  • GitHub personal access token with appropriate permissions
  • Set GITHUB_TOKEN environment variable

Installation

npm install
npm run build

Configuration

Set your GitHub token as an environment variable:

export GITHUB_TOKEN=your_token_here

Usage

Run the server:

npm start

Development

For development with auto-rebuild:

npm run watch

Debugging

Use the MCP Inspector:

npm run inspector

相关推荐

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

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

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

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

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

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

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

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

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

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • modelcontextprotocol
  • Serveurs de protocole de contexte modèle

  • Mintplex-Labs
  • L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.

  • huahuayu
  • Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.

    Reviews

    5 (1)
    Avatar
    user_OeIgYJni
    2025-04-16

    I've been using the ClickHouse MCP Server by dubin555, and it's been a game changer for our data analysis workflow. The performance and efficiency are outstanding, and it integrates seamlessly with our existing setup. Highly recommend it for anyone needing a robust and reliable solution. Check it out!