Skip to main content
Glama
RepoPilot MCP

RepoPilot MCP

by ompatelz

RepoPilot MCP

RepoPilot MCP — это небольшой стартовый каркас сервера Model Context Protocol на Python. Он настроен как отправная точка в производственном стиле для будущих инструментов работы с репозиториями GitHub, но пока не реализует функциональность GitHub API.

Включено

  • структура пакета src/

  • pyproject.toml с зависимостями, совместимыми с uv

  • типизированная конфигурация окружения

  • изолированный клиент GitHub REST API с модульными тестами на моках

  • конфигурация журналирования процессов

  • один безвредный MCP-инструмент health для проверок обнаружения

  • покрытие pytest для конфигурации и поведения загрузки MCP

  • .env.example, .gitignore, GitHub Actions CI и лицензия MIT

Related MCP server: MCP Server - Placeholder Implementation

Требования

  • Python 3.11+

  • uv

Настройка

uv sync --dev

Для локальной настройки скопируйте .env.example в .env и отредактируйте значения локально. Никогда не коммитьте .env или реальные учетные данные. GITHUB_TOKEN используется внутренним клиентом GitHub REST API и пока не доступен через инструменты MCP.

Разработка

Запуск тестов:

uv run pytest

Запуск локального набора проверок:

.\scripts\check.ps1

Запуск MCP Inspector:

.\scripts\dev-inspector.ps1

Запуск сервера напрямую через stdio:

uv run repopilot-mcp

Структура проекта

src/repopilot/
  __init__.py
  config.py
  github_client.py
  server.py
tests/
  test_github_client.py
  test_server.py

Текущий объем

Реализовано:

  • MCP-инструмент health

  • модель настроек, загружаемая из переменных окружения

  • переиспользуемый слой клиента GitHub REST API

  • инициализация журналирования

Не реализовано:

  • инструменты для репозиториев, файлов, issues или pull request

  • операции GitHub с поддержкой записи

Available Tools

1 tool
healthA

Return basic server health and safety posture.

Inputs: no named parameters. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 1 tool

    Disambiguation5/5

    Only one tool exists, so there is no possibility of ambiguity or overlap between tools.

    Naming Consistency5/5

    With a single tool named 'health', the naming is unambiguous and internally consistent.

    Tool Count1/5

    The server provides only one trivial health-check tool, which is an extreme under-provisioning for a server presumably intended for repository management.

    Completeness1/5

    The sole tool only reports health status, leaving no functionality for actual repository operations, making the surface severely incomplete for the stated domain.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A production-ready Python template for building MCP servers with enterprise features including registry integration, configuration management, structured logging, and extensible patterns for tools, resources, and prompts.
      MIT
    • A
      license
      C
      quality
      D
      maintenance
      A production-ready MCP server for GitHub operations, providing tools for repository management, issues, pull requests, and more via both MCP stdio and REST API.
      27
      MIT