TL

taylor-lindores-reeves/mcp-github-projects

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

35 stars 11 forks Качество 66 Тренд 0GPL-2.0

taylor-lindores-reeves/mcp-github-projects - кандидат на сервер MCP, импортированный из https://github.com/taylor-lindores-reeves/mcp-github-projects.

Обзор

taylor-lindores-reeves/mcp-github-projects - кандидат на сервер MCP, импортированный из https://github.com/taylor-lindores-reeves/mcp-github-projects.

Обзор (машинный перевод)

Сервер MCP (Model Context Protocol), который позволяет агентам ИИ создавать и управлять проектами на основе Agile Sprint с использованием проектов GitHub.

Особенности

GitHub Projects v2 API: Поддержка GitHub GraphQL Projects v2 API ** Проблемы GitHub**: создание, чтение и обновление проблем GitHub ** Репозитории GitHub**: Получить детали репозитория Безопасность типов: построено с помощью TypeScript для максимальной безопасности типов

Проектная структура

Этот MCP-сервер построен с многоуровневой архитектурой, которая разделяет проблемы и способствует ремонтопригодности. Кодовая база предоставляет типизированный доступ к GitHub GraphQL API с комплексной обработкой ошибок и функциями безопасности.

Обзор директории

Ключевые компоненты

MCP Server Layersrc/index.ts

Основная точка входа, которая настраивает и запускает MCP-сервер. Регистрирует все доступные инструменты со своими схемами и обработчиками, определяет многоразовые подсказки для Agile рабочих процессов и управляет связью с клиентами MCP.

####Бизнес-логический уровень src/operations/ Содержит основную бизнес-логику, которая соединяет интерфейс MCP-сервера с API GitHub.

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

GitHub Projects MCP Server

An MCP (Model Context Protocol) server that enables AI agents to create and manage Agile Sprint-based projects using GitHub Projects.

Features

  • GitHub Projects v2 API: Full support for GitHub’s GraphQL Projects v2 API
  • GitHub Issues: Create, read, and update GitHub issues
  • GitHub Repositories: Fetch repository details
  • Type Safety: Built with TypeScript for maximum type safety

Project Structure

This MCP server is built with a layered architecture that separates concerns and promotes maintainability. The codebase provides typed access to GitHub’s GraphQL API with comprehensive error handling and security features.

Directory Overview

├── src/                       # Source code directory
│   ├── index.ts               # MCP server entry point & tool registration
│   ├── operations/            # Business logic layer
│   │   ├── github-client.ts   # GitHub API client wrapper
│   │   ├── issues.ts          # Issue operations & schemas
│   │   ├── projects.ts        # Project v2 operations & schemas
│   │   ├── repositories.ts    # Repository operations & schemas
│   │   └── index.ts           # Operations barrel exports
│   ├── graphql/               # GraphQL queries & mutations
│   │   ├── issues/            # Issue-related GraphQL files
│   │   ├── projects/          # Project-related GraphQL files
│   │   └── repositories/      # Repository-related GraphQL files
│   ├── types/                 # TypeScript type definitions
│   │   ├── github-api-types.ts # Auto-generated GitHub API types
│   │   └── graphql.d.ts       # GraphQL type declarations
│   ├── utils/                 # Utility functions
│   │   └── graphql-loader.ts  # GraphQL file loader utility
│   └── common/                # Shared utilities
│       ├── errors.ts          # Error handling utilities
│       └── utils.ts           # Common helper functions
├── build/                     # Compiled output directory
├── package.json               # Project configuration & dependencies
├── tsconfig.json              # TypeScript compiler configuration
├── codegen.ts                 # GraphQL code generation configuration
├── build.ts                   # Custom build script with GraphQL plugin
├── smithery.yaml              # Smithery package configuration
├── schema.docs.graphql        # GitHub GraphQL schema for code generation
├── .env.example               # Environment variable template
└── .gitignore                 # Git ignore patterns

Key Components

MCP Server Layer (src/index.ts)

Открыть полный README на GitHub

Установка

npx -y @smithery/cli install taylor-lindores-reeves/mcp-github-projects --client claude
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "GitHubProjects": { "command": "bun", "args": [ "/path/to/your/directory/mcp-github-projects-main/build/index.js" ], "env": { "GITHUB_TOKEN": "your_github_personal_access_token", "GITHUB_OWNER": "your_github_username_or_org", "GITHUB_OWNER_TYPE": "org", "ALLOWED_REPOS": "owner/repo,another/repo" } } } }