Skip to main content
Glama
RepoPilot MCP

RepoPilot MCP

by ompatelz

RepoPilot MCP

RepoPilot MCP 是一个小型的 Python Model Context Protocol 服务器引导程序。它被设置为未来 GitHub 仓库工具的生产级起点,但目前尚未实现 GitHub API 功能。

包含内容

  • src/ 包布局

  • 带有 uv 兼容依赖的 pyproject.toml

  • 类型化环境配置

  • 带有模拟单元测试的独立 GitHub REST API 客户端

  • 进程日志配置

  • 一个用于发现检查的无害 health MCP 工具

  • 针对配置和 MCP 引导行为的 pytest 覆盖率

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

当前范围

已实现:

  • health MCP 工具

  • 从环境变量加载的设置模型

  • 可复用的 GitHub REST API 客户端层

  • 日志引导

未实现:

  • 仓库、文件、问题或拉取请求工具

  • 支持写入的 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